Match all items in Group – 1 with correct options from those given in Group –…
2025
Match all items in Group – 1 with correct options from those given in Group – 2.
Group – 1 Group – 2
P. Intermediate representation 1. Activation records
Q. Top-down parsing 2. Code generation
R. Runtime environments 3. Left most derivation
S. Register allocation 4. Graph coloring
- A.
P - 2, Q - 3, R - 4, S - 1
- B.
P - 1, Q - 2, R - 3, S - 4
- C.
P - 4, Q - 2, R - 3, S - 1
- D.
P - 2, Q - 3, R - 1, S - 4
Attempted by 24 students.
Show answer & explanation
Correct answer: D
Intermediate representation is used during code generation. Top-down parsing relies on leftmost derivation. Runtime environments utilize activation records for function calls. Register allocation is solved using graph coloring algorithms.