The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms?
Difficulty: Medium
About this MCQ
This Medium Compiler Design MCQ checks one syllabus fact.
The question is: “The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms?”
The accepted answer is D. Bytecode. “The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms” is answered by Bytecode (option D). Option A (“Peephole optimization”) does not match the stem; it is a near-miss used to catch incomplete recall of Bytecode. Option B (“Grammar ambiguity”) does not match the stem; it is a near-miss used to catch incomplete recall of Bytecode. Remaining alternatives (Type checking) fall outside the same rule and should be eliminated once Bytecode 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. Peephole optimization
Why not A: “Peephole optimization” is not correct. The accepted answer is D. Bytecode. “The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms” is ans
- B. Grammar ambiguity
Why not B: “Grammar ambiguity” is not correct. The accepted answer is D. Bytecode. “The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms” is ans
- C. Type checking
Why not C: “Type checking” is not correct. The accepted answer is D. Bytecode. “The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms” is ans
- D. Bytecode ✓
Correct answer
D. Bytecode
Explanation
“The concept in which an intermediate, platform-independent representation of source code designed to be executed by a virtual machine is best known as which of these terms” is answered by Bytecode (option D). Option A (“Peephole optimization”) does not match the stem; it is a near-miss used to catch incomplete recall of Bytecode. Option B (“Grammar ambiguity”) does not match the stem; it is a near-miss used to catch incomplete recall of Bytecode. Remaining alternatives (Type checking) fall outside the same rule and should be eliminated once Bytecode 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
- Which of the following best names the concept in which a compiler capable of creating executable code for a pl...
- What term describes the following? a compiler process that verifies whether operations in a program are perfor...
- Choose the correct description of Peephole optimization.
- In computer science, Type checking refers to which of the following?
- A code optimization technique that examines a small set of adjacent instructions to replace them with a more e...
- Select the correct name for: the part of a compiler responsible for analyzing source code, including lexical,...