CD Assignment 1
CD Assignment 1
Assignment-1
Branch:CS 3rd Year Subject:CD(BCS602)
1. What is Parser? Write the Role of Parser. What are the most popular parsing techniques?
2. What are the common conflicts that can be encountered in Shift-Reduce Parser?
6. Write Short Note on the following a) LR(0) items b) Augmented Grammar c)Kernel and Non-Kernel
items
9. Perform Shift Reduce parsing for the given input strings using the grammar
S(L)|a
LL,S|S
i. (a,(a,a)) ii. (a,a)