B.E. 3/4 (IT) II-Semester (Old) Examination, May 2013
Time : 3 Hours
Subject : Compiler Construction (Elective – I)
Max. Marks: 75
Note: Answer all questions of Part - A and answer any five questions from Part-B. PART – A (25 Marks) 1. List the major data structures used in a compiler. 2. What is the purpose of a Literal table in a compiler? 3. Define left recursion removal, remove left recursion from. exp exp + term / exp – term / term 4. Write LR(0) items for the following grammar E E + n / n 5. Define shift – reduce conflict and Reduce – reduce conflict. 6. Writ the Attribute grammar from number number / digit digit O / I 7. What is a basic block? How is it recognized? 8. What is meant by dead code? 9. What is Back-patching? 10. Write the functions of bootstrap loader.
(2) (2) (3) (3) (3) (3) (3) (2) (2) (2)
PART – B (5x10=50 Marks) 11. Convert the following Regular expression into an NFA (10 + 11) 0*1
(10)
12. Compute the FIRST and FOLLOW sets for the following grammar Statement if –stmt / other if –stmt if (exp) statement else-part else-part else statement / exp O / I
(10)
13. Construct a DFA of LR (1) items for the following grammar S id / V : = E V id EV/n
(10)
14.(a) Explain various parameters passing mechanisms. (b) Explain stack based runtime environment.
(5) (5)
15.(a) Explain code generation for control statements and Logic Expressions. (b) Write three Address code and P-code for the following Function Definition : int f (int x, int y) { return x + y + 1} Function call : f(2 + 3, 4)
(5) (5)
16.(a) Discuss about code optimization techniques. (b) Explain symbol table organization.
(5) (5)
17. Write short notes on the following: (a) Recursive Descent Parsing (b) Error Recovery in Bottom up parsers (c) Generating codes from DAGs
Vasavai CE BE IT 3rd Year May 2013 Compiler Construction (Old).pdf
Write LR(0) items for the following grammar (3). E E + n / n. 5. Define shift â reduce conflict and Reduce â reduce conflict. (3). 6. Writ the Attribute grammar from ...
b) Conflicts in shift-reduce parsing. (3). c) Rules for type checking. (3) ****. Page 1 of 1. Vasavai CE B.E IT 3rd Year Apr 2013 Compiler Construction.pdf. Vasavai ...
Describe compilation phases in parallel code generation. 15. Describe ... Vasavai CE B.E IT 3rd Year May 2013 Advanced Computer Architecture.pdf. Vasavai ...
Compare the features of MOTOROLA & ZILOG CPU's. 3. Give the meaning of each of the following 8086 instructions. a) Test BL, AL. b) Out DX, AL ... b) Debugging tools. c) Numeric data processor. ******. Page 2 of 2. Main menu. Displaying Vasavai CE B.E
What is a resource allocation graph? What is its use? Give an example. 2. 5. What is access matrix? Give an example. 2. 6. What is RAID? Give its structure. 3. 7.
(c) Properties of Laplace transform (3) *****. Page 1 of 1. Vasavai CE B.E IT 3rd Year May 2013 Signals and Systems.pdf. Vasavai CE B.E IT 3rd Year May 2013 ...
a) Spatial data mining b) Text mining. ******. Page 1 of 1. Vasavai CE B.E IT 3rd Year May 2013 Data Warehousing and Data Mining (Elective â I).pdf. Vasavai ...
Distinguish between 'Pessimistic Concurrency Control' and. 'Optimistic Concurrency Control'. (3). 8. List factors that make it difficult to predict the response times ...
... of load runner, win runner 5+5. b) State based or graph based testing strategy. ******. Page 1 of 1. Vasavai CE B.E IT 3rd Year May 2013 Software Testing.pdf.
Vasavai CE B.E IT 3rd Year May 2013 Digital Instrumentation and Control.pdf. Vasavai CE B.E IT 3rd Year May 2013 Digital Instrumentation and Control.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.
(b) Explain any two collision free LAN protocols. 17. Write short notes on: a) X.25. b) Error control in data link layer. c) Bluetooth architecture. ****. Page 1 of 1. Vasavai CE B.E CSE 2nd Year May 2013 Data Communications.pdf. Vasavai CE B.E CSE 2
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.
Vasavai CE B.E Civil 4th Year May 2013 Structural Engineering Design and Detailing â II.pdf. Vasavai CE B.E Civil 4th Year May 2013 Structural Engineering ...
Vasavai CE B.E Inst 4th Year May 2013 Optoelectronic Instrumentation.pdf. Vasavai CE B.E Inst 4th Year May 2013 Optoelectronic Instrumentation.pdf. Open.
(ii) Butyl rubber (6). 15.(a) What are chemical fuels? Give their classification with examples. (4). (b) Describe the analysis of coal by proximate analysis method. What is its significance? (6). 16.(a) Describe the construction and working of lead-a
Page 1 of 2. Code No. 2342 / N. FACULTY OF ENGINEERING. B.E. 3/4 (Mechanical) I â Semester (New) (Main) Examination, Nov. / Dec. 2012. Subject : Applied Thermodynamics. Time : 3 hours Max. Marks : 75. Note: Answer all questions from PartâA and an
Page 2 of 2. Vasavai CE B.E CSE 3rd Year Apr 2013 Process Control.pdf. Vasavai CE B.E CSE 3rd Year Apr 2013 Process Control.pdf. Open. Extract. Open with.
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.
Page 1 of 1. Code No. 2023. FACULTY OF ENGINEERING & INFORMATICS. B.E. 2/4 (EE/Inst./MP/IT) I â Semester (Suppl) Examination, May 2013. Subject : Environmental Studies. Time : 3 hours Max. Marks : 75. Note: Answer all questions from Part-A. Answer