Beruflich Dokumente
Kultur Dokumente
R13
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
B. Tech III Year I Semester Examinations, November/December - 2018
COMPILER DESIGN
(Computer Science and Engineering)
Time: 3 hours Max. Marks: 75
PART - A
(25 Marks)
PART - B
(50 Marks)
2.a) Define Regular Expression. Explain about the Properties of Regular Expressions.
b) Differentiate between Top down and bottom up parsing techniques. [5+5]
OR
3.a) Define Compiler? Explain in brief about the types of lexical errors with example.
b) Construct a Predictive parsing table for the Grammar [4+6]
E→E+T/T, T→T*F/F, F→ (E)/id?
8.a) Explain in brief about different Principal sources of optimization techniques with
suitable examples.
b) Define Flow Graph? Explain how a given program can be converted into flow graph?
[5+5]
OR
9.a) Explain in brief about function preserving transformations on basic blocks.
b) Explain in brief about optimization of basic blocks. [5+5]
10.a) Explain in detail about global common sub expression elimination technique.
b) Explain in brief about Induction variable elimination. [5+5]
OR
11.a) Explain in brief about the issues in the design of code generator.
b) Explain in detail about peep hole optimization. [5+5]
---oo0oo---
WWW.MANARESULTS.CO.IN