Wednesday, June 25, 2014

System Programming and Compiler Construction (SPCC) Semester 6 (Revised Course) (3 Hours) December 2012

System Programming and Compiler
System Programming and Compiler Construction (SPCC)
Semester 6 (Revised Course)
(3 Hours) December 2012

 
KR-8954
[Total Marks : 100]
 
N.B: (1) Question No. 1 is compulsory.  
  (2) Attempt any four questions out of remaining six questions.  
  (3) Assume suitable data if necessary.  
  (4) Draw Diagrams where required.  
       
1. (a) Explain with the help of flowchart the working of two-pass assembler along with the database used. 10
  (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
       
2. (a) Explain the different error recovery techniques used in compilers. 10
  (b) Detail the different features used in macro processing. 10
       
3. (a) What is the need of linkage editor in System Programming? Explain its. working in detail. 10
  (b) Explain the working of Recursive Descent Parser and Operator Precedence Parser with example. 10
       
4. (a) Explain Run time storage Organization in detail. 10
  (b) Explain the different types of Garbage collection and compaction in compilers. 10
     
5. (a) Explain with flowchart the working of multiphase microprocessor and the database used. 10
  (b) What are the different types of intermediate Codes? Explain their implementation techniques. 10
       
6. (a) Distinguish between :-
     (i) Syntax tree and Parse trees
     (ii) LL Parser and LR Parser.
10
  (b) Explain the handling of control structure and procedures in code generation phase of compilers. 10
       
7. Write notes on any four :- 20
  (a) Dynamic loading and linking  
  (b) Java compiler Environment  
  (c) SPARC Assembler  
  (d) Code Optimization Techniques  
  (e) Syntax Directed Translation.  

No comments:

Post a Comment