You are on page 1of 1

Allenhouse Institute of Technology (AKTU Code: 505)

Rooma, Kanpur – 208008

Assignment - 2
Course Title: Compiler Design Course Code: KCS 502

Program: B. Tech. CS Date of Assignment: 28/10/2023

Semester/Year: 5th /third Date of Submission: 30/10/2023

Q. No. Questions CO KL
1. Explain the problems associated with top-down parser. CO-2 K1

2. Write the production rules to eliminate the left recursion and left factoring CO-2 K1
problems.
3. Consider the following Grammar: CO-2 K2
A-> ABd|Aa|a
B-> Be|b
Remove left recursion.
4. Eliminate left recursion and left factor the following grammar. Eaba| CO-2 K2
abba|Eb|EbE
5. Explain the parsing techniques with a hierarchical diagram. CO-2 K2

You might also like