Trending ▼   ResFinder  

2003 Course Principles of Compiler Design

3 pages, 26 questions, 0 questions with responses, 0 total responses,    0    0
pune_eng
  
+Fave Message
 Home > pune_eng >

Formatting page ...

Total No. of Questions : 12] P1375 [Total No. of Pages :3 [3764] - 414 B.E. (Computer Engineering) PRINCIPLES OF COMPILER DESIGN (2003 Course) Time : 3 Hours] [Max. Marks:100 Instructions to the candidates: 1) Answers to the two sections should be written in separate books. 2) Neat diagrams must be drawn wherever necessary. 3) Figures to the right indicate full marks. 4) Your answers will be valued as a whole. 5) Assume suitable data, if necessary. SECTION - I Q1) a) Compare Compiler and Interpreter. [4] b) Define following : i) Cross compiler c) Write a LEX program for a subset of C. ii) Incremental Compiler [4] [8] OR Q2) a) b) Q3) a) b) Explain various Compiler Construction tools. [8] Write a LEX program to calculate number of words in the input C file. Program also should remove comments from the program. [8] Construct LALR parsing table for following grammar. S -> AA A -> aA A -> b Explain operator precedence parser. [10] [8] OR Q4) a) b) Show that following grammar is LL(1) but not SLR(1). S -> AaAb | BbBa A -> C B -> C Write a YACC program for a simple calculator. [9] [9] P.T.O.

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : Pune, Engineering, University of Pune, Engineering question papers, Pune University, previous year question papers, question papers, india, model question paper, pune university paper pattern, pune university syllabus, old question papers  

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

pune_eng chat