• retagged by
1,646 views

1 Answer

Best answer
8 8 votes
Syllabus:
Lexical analysis, parsing, syntax-directed translation. Runtime environments. Intermediate code generation.

Book- Aho sethi Ullman
These are chapters from this book to read
chapter 1  complete
chapter 2 complete
chapter  3 -  3.1, 3.2, 3.3, 3.4 , 3.5
chapter 4 - 4.1, 4.2, 4.3,  4.4 to 4.9  - 4.4 first and follow - complete chapter to read
chapter  5 - 5.1, 5.2,  5.3 , 5.4, 5.5
chapter  6 - 6.1,  6.2, 6.6 , 6.7
chapter 7 -  7.2 ,7.3, 7.4

Types of problems comes in exam:

1 . 3 address code : [ minimum number of temporary variables ] constructing 3 address code for an expression  6.2

2 Abstract Syntax tree  -  from syntax directed translation   5.3

3 Control flow graph no of nodes and edges from Intermediate code generation   6.6 [ CFG not in syllabus ]

4. Finding First and Follow  4.4

5. Parsing : there is always a question related to parsing. You need to practice all parsing technique because there is also chances for linked questions.
4.4- 4.9

6. lexical analysis

7. Finding internal node in syntax-directed translation  5.4, 5.5

8. finding first and follow,

9. Number of token generated  3.3 ,3.4

10. a grammer is given , you have to find :  4.4 - 4.7
LL(1)-LR(1)-SLR-LALR-CLR.

11. Precedence and Associativity of operators.  4.8, 4.9

12• Finding value from expression tree.  2.8 , 6.1

13• Ambiguous grammar  4.3

spilling is in syllabus

live variable analysis is in the syllabus

 http://nptel.ac.in/courses/106104123
• selected by
Position:
Show:

Related questions

0 0 votes
0 0 answers
803
803 views
Tridhara Chakrabarti asked Nov 23, 2017
803 views
Hello,The gate 2018 syllabus explicitly mentions regular languages, context free languages and turing machines. It does not say anything about context sensitive languages...
0 0 votes
1 answers 1 answer
1.4k
1.4k views
sushmita asked Jan 18, 2017
1,439 views
is DAG in compiler syllabus?
0 0 votes
0 0 answers
597
597 views
Tridhara Chakrabarti asked Dec 14, 2017
597 views
Self doubt Hello i am preparing for gate on my own reading textbooks. There is a very detailed garbage collection part in runtime environments part in Aho ullman.. How mu...
1 1 vote
1 1 answer
1.5k
1.5k views
Karan Dodwani asked Mar 5, 2018
1,522 views
A computer has 16-bit Instruction and 5-bit address if there are maximum 128 1-Address Instructions possible,then how many 2-Address Instructions used by Computer ?