Skip to content

Compiler Design

Identify the correct concept described as: the final compiler phase that converts optimized intermediate code into target machine code.

Difficulty: Hard

About this MCQ

This Hard Compiler Design MCQ checks one syllabus fact.

The question is: “Identify the correct concept described as: the final compiler phase that converts optimized intermediate code into target machine code.”

The accepted answer is B. Code generation. “Identify the correct concept described as: the final compiler phase that converts optimized intermediate code into target machine code.” is answered by Code generation (option B). Option A (“Recursive descent parser”) does not match the stem; it is a near-miss used to catch incomplete recall of Code generation. Option C (“Intermediate code generation”) does not match the stem; it is a near-miss used to catch incomplete recall of Code generation. Remaining alternatives (Code optimization) fall outside the same rule and should be eliminated once Code generation is identified. Compiler Design questions of this type reward precise definitions rather than approximate associations. Compiler Design recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Correct answer

B. Code generation

Explanation

“Identify the correct concept described as: the final compiler phase that converts optimized intermediate code into target machine code.” is answered by Code generation (option B). Option A (“Recursive descent parser”) does not match the stem; it is a near-miss used to catch incomplete recall of Code generation. Option C (“Intermediate code generation”) does not match the stem; it is a near-miss used to catch incomplete recall of Code generation. Remaining alternatives (Code optimization) fall outside the same rule and should be eliminated once Code generation is identified. Compiler Design questions of this type reward precise definitions rather than approximate associations. Compiler Design recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Source: Compiler Design Official Reference Guide

Tags: computer science, compiler design, compilers, programming languages

Submitted by: MCQsHub Editorial

Related MCQs

More Compiler Design MCQs