You are on page 1of 2

w.e.

f: January 2020
Axis Institute of Technology & Management, Kanpur Form No. Acad-006A
Mechanical Engineering Department

Session: 2022-23 Semester:V Section:B


Course Code: KCS 502 & KIT 052 Course Name: Compiler Design

Assignment

Course
Question Outcome No. , Title of Questions
No Blooms Level

1 CO2 Discuss the interface between Scanner and Parser

Prepare LL(1) parsing table for the following grammar:


S1AB / n

CO2 A1AC / 0C
2
B0S
C1
Where n stands for null

CO2 Discuss left recursion and left factoring in detail with the help of an
3
example.
Construct CLR parsing table for the following grammar:

CO2 SaAd / bBd / aBe / bAe


4
Ac
Bc
Construct SLR parsing table for the following grammar:

CO2 SaAd / bBd / aBe / bAe


5
Ac
Bc

You might also like