SYSTEM PROGRAMMING AND COMPILER CONSTRUCTION Dec 2018 Converted 1 PDF
SYSTEM PROGRAMMING AND COMPILER CONSTRUCTION Dec 2018 Converted 1 PDF
DEC 2018
Total Marks: 80
Total time: 3 hours
INSTRUCTIONS
(1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Draw neat diagrams wherever necessary.
Q2. (a) With reference to macroprocessor, explain the following tables with suitable example. (10)
(i) MNT
(ii) MDT
(iii) ALA
(b) Explain the different code optimization techniques in compiler design. (10)
Q3. (a) Draw flowchart and explain with databases the working pass 2 of assembler. (10)
(b) Explain various functions of loader. Compare linking loader and linkage editor. (10)
Q5. (a) Explain the different types of garbage collection and compaction in compilers. (10)
(b) Differentiate Top-down and Bottom-up parsing techniques. Explain recursive descent parser
with an example. (10)
Q6. (a) Explain the different phases of compiler. Illustrate all the output after each phase for the
Following statement:
a=b+c-d*5
(b) Write Short note on: (10)
www.lastmomenttuitions.com
(i)Synthesized and inherited attrinutes.
(ii) Debug monitor.
www.lastmomenttuitions.com