FACULTY OF ENGINEERING B.E. 4/4 (CSE) I – Semester (Main) Examination, November/December 2012 Subject: Compiler Construction Time: 3 Hours
Max.Marks : 75
Note: Answer all questions from Part – A. Answer any five questions from Part – B. PART – A (25 Marks) 1. What is Boot strapping? 2. Differentiate between compiler and interpreter. 3. What is left recursion? Eliminate left recursion for the given expression A Aa|Ab|c|d 4. Show that the grammar is ambiguous S aSbS|bSaS|E (Epsclon)
(2) (3) (3)
5. Write syntax tree for an expression a ∗ – (b+c) 6. What are the parameter passing mechanisms in a programming language?
(3) (2)
7. Write the indirect triple for the expression X : = -a∗b + -a∗b 8. State the rules to define loader in basic block. 9. Define induction variable. 10. What is relocation?
(3) (2) (2) (2)
(3)
PART – B (5x10 = 50 Marks) 11. Show the translation process of compiler for the given expression
(10)
Success: = effort + IQ ∗100. 12.(a) Check whether the following grammar is LL(1) or not S iEtS| iEtSeS|a Eb (b) What is ambiguous grammar give example? 13.(a) Differentiate between static run time environment and stack based run time environment. (b) Discuss symbol table organization.
(6) (4)
(5) (5)
14. Main ( ) { int a[10], i, For (i = 0; i < 10; i++) a[i] = i∗2; } Convert above program into 3-address code and apply all optimization techniques on that code.
(10)
15. Describe data flow analysis in detail.
(10)
16. Discuss the design issues of absolute loader.
(10)
17. Write short notes on: (a) Heap allocations (b) Recursive Descent parsers.
Vasavai CE B.E CSE 4th Year Nov 2012 Compiler Construction.pdf ...
(a) Check whether the following grammar is LL(1) or not (6). S iEtS| iEtSeS|a. E b. (b) What is ambiguous grammar give example? (4). 13.(a) Differentiate ...
Page 2 of 2. Vasavai CE B.E CSE 4th Year Nov 2012 Artificial Intelligence.pdf. Vasavai CE B.E CSE 4th Year Nov 2012 Artificial Intelligence.pdf. Open. Extract.
BJT and FET (3). 4. Positive feedback and negative feedback. (2). 5. Differentiator and integrator. (2). 6. Circuits of HWR and FWR (3). 7. Photodiode and LED (2).
... golden rules for user interface design principles. c) Basis-path testing. ******. Page 1 of 1. Vasavai CE B.E CSE 3rd Year Nov 2012 Software Engineering.pdf.
Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Productions and Operations Management.pdf. Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Productions and Operations Management.pdf. Open. Extract. Open with. Sign In. Main menu. Displa
GIS data bases? (c) Overlay analysis. *****. Page 1 of 1. Vasavai CE B.E Civil 4th Year Nov 2012 Geographical Information System.pdf. Vasavai CE B.E Civil 4th ...
Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Transport Management.pdf. Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Transport ...
Loading⦠Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu. There was a problem previewing
Define (i) bsfc and (ii) isfc as applied to an Internal Combustion Engine. ... Explain the basic principle of evaporative cooling that is used in cooling towers in.
What do you mean by degeneracy in transportation model? 6. Assignment model ... What are the assumptions of the common queuing models? 9. What do you ...
Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Vasavai CE B.E CSE 4th Year Aug 2012 Software Quality Testing.PDF. Vasavai CE B.E CSE 4t
Write short notes on any three of the following: (10). (a) Noise performance measure. (b) Flexibility in manufacturing. (c) Weibull analysis. (d) Packaging. *****.
Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Vasavai CE B.E CSE 2nd Year July 2012 Basic Electronics.PDF. Vasavai CE B.E CSE 2nd Year
Part-A (25 marks). 1. What are the features of Intel 8086? ... Explain with neat block diagram of 8237 â DMA controller (8). 16. Write about ... Vasavai CE B.E CSE 3rd Year Dec 2012 Microprocessor Systems and Interfacing.pdf. Vasavai CE B.E ...
Explain about Mobile IP in detail. (10). 16.(a) Discuss the features of Windows CE. (5). (b) Explain the architecture of DECT. (5). 17.(a) Explain about various file ...
Page 1 of 1. Vasavai CE B.E CSE 4th Year May 2013 Soft Computing.pdf. Vasavai CE B.E CSE 4th Year May 2013 Soft Computing.pdf. Open. Extract. Open with.
... and bottom-up parse of the sentence "The Odd man cried". 13.What is transition Network? Explain ATN with example. 14.(a) Explain shift reduce parser.
Page 1 of 1. Vasavai CE B.E CSE 4th Year May 2013 Distributed Systems.pdf. Vasavai CE B.E CSE 4th Year May 2013 Distributed Systems.pdf. Open. Extract.