Friday, June 20, 2014

System Programming and Compiler Construction (SPCC) Semester 6 (Revised Course) (3 Hours) may 2009

System Programming and Compiler

System Programming and Compiler Construction (SPCC)
Semester 6 (Revised Course)
(3 Hours) May 2009

 

VR-5325
[Total Marks : 100]
 

N.B: (1) Question No. 1 is compulsory.  
  (2) Attempt any four questions out of remaining six questions.  
  (3) Figures to the right indicate full marks.  
       
1. (a) Explain with neat flow charts working of single pass assembler, with database used. 10
  (b) What are the features provided by a macro? Explain with example. 10
       
2. (a) Construct the LALR parsing table for the following grammer.
S → S
S → CC
C → cC | d
10
  (b) Differentiate between linkage editor and linking loader. 10
       
3. (a) Explain storage allocation and error handling phase of a computer. 10
  (b) Explain the design of Direct lining Loader. 10
       
4. (a) Describe the various forms intermediate code used by compilers. 10
  (b) What is binding? Explain static and dynamic binding. 10
     
5. (a) Write short notes on :-
     (i) SPARC Assembler
     (ii) Text Editors.
10
  (b) Explain with the help of memory, data formats, registers, instruction format, addressing mades of traditional CISC machines. 10
       
6. (a) Explain the LR parsers with suitable examples. 10
  (b) Explain with syntax directed translation. 10
       
7. Write short notes on :- 20
  (a) LEX and Y ACC  
  (b) Operator precedence parsing  
  (c) Macro assemblers.  

No comments:

Post a Comment