Computer Science · Compiler Design
Match the steps in compiler design in Column 1 with their correct descriptions in Column 2: Column 1 (Steps): (a) Lexical analysis (b) Syntax analysis (c) Semantic analysis (d) Code generation Column 2 (Descriptions): (i) In this stage, the compiler converts the intermediate representation into machine code, which can be executed by the computer. (ii) In this phase, the compiler reads the source code characters and splits them into a series of tokens, such as keywords, identifiers, and operators. (iii) In this phase, the compiler checks the syntax of the source code to ensure that it conforms to the rules of the programming language. (iv) In this phase, the compiler checks the meaning of the source code to ensure that it makes sense.
- 1a - iv, b - iii, c - i, d - ii
- 2a - ii, b - iii, c - iv, d - i✓
- 3a - iii, b - ii, c - iv, d - i
- 4a - ii, b - iv, c - iii, d - i
Correct answer
a - ii, b - iii, c - iv, d - i
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Compiler Design?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Compiler Design