Compiler Design (IT-603 (A)) - Important Questions
-
14 Marks High Priority Asked: 2025
Write short notes on any two of the following.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Specify the reasons for separating the lexical analysis and syntax analysis.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Explain with an example how a lex program performs lexical analysis for identifiers and arithmetic operators.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2023
List out different phases of the compiler and explain each phase's role in the compilation process.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Discuss how Finite Automata is used to recognize tokens and perform lexical analysis with an example.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Explain briefly about the LEX compiler.
Appeared 1x (2023)
-
10 Marks High Priority Asked: 2025, 2023
Construct the CLR(1) parsing table for the given grammar.
Appeared 2x (2025, 2023)
-
7 Marks High Priority Asked: 2025
Construct the parse tree for the string $a+b*c$ using the grammar $E \rightarrow E+E \mid E*E \mid a \mid b \mid c$ by eliminating the ambiguity.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Compare SLR and LALR parsers.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2023
Write in detail about operator precedence parsing.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Check whether the given grammar $G: S \to L=R / R$ $L \to *R/id$ $R \to L$ is SLR(1) is correct. Explain the reasons.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2025
Explain bottom-up evaluation of S-attributed definitions with an example.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Explain how an L-attributed grammar is converted into a translation scheme.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Explain dependency graph with an example.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2023
Explain bottom-up evaluation of L-attributes with an example.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Differentiate between S-attributed definition and L-attributed definition.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Write the syntax directed translation scheme for case statements.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2025, 2023
Define the symbol table and explain the various data structures used to implement it.
Appeared 2x (2025, 2023)
-
7 Marks High Priority Asked: 2025
Write the different intermediate forms for the equation $d = (a-b) + (a-c) + (a-c)$.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Explain the heap storage allocation strategy
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2023
Construct Quadruples, triples and indirect triples for the given expression: $a+a*(b-c)+(b-c)*d.$
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2023
Differentiate between static and dynamic storage allocation strategies
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2025, 2023
Explain optimization of basic blocks including common subexpression elimination, code motion, variable propagation and strength reduction.
Appeared 2x (2025, 2023)
-
7 Marks High Priority Asked: 2025
Compare reducible and irreducible (non-reducible) flow graphs.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2023
Explain loop optimization techniques with an example.
Appeared 1x (2023)
-
14 Marks High Priority Asked: 2023
Write short notes on any two of the following:
Appeared 1x (2023)
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