Professional Documents
Culture Documents
Question Bank LP
Question Bank LP
Question Bank LP
College of Engineering
Department of Computer Science & Engg.
Question Bank LP
1. Explain different phases of compiler
2. Explain & write LEX program that recognizes:
i) Keyword if, while, for ii) Identifier iii) Operator
5. Consider the following grammar and construct the LALR parsing table
6. Compare SLR, CLR and LALR parser.
7. Construct LR (0) parsing table for the grammar