Compiler Design (AD-604 (C)) - Important Questions
-
8 Marks High Priority Asked: 2024
Explain input buffering with example and discuss lexical errors in detail.
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
What is a lexical analyzer and what is its role?
Appeared 1x (2024)
-
14 Marks High Priority Asked: 2024
Compute LR(0) items for the following grammar and construct SLR Parser table.
$$S \to L=R \mid R$$ $$L \to *R \mid id$$ $$R \to L$$
Appeared 1x (2024)
-
8 Marks High Priority Asked: 2024
Explain the recursive descent parsing method with an example.
Appeared 1x (2024)
-
8 Marks High Priority Asked: 2024
Explain L-attribute definition with suitable example.
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
Define parsing and explain the types of top-down parsing.
Appeared 1x (2024)
-
8 Marks High Priority Asked: 2024
Explain different polymorphic functions with example.
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
Explain different dynamic allocation strategies.
Appeared 1x (2024)
-
8 Marks High Priority Asked: 2024
What is a DAG? Construct DAG for given basic block: $D := B*C; E := A+B; B := B+C; A := E-D;$
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
Explain peephole optimization with example.
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
Explain register allocation and assignment with suitable example.
Appeared 1x (2024)
-
14 Marks High Priority Asked: 2024
Write short notes on symbol table, type checking, loop optimization and constant folding.
Appeared 1x (2024)
-
8 Marks High Priority Asked: 2024
Define code optimization. Explain function preserving code optimization.
Appeared 1x (2024)
-
6 Marks High Priority Asked: 2024
Explain different code improving / code optimization transformations.
Appeared 1x (2024)
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