Skip to content
AD-604 (C) · Compiler Design/Important Questions

Compiler Design (AD-604 (C)) - Important Questions

  1. 8 Marks High Priority Asked: 2024

    Explain input buffering with example and discuss lexical errors in detail.

    Appeared 1x (2024)

  2. 6 Marks High Priority Asked: 2024

    What is a lexical analyzer and what is its role?

    Appeared 1x (2024)

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

  4. 8 Marks High Priority Asked: 2024

    Explain the recursive descent parsing method with an example.

    Appeared 1x (2024)

  5. 8 Marks High Priority Asked: 2024

    Explain L-attribute definition with suitable example.

    Appeared 1x (2024)

  6. 6 Marks High Priority Asked: 2024

    Define parsing and explain the types of top-down parsing.

    Appeared 1x (2024)

  7. 8 Marks High Priority Asked: 2024

    Explain different polymorphic functions with example.

    Appeared 1x (2024)

  8. 6 Marks High Priority Asked: 2024

    Explain different dynamic allocation strategies.

    Appeared 1x (2024)

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

  10. 6 Marks High Priority Asked: 2024

    Explain peephole optimization with example.

    Appeared 1x (2024)

  11. 6 Marks High Priority Asked: 2024

    Explain register allocation and assignment with suitable example.

    Appeared 1x (2024)

  12. 14 Marks High Priority Asked: 2024

    Write short notes on symbol table, type checking, loop optimization and constant folding.

    Appeared 1x (2024)

  13. 8 Marks High Priority Asked: 2024

    Define code optimization. Explain function preserving code optimization.

    Appeared 1x (2024)

  14. 6 Marks High Priority Asked: 2024

    Explain different code improving / code optimization transformations.

    Appeared 1x (2024)

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