Exam Details

Subject System Programming And Compiler Design
Paper
Exam / Course B.Tech In Computer Science And Engineering (BTCSVI)
Department School of Engineering & Technology (SOET)
Organization indira gandhi national open university
Position
Exam Date December, 2016
City, State new delhi,


Question Paper

No. of Printed Pages: 3 IBICS-OI6 I
B.Tech. -VIEP -COMPUTER SCIENCE AND
ENGINEERING (BTCSVI)
Term-End Examination
December, 2016

002-23
BICS-016: SYSTEM PROGRAMMING AND COMPILER DESIGN
Time ho,urs Maximum Marks: 70
Note: Attempt any Beven questions. All questions carry equal marks.

1. For a context-free grammar, production rules are given as follows

S AB
A aAb/ab
cBd/cd

Write down the language accepted by these production rules. 10

2. Create the NFA for the Regular Expression convert the NFA to DFA. 10

3. What is a Parse tree How can the ambiguity be removed Explain with an example. 5

What is book-keeping in the compiler?

4. Define a Directed Acyclic Graph. Construct a DAG and write the sequence of instructions for the expression

a 10

5. Consider the following grammar and construct the SLR parsing table: 10

E E+T 1 T
T TF 1 F
F lal b

6. Construct the DFAs for the following regular expression 10

l abb l

7. Discuss the schemes for error detection and recovery in each phase of a compiler. 5

Describe the merits and demerits of single-pass and multi-pass compilers. 5

8. Write the quadruples, triples and indirect triples of the following expression: 5



Describe code optimization techniques with suitable examples. 5

9. Describe the different data structures used in symbol table implementation. 5

Define basic blocks and flow graphs. 5

10. Write short notes on any two of the following: 2 x 5=10

Boot Strapping

Regular Expression

DAG


Departments

  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • National Centre for Disability Studies (NCDS)
  • School of Agriculture (SOA)
  • School of Computer and Information Sciences (SOCIS)
  • School of Continuing Education (SOCE)
  • School of Education (SOE)
  • School of Engineering & Technology (SOET)
  • School of Extension and Development Studies (SOEDS)
  • School of Foreign Languages (SOFL)
  • School of Gender Development Studies(SOGDS)
  • School of Health Science (SOHS)
  • School of Humanities (SOH)
  • School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
  • School of Journalism and New Media Studies (SOJNMS)
  • School of Law (SOL)
  • School of Management Studies (SOMS)
  • School of Performing Arts and Visual Arts (SOPVA)
  • School of Performing Arts and Visual Arts(SOPVA)
  • School of Sciences (SOS)
  • School of Social Sciences (SOSS)
  • School of Social Work (SOSW)
  • School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
  • School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
  • School of Translation Studies and Training (SOTST)
  • School of Vocational Education and Training (SOVET)
  • Staff Training & Research in Distance Education (STRIDE)

Subjects

  • Advanced Computer Architecture
  • Artificial Intelligence
  • Computer Architecture
  • Computer Networks
  • Computer Organisations
  • Cryptography And Network Security
  • Data Structure
  • Data Warehousing And Mining
  • Database Management System
  • Design and Analysis of Algorithm
  • Digital Image Processing
  • Discrete Maths Structure
  • E-Business
  • Formal Language And Automata
  • Logic Design
  • Microprocessor
  • Mobile Computing
  • Object Oriented Programming
  • Operating Systems
  • Parallel Algorithms
  • Pattern Recognition
  • Principles of Programming Lang.
  • Real Time Systems
  • Software Engineering
  • Software Quality Engineering
  • Software Reusability
  • System Programming And Compiler Design
  • Theory Of Computation
  • Unix Internals And Shell Programming
  • Web Technology