Professional Documents
Culture Documents
CC Important Question Set
CC Important Question Set
CC Important Question Set
Position=initial+rate*60
List down the lexemes, tokens and the attributes of the tokens at the end of the lexical
analysis.
UNIT II
6. Write differences between bottom-up and top-down parsing with suitable example.
7. Construct the predictive parsing table for the grammar:
P: E―>E+T/T
T―>T*F/F
F―> (E)/id
T ―>T*F/F
F―> (E)/id
S―> (L)/a
L―>L, S/S
Parse the input string (a, (a, a)) using shift reduce parser
UNIT III
UNIT IV
UNIT V