Skip to content
AL-703 (A) · Compiler Design/Unsolved PYQ Paper

COMPILER DESIGN - DEC 2024 Question Paper

  1. Unit 1
    5 Marks
    iDiscuss Write a regular expression to represent a language consisting of strings made up of odd number of a and odd number of b.
  2. Unit 5
    5 Marks
    iiDiscuss in brief about Constant Folding.
  3. Unit 5
    4 Marks
    bExplain in detail about Loop optimization using an example.
  4. Unit 4
    7 Marks
    aDescribe in detail about the Quadruple and Triples in Compiler Design.
  5. Unit 3
    7 Marks
    bWhat to do you mean by "Activation Record"? Define it using an appropriate example.
  6. Unit 4
    7 Marks
    aConstruct DAG for the following expression as mentioned below. $$a + a\times \left( b - c \right) + \left( b - c \right) \times d$$
  7. Unit 3
    7 Marks
    bExplain Lexical Phase errors and Syntactic phase errors using suitable example.
  8. Unit 2
    7 Marks
    aDescribe the implementation of LR parsing tables with suitable example.
  9. Unit 4
    7 Marks
    bDiscuss the three-address code for the following code: Switch p+q { case 1: x=x+1 case 2: y=y+2 case 3: z=z+3 default: c=c-1 }
  10. Unit 3
    7 Marks
    aWhat is Symbol Table? Explain various Data Structures used for Symbol Table.
  11. Unit 3
    7 Marks
    bExplain the function of Error Handling Phase of a Compiler.
  12. Unit 3
    7 Marks
    aDiscuss in detail about the difference between Stack allocation and Heap allocation.
  13. Unit 4
    7 Marks
    bDefine Directed Acyclic Graph (DAG). Construct a DAG for the following expression: $$p + p\times \left( q - r \right) + \left( q - r \right) \times s$$
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