Professional Documents
Culture Documents
UNIT 2-Tutorial 2
UNIT 2-Tutorial 2
School of Computing
TUTORIAL SHEET
Programme B.Tech.(CSE)
Academic Year 2023-2024 Year: III Semester:WS23-24
Course code/Name 10211CS107/Compiler Design
Date: Hour: 3 Slot: S4+T8
Names of faculty Mr. Sankar Ganesh. K
This tutorial is
Corresponding to UNIT - 2
Task 1/Question 1
Related Course
Outcomes (✓):
Test whether the following grammar is SLR or not
CO2: Develop S→SS | a |
appropriate top down
and bottom-up parser
to produce parse tree
representation of the
input.
Task 2/Question 2
Related Course
Construct LR(0) parsing Table for the given grammar
Outcomes (✓):
E→E*B
CO2: Develop E→E+B
appropriate top down E→B
and bottom-up parser B→0
to produce parse tree B→1
representation of the
input.
Signatures
Faculty 1:
Faculty 2: Program Coordinator