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 June, 2016
City, State new delhi,


Question Paper

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

UOS96
BICS-016 SYSTEM PROGRAMMING AND
COMPILER DESIGN

Time: 3 hours Maximum Marks: 70
Note: Attempt any seven questions. All questions carry equal marks.

1. What are the functions of a compiler What are the various phases of a compiler Explain the role of each phase. 10

2. For the following grammar with S as starting symbol, find FIRST and FOLLOW sets of each of the non-terminals: 10

S aeB/bA/e
A aAb/e
B bB/e

3. What is operator precedence grammar Using the operator precedence parsing algorithm, construct parse for the following string: 10

id id *id

4. Consider the grammar:

s iCt a
eS/e
C b

Construct predictive parsing table for the above grammar. 10

5. What do you mean by DAG Explain the algorithm for constructing a DAG with the help of an example. 10

6. What is the difference between a compiler and an assembler? 5

What is the importance of intermediate code generator in a compiler? 5

7. Define Code optimization. Explain the different loop optimization techniques with examples. 10

8. Explain the concept of global data flow analysis. 10

9. Define a Quadruple. How is it different from triples Convert the following expression into three address code and quadruple:



10. Write short notes on any two of the following:

Ambiguous Grammar

Lexical Analysis

Handle Pruning

Boot Strapping


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