Professional Documents
Culture Documents
ASSIGNMENT-I
B.Tech 6h Semester
Compiler Design(PCC-CSE-302G)
Max. Marks:-30 Session 2022-23
Note: Please read and write the course outcomes on the first page of your assignment work.
Q. RBT CO Marks
Question
No. level
Define lexeme, token and pattern. 1 1 7.5
Q1
2 7.5
Q2 Discuss the role of parser in detail. 2
Draw the architecture of phases of compiler connected to the symbol 3 7.5
Q3 3
table and error handler and explain all phases in detail.
4 7.5
Q4 Classify Top down and bottom up parser. 4
ASSIGNMENT-II
B.Tech 6h Semester
Compiler Design(PCC-CSE-302G)
Max. Marks:-30 Session 2022-23
Note: Please read and write the course outcomes on the first page of your assignment work.
Q. RBT CO Marks
Question
No. level
Define syntax directed translation scheme. 1 1 7.5
Q1
How the data is stored in symbol table for block and non-block 2 7.5
Q2 2
structured languages.
Q3 Draw the DAG for expression :a+a*(b-c)+(b-c)*d 3 3 7.5
4 7.5
Q4 Classify CLR(1) and LALR(1) Parser. 4