AD-604 (C) · Compiler Design/Unsolved PYQ Paper
COMPILER DESIGN - JUN 2025 Question Paper
-
Unit 17 MarksaShow the output generated by each phase for the following expression $$a = \left( \frac{x}{y} \right) * \left( y + x - z \right)$$
-
Unit 17 MarksbWrite a simple Lex program to recognize identifiers.
-
Unit 17 MarksaExplain how identifiers and keywords are recognized by lexical analysis with an example.
-
Unit 27 MarksbConstruct the predictive parser for the following grammar: A -> (B) | a B -> B,B | A
-
Unit 27 MarksaIllustrate the differences among SLR, LALR and LR parser.
-
Unit 27 MarksbConstruct SLR parsing table for the following grammar: S -> S + A | A A -> A B | B B -> B * | a | b
-
Unit 37 MarksaDiscuss in detail about type conversion with a suitable example.
-
Unit 37 MarksbExplain in detail about storage allocation strategies.
-
Unit 37 MarksaDiscuss in brief about polymorphic functions.
-
Unit 47 MarksbWrite a short note on procedure calls.
-
Unit 47 MarksaDiscuss in brief about backpatching using flow of control statements with suitable example.
-
Unit 47 MarksbExplain the procedure to convert the following expression into a DAG: $$a * b + \frac{c}{\left( \frac{d}{e} \right)} * d$$
-
Unit 57 MarksaGive a detailed note on loop optimization techniques.
-
Unit 47 MarksbDiscuss the various characteristics of basic blocks.
-
Unit 1OR Choice7 MarksaInput Buffering
-
Unit 2OR Choice7 MarksbL-attributed definition
-
Unit 3OR Choice7 MarkscOverloading of functions
-
Unit 4OR Choice7 MarksdPeephole optimization
Go to where you left off?
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel