Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

Anna University TNEA 2018 Rank List Published. Login to know your Rank.
Anna University April May 2018 Exam Results
Anna University Latest News , Updates and Announcements
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

PRINCIPLES OF COMPILER DESIGN 2012 Important Questions
#1


[Image: attachment.php?aid=154]
Anna University

PRINCIPLES OF COMPILER DESIGN 2012 Important Questions

Subject Code : CS2352
Subject Name : Principles Of Compiler Design

Unit I
1. Describe the various phases of compiler and trace it with the program segment (position:= intial+rate *60)

2. Explain in detail about compiler constructions tools.

3. Explain in detail about the role of lexical analyzer.

4. Explain briefly in detail about the Input buffering technique with the algorithm.

5. Explain in detail about the cousins of compiler


Unit II


1. Construct predictive parsing table for the grammar
   

2. Construct the predictive parser for the following grammar and
Construct the behavior of the parser on the sentence (a,a) using the
grammar
   

3. Construct the SLR Parser for the following grammar with an
appropriate algorithm
   

4. Construct the SLR Parser for the following grammar and Construct the behavior of the parser on the sentence (a,a) using the grammar
   

5. Construct the SLR Parser for the following grammar with an appropriate algorithm
   


Unit III

1. Define three- address code. Describe the various types &methods of implementing three — address statements with an example.

2. What are the various data structure used for symbol table construction
and explain in detail.

3. How can Back Patching be used to generate code for Boolean expressions & construct the annotated parse tree with the translation
scheme?

4. Discuss the various methods for translating Boolean expression.

Unit IV

1. Briefly explain about simple code generator.

2. Define basic block. Write an algorithm to partition a sequence of three address statements into basic blocks

3. Construct the DAG for the following basic block:
d:=b*c e:=a+b b:=b*c a:=e-d

4. Write in detail about the issues in the design of a code generator.

Unit V

1. Write in detail about function — preserving transformations & loop optimizations.

2. Explain in detail about code- improving transformations.

3. Describe in detail about principal sources of optimization.

4. Explain in detail optimization of basic blocks with example.

5. Discuss briefly about peephole optimization.

New Share your Study Materials with us : Click Here



Possibly Related Threads...
Thread Author Replies Views Last Post
  080250027 Principles of Compiler Design Unit 3 Important Questions - WR1334 Edition WR1334 0 2,334 02-04-2013, 11:46 PM
Last Post: WR1334
  080250029 Object Oriented Analysis and Design Unit 3 Important Questions WR1334 0 2,200 02-04-2013, 11:41 PM
Last Post: WR1334
  080250029 Object Oriented Analysis and Design Unit 2 Important Questions WR1334 0 1,497 16-03-2013, 04:57 PM
Last Post: WR1334
  080250029 Object Oriented Analysis and Design Unit 1 Important Questions WR1334 0 1,776 28-01-2013, 06:01 AM
Last Post: WR1334
  080250027 Principles of Compiler Design Unit 1 & 2 Important Questions - Raja Edition WR1334 2 2,125 28-01-2013, 05:35 AM
Last Post: WR1334
  ME2303 Design of Machine Elements - Important Questions (Unit Wise) vishnuadhithya 2 9,712 15-12-2012, 09:36 PM
Last Post: praba mech
  CE2305 Foundation Engineering Nov / Dec 2012 Important Questions rajsathya 1 5,330 05-12-2012, 04:42 PM
Last Post: Anna University
  080250022 Design and Analysis of Algorithm Important Questions - 2012 Edition WR1334 3 3,349 04-12-2012, 11:01 AM
Last Post: WR1334
  CS2303 Theory of Computation - Important Questions 2012 Edition (Scan Version) Anna University 0 4,439 02-12-2012, 02:35 PM
Last Post: Anna University
  EC2205 Electronic Circuits- I - Important Questions - V+ 2012 Edition Anna University 1 2,397 27-11-2012, 01:31 PM
Last Post: abinaya
Reply
#2

thanks a lot friend... Smile

Karthickvijay, proud to be a member of Vidyarthiplus.com (V+) - Online Students Community since Nov 2012.


Reply

Subscribe


Recommend on Google



Vidyarthiplus Whatsapp