Trending ▼   ResFinder  

2003 Course Principles Of Compiler Design

6 pages, 31 questions, 0 questions with responses, 0 total responses,    0    0
pune_eng
  
+Fave Message
 Home > pune_eng >

Formatting page ...

Total No. of Questions : 12] P1318 [Total No. of Pages : 6 [3864]-404 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) Assume suitable data, if necessary. SECTION - I Q1) Write Lex specifications and auxiliary procedures to perform following tasks by reading the input text file. [16] a) Count and display number of letters, words, vowels. b) Copy the contents to an output file by s Writing each sentence from the input file in title case with all vowels converted to uppercase and omitting all words that begin with letters x, y or z. s s s s Inserting a newline character after reading each full stop ( . ) character. Insert a line number at the beginning of each line. Replace each letter v with the letter w if followed by the letter a . Replace each letter s with the letter p if preceded by the letter u . OR Q2) a) In C language, an integer constant can be expressed in decimal, octal or hexa-decimal number systems. An integer constant could be long or short. Write regular expressions to identify integer constants expressed in any of these forms. Construct DFA from these regular expressions.[10] P.T.O.

Formatting page ...

Formatting page ...

Formatting page ...

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