Teaching Haryana (HPSC) Assistant Professor Mock Test 2025 Compiler Design Code Optimization Register Allocation
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. Leftmost derivation |
| S. Register allocation | 4. Graph coloring |
1
P - 2, Q - 3, R - 4, S - 1
2
P - 1, Q - 2, R - 3, S - 4
3
P - 4, Q - 2, R - 3, S - 1
4
P - 2, Q - 3, R - 1, S - 4
5
Question Not Attempted