Download Model question papers & previous years question papers

Posted Date: 05 May 2016      Posted By:: Krishna Teja Yeluripati    Member Level: Gold  Points: 3 (Rs. 3)

2016 B.Tech Computer Science and Engineering Acharya Nagarjuna University - B.Tech - CSE - Question Paper - April 2016 - Compiler Design (CD) - CS322 Question paper



Course: B.Tech Computer Science and Engineering   University/board: Acharya Nagarjuna University

Do you need the previous question papers of ANU - B.Tech - CSE - Compiler Design (CD) - CS322? If you do, you got to the right spot. This is the question paper for III/IV B.Tech - 2nd Semester students conducted by Acharya Nagarjuna University in April 2016. Make yourself comfortable to download and use it for your upcoming exams.




[Total No. of Questions : 09]

CS/IT 322 (CR)



III/IV B.Tech Degree Examinations, March - April 2016

Second Semester

CS/IT

Compiler Design



Time : 3 hours

Maximum Marks : 70



Answer question No.1 Compulsory

Answer ONE question from each Unit


1. Answer the following [7 x 2 = 14M]
a) Distinguish between Pass and Phase
b) Define token, pattern and lexeme
c) Predictive parser
d) Syntax tree purpose
e) What is syntax directed definition?
f) Explain with an example how dead code is eliminated
g) Address Descriptor

UNIT - I [1 x 14 = 14M]

2. a) Explain the different phases of a compiler, showing the output of each phase, using the example of the following statement:
A = (B + C) - D / (E + 50)

2. b) Distinguish between compiler and interpreter. (OR)
3. What is recursive descent parser? What are its limitations? Construct recursive descent parser for the following grammar.
E -> E + T | T          T -> TF | F          F -> F* | a |b

UNIT - II [1 x 14 = 14M]

4. a) Explain the purpose of SLR parsing and construct the SLR parsing table for the Grammar
E -> E + T | T          T -> TF | F          F -> F* | a |b

4. b) Explain different error handling methods in Predictive parsers. (OR)
5. a) Write the Pseudo code for the recovery schema employed by YACC.
5. b) Write short notes on (i) S-attributed definitions and (ii) Dependency Graph.

UNIT - III [1 x 14 = 14M]

6. a) What are the issues in the design of a Code generator? Explain.
6. b) Write a brief on Peephole optimization. (OR)
7. Explain the role of intermediate code generator in compilation process and explain with an example how case statements are handled in intermediate code generation.

UNIT - IV [1 x 14 = 14M]

8. Explain different storage allocation strategies exploring their purpose. (OR)
9. What is the purpose of symbol table, its entries and different data structures used in symbol tables.





Return to question paper search

Next Question Paper: Acharya Nagarjuna University - B.Tech - CSE - Question Paper - April 2016 - CS321 - Network Security (NS)

Previous Question Paper: NIT Hamirpur operating system end sem question paper

Related Question Papers:


  • May 2015, Achaya Nagarjuna University B.Tech. (EC) - III YEAR Distance Mode Question Paper


  • May 2015, Achaya Nagarjuna University B.Tech. (EC) - II YEAR Distance Mode Question Paper


  • May 2015, Achaya Nagarjuna University B.Tech. (EC) - I YEAR Distance Mode Question Paper


  • May 2015, Achaya Nagarjuna University B.Tech. (EEE) - IV YEAR Distance Mode Question Paper


  • Acharya Nagarjuna University - B.Tech - CSE - CS325C - Multimedia Systems (MM) - April 2016 - Question Paper


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.


    Awards & Gifts
    Top Contributors
    TodayLast 7 Daysmore...

    Online Members

    K Mohan
    More...
     
    ISC Technologies, Kochi - India. © All Rights Reserved.