Categories
Important question

CS8602 Important Questions Compiler Design Regulation 2017 Anna University

CS8602 Important Questions Compiler Design

CS8602 Important Questions Compiler Design Regulation 2017 Anna University free download. Compiler Design Important Questions CS8602 pdf free download.

Sample CS8602 Important Questions Compiler Design

1.
Write the rule to eliminate left recursion in a grammar. Prepare and Eliminate the left recursion for the grammar.
CS8602 Important Questions Compiler Design
Define handle pruning.
Remember
BTL1
3.
Solve FIRST and FOLLOW by use the LL(1) grammar.
Apply
BTL3
4.
List the concepts of Predictive parsing and shift reduce parsing.
Remember
BTL1
5.
Differentiate Top Down parsing and Bottom Up parsing.
Understand
BTL2
6.
Define Recursive Descent Parsing.
Remember
BTL1
7.
List out the properties of parse tree.
CS8602 Important Questions Compiler Design
Compare and contrast top down parsing with bottom up parsing techniques.
Analyze
BTL4
9.
Solve the following grammar is ambiguous: S→aSbS / bSaS / €
Apply
BTL3
10.
Define kernel and non-kernel items.
Remember
BTL1
11.
Difference between ambiguous and unambiguous grammar.
Analyze
BTL4
12.
Define parser. Give the advantages and disadvantages of LR parsing.
CS8602 Important Questions Compiler Design
Define Phrase level error recovery.
Remember
BTL1
14.
Evaluate the conflicts encountered while parsing.
Evaluate
BTL5
15.
Analyze the categories of shift reduce parsing.
Analyze
BTL4
16.
How to create an input and output translator with YACC?
Create
BTL6
17.
Summarize the Error recovery scheme in yacc.
Understand
BTL2
18.
What is the main idea of Left factoring? Give an example.
Understand
BTL2
19.
Discuss when Dangling reference occur?
Understand
BTL2
20.
Examine the approach would you use in Panic mode error recovery.
Apply
CS8602 Important Questions Compiler Design
(i)Explain left recursion and Left Factoring.
(ii)Eliminate left recursion and left factoring for the following grammar.
E → E + T | E – T | T
T → a | b | ( E ).
(7)
(6)
Analyze
BTL-4
2.
(i)What is an ambiguous and un ambiguous grammar? Identify the following grammar is ambiguous or not.
E→E+E | E*E | (E)|-E |id for the sentence id+id*id
(ii) Prepare the following grammar is LL(1) but not SLR(1).

Subject name Compiler Design
Short Name CD
Semester 6
Subject Code CS8602
Regulation 2017 regulation

CS8602 Important Questions Compiler Design Click Here To Download 

CS8602 Compiler Design Syllabus


CS8602 Compiler Design Notes


CS8602 Compiler Design Question Bank


CS8602 Compiler Design Question Paper

Leave a Reply

Your email address will not be published. Required fields are marked *