MU Computer Engineering (Semester 6)
System Programming And Compiler Construction
December 2012
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Explain with the help of flowchart the working of two-pass assembler along with the databases used.
10 M
1 (b) Modify the given grammar and construct a predictive parser table explaining each step:
E → E+T | T
T → T*V | V
V → id
10 M

2 (a) Explain the different error recovery techniques used in compilers.
10 M
2 (b) Detail the different features used in macro processing.
10 M

3 (a) What is the need of linkage editor in System Programming? Explain it's working in detail.
10 M
3 (b) Explain the working of Recursive Descent Parser and Operator Precedence Parser with examples.
10 M

4 (a) Explain Runtime Storage Organisation in detail.
10 M
4 (b) Explain the different types of Garbage collection and compaction in compilers.
10 M

5 (a) Explain with flowchart the working of multi-pass macro-processor and the databases used.
10 M
5 (b) What are the different types of intermediate codes? Explain their implementation techniques.
10 M

Distinguish between :-
6 (a) (i) Syntax tree and Parse trees.
(ii) LL Parser and LR Parser.
10 M
6 (b) Explain the handling of control structures and procedures calls in code generation phase of compilers.
10 M

Write short notes on (any four)
7 (a) Dynamic loading and linking
5 M
7 (b) Java Compiler Environment
5 M
7 (c) SPARC Assembler
5 M
7 (d) Code Optimisation Techniques
5 M
7 (e) Syntax Directed Translation
5 M



More question papers from System Programming And Compiler Construction
SPONSORED ADVERTISEMENTS