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.
- A. Recursive descent parser
Why not A: “Recursive descent parser” is not correct. 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).
- B. Code generation ✓
- C. Intermediate code generation
Why not C: “Intermediate code generation” is not correct. 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).
- D. Code optimization
Why not D: “Code optimization” is not correct. 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).
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
- What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input...
- What does Interpreter refer to?
- Which term refers to a program that executes source code directly, translating and running it line by line wit...
- Select the accurate description of Compiler.
- The following statement describes a specific concept. What is it called? a program that translates an entire s...
- What is Token primarily used for?