Computer Science · Compiler Design
Match the 'Steps of Compiler Design' with their correct 'Description': Steps of Compiler Design: (a) Intermediate Code Generation (b) Syntax Analysis (c) Semantic Analysis (d) Code Optimization Description: (i) This step removes unnecessary code lines and organizes the sequence of statements to speed up the execution of the program without wasting resources. (ii) In this step, the compiler generates a realistic intermediate representation of the source program. (iii) In this step, the compiler checks the syntax of the source code to ensure that it conforms to the grammatical rules of the programming language. (iv) In this step, the compiler checks the meaning of the source code to ensure that it makes sense contextually and semantically.
- 1a - iii, b - ii, c - iv, d - i
- 2a - ii, b - iv, c - iii, d - i
- 3a - iv, b - iii, c - i, d - ii
- 4a - ii, b - iii, c - iv, 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