MU Computer Engineering (Semester 6)
System Programming And Compiler Construction
December 2013
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) Differentiate between a system program and an application program with examples.
5 M
1(b) Explain the different ways of parameter passing in macros.
5 M
1(c) What are the different error handling techniques used in a compiler.
5 M
1(d) Explain the various function of a loader.
5 M

2(a) Explain the working of single pass assembles.show the structures of its databases used.
10 M
2(b) Differentiate Top-down and Bottom-up passing techniques. Explain shift-reduce passes in detail.
10 M

3(a) Explain the working of direct Linking leader with neat flow charts.
10 M
3(b) Explain the different code optimization techniques in compiler design.
10 M

4(a) what do you mean by ambiguity in grammar? How will you remove ambiguity from a grammar? Use suitable examples.
10 M
4(b) Show whether the following grammar is LL (I).Construct the passing table
S→AB/y Da
A →ab/c
B →dC
C→yC/y
D →xD/y
10 M

5(a) What is binding?Explain static and dynamic binding.
10 M
5(b) Explain the features of Java compiler Environment.
10 M

6(a) Explain syntax directed translation.Give the syntax directed translation equation for infix to prefix conversion.
10 M
6(b) With examples explain the different forms of intermediate code generated.
10 M

Write short notes on (any two)
7(a) Compiler - compiler
5 M
7(b) Finite automata
5 M
7(c) SPARC assembler
5 M
7(d) Garbage collection and compaction
5 M



More question papers from System Programming And Compiler Construction
SPONSORED ADVERTISEMENTS