Skip to content
IT-603 (A) · Compiler Design/Important Questions

Compiler Design (IT-603 (A)) - Important Questions

  1. 14 Marks High Priority Asked: 2025

    Write short notes on any two of the following.

    Appeared 1x (2025)

  2. 7 Marks High Priority Asked: 2025

    Specify the reasons for separating the lexical analysis and syntax analysis.

    Appeared 1x (2025)

  3. 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)

  4. 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)

  5. 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)

  6. 7 Marks High Priority Asked: 2023

    Explain briefly about the LEX compiler.

    Appeared 1x (2023)

  7. 10 Marks High Priority Asked: 2025, 2023

    Construct the CLR(1) parsing table for the given grammar.

    Appeared 2x (2025, 2023)

  8. 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)

  9. 7 Marks High Priority Asked: 2025

    Compare SLR and LALR parsers.

    Appeared 1x (2025)

  10. 7 Marks High Priority Asked: 2023

    Write in detail about operator precedence parsing.

    Appeared 1x (2023)

  11. 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)

  12. 7 Marks High Priority Asked: 2025

    Explain bottom-up evaluation of S-attributed definitions with an example.

    Appeared 1x (2025)

  13. 7 Marks High Priority Asked: 2025

    Explain how an L-attributed grammar is converted into a translation scheme.

    Appeared 1x (2025)

  14. 7 Marks High Priority Asked: 2025

    Explain dependency graph with an example.

    Appeared 1x (2025)

  15. 7 Marks High Priority Asked: 2023

    Explain bottom-up evaluation of L-attributes with an example.

    Appeared 1x (2023)

  16. 7 Marks High Priority Asked: 2023

    Differentiate between S-attributed definition and L-attributed definition.

    Appeared 1x (2023)

  17. 7 Marks High Priority Asked: 2023

    Write the syntax directed translation scheme for case statements.

    Appeared 1x (2023)

  18. 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)

  19. 7 Marks High Priority Asked: 2025

    Write the different intermediate forms for the equation $d = (a-b) + (a-c) + (a-c)$.

    Appeared 1x (2025)

  20. 7 Marks High Priority Asked: 2025

    Explain the heap storage allocation strategy

    Appeared 1x (2025)

  21. 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)

  22. 7 Marks High Priority Asked: 2023

    Differentiate between static and dynamic storage allocation strategies

    Appeared 1x (2023)

  23. 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)

  24. 7 Marks High Priority Asked: 2025

    Compare reducible and irreducible (non-reducible) flow graphs.

    Appeared 1x (2025)

  25. 7 Marks High Priority Asked: 2023

    Explain loop optimization techniques with an example.

    Appeared 1x (2023)

  26. 14 Marks High Priority Asked: 2023

    Write short notes on any two of the following:

    Appeared 1x (2023)

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 account

Have an account? Log in