Code No. 2186

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 Eb (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.

(5) (5) ******

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 ...

105KB Sizes 0 Downloads 283 Views

Recommend Documents

Vasavai CE B.E CSE 4th Year Nov 2012 Artificial Intelligence.pdf ...
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.

Vasavai CE B.E CSE 4th Year Nov 2012 Advanced Computer ...
Vasavai CE B.E CSE 4th Year Nov 2012 Advanced Computer Architecture.pdf. Vasavai CE B.E CSE 4th Year Nov 2012 Advanced Computer Architecture.pdf.

Vasavai CE B.E CSE 3rd Year Nov 2012 Computer Networks.pdf ...
Page 1 of 1. Vasavai CE B.E CSE 3rd Year Nov 2012 Computer Networks.pdf. Vasavai CE B.E CSE 3rd Year Nov 2012 Computer Networks.pdf. Open. Extract.

Vasavai CE B.E CSE 2nd Year Nov 2012 Computer Architecture.pdf ...
Page 2 of 2. Vasavai CE B.E CSE 2nd Year Nov 2012 Computer Architecture.pdf. Vasavai CE B.E CSE 2nd Year Nov 2012 Computer Architecture.pdf. Open.

Vasavai CE B.E CSE 2nd Year Nov 2012 Basics Electronics.pdf ...
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).

Vasavai CE B.E CSE 3rd Year Nov 2012 Software Engineering.pdf ...
... 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 BE ECE 2nd Year Nov 2012 Electromagnetic Theory.pdf
Page 1 of 1. Vasavai CE B.E ECE 2nd Year Nov 2012 Electromagnetic Theory.pdf. Vasavai CE B.E ECE 2nd Year Nov 2012 Electromagnetic Theory.pdf. Open.

Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 ...
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

Vasavai CE B.E Civil 4th Year Nov 2012 Geographical Information ...
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 ...
Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Transport Management.pdf. Vasavai CE B.E Automobile Engineering 4th Year Nov 2012 Transport ...

Vasavai CE B.E Common 4th Year Nov 2012 Entrepreneurship.pdf ...
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

Vasavai CE BE ME 3rd Year Nov 2012 Applied Thermodynamics.pdf
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.

Vasavai CE B.E Civil 4th Year Nov 2012 Water Resources ...
Vasavai CE B.E Civil 4th Year Nov 2012 Water Resources Engineering and Management - II.pdf. Vasavai CE B.E Civil 4th Year Nov 2012 Water Resources ...

Vasavai CE B.E ME 4th Year Nov 2012 Operations Research.pdf ...
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 ...

Vasavai CE B.E Common 4th Year Nov 2012 Entrepreneurship.pdf ...
(c) Human aspects in project management. (d) Change behaviour. *****. Page 1 of 1. Vasavai CE B.E Common 4th Year Nov 2012 Entrepreneurship.pdf.

Vasavai CE BE CSE 4th Year Aug 2012 Software Quality Testing.PDF
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

Vasavai CE BE Prod 4th Year Nov 2012 Total Quality Management.pdf
Write short notes on any three of the following: (10). (a) Noise performance measure. (b) Flexibility in manufacturing. (c) Weibull analysis. (d) Packaging. *****.

Vasavai CE B.E CSE 2nd Year July 2012 Basic Electronics.PDF ...
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

Vasavai CE B.E CSE 3rd Year Dec 2012 Microprocessor Systems ...
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 ...

Vasavai CE CSE 3rd Year Dec 2012 Mobile Computing.pdf ...
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 ...

Vasavai CE B.E CSE 4th Year May 2013 Soft Computing.pdf ...
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.

Vasavai CE B.E CSE 4th Year Apr 2013 Natural Language ...
... 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.

Vasavai CE B.E CSE 4th Year Apr 2013 Advanced Databases.pdf ...
Page 1 of 1. Vasavai CE B.E CSE 4th Year Apr 2013 Advanced Databases.pdf. Vasavai CE B.E CSE 4th Year Apr 2013 Advanced Databases.pdf. Open. Extract.

Vasavai CE B.E CSE 4th Year May 2013 Distributed Systems.pdf ...
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.