Match the steps of compiler design in List-I with their descriptions in List-II and select the correct answer from the options given below.
| List-I (Steps of Compiler Design) | List-II (Descriptions) |
| a) Syntax Directed Translation | i) This step involves converting the intermediate code into machine code that can be executed by the computer. |
| b) Machine Code Generation | ii) This step uses grammar rules to direct the translation of the source code. |
| c) Intermediate Code Optimization | iii) This step involves checking the program for semantic errors like type checking and variable declarations. |
| d) Semantic Analysis | iv) This step improves the intermediate code to make it more efficient. |
1
a-i, b-ii, c-iv, d-iii
2
a-iv, b-i, c-ii, d-iii
3
a-ii, b-i, c-iv, d-iii
4
a-iii, b-ii, c-i, d-iv
5
Question Not Attempted