Trending ▼   ResFinder  

2003 Course Principles of Compiler Design

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

Formatting page ...

Total No. of Questions : 12] P952 [Total No. of Pages : 3 [3664]-337 B.E. (Computer Engg.) PRINCIPLES OF COMPILER DESIGN (2003 Course) (410444) Time : 3 Hours] [Max. Marks : 100 Instructions to the candidates : 1) Answers to the two sections should be written in separate answer 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) b) Q2) a) b) c) Write a Lex specification to read a C program and calculate number of new line characters, tabs and white spaces in the program. [8] Whether lexical analysis detects any errors? Explain with example. [8] OR Explain with example various Compiler Construction tools. [9] Why compilation phases are divided into front-end and back-end? What are the advantages? [4] Explain the following: i) token. [3] ii) pattern. iii) lexeme. Q3) a) Show that the following grammar is LR(1) but not LALR(1). [10] S Aa | bAc | Bc | bBa A d b) Q4) a) B d Explain Recursive Descent parser with an example. OR Show that following grammar is LL(1) but not SLR(1). S AaAb | BbBa [8] [8] A B 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