Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.
Difficulty: Hard
About this MCQ
This Hard Compiler Design MCQ checks one syllabus fact.
The question is: “Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.”
The accepted answer is D. Just-in-time (JIT) compilation. “Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.” is answered by Just-in-time (JIT) compilation (option D). Option A (“Cross-compiler”) does not match the stem; it is a near-miss used to catch incomplete recall of Just-in-time (JIT) compilation. Option B (“Lexical pattern matching”) does not match the stem; it is a near-miss used to catch incomplete recall of Just-in-time (JIT) compilation. Remaining alternatives (Loader) fall outside the same rule and should be eliminated once Just-in-time (JIT) compilation 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. Cross-compiler
Why not A: “Cross-compiler” is not correct. The accepted answer is D. Just-in-time (JIT) compilation. “Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.” is answered by Just-in-time (JIT) com
- B. Lexical pattern matching
Why not B: “Lexical pattern matching” is not correct. The accepted answer is D. Just-in-time (JIT) compilation. “Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.” is answered by Just-in-time (JIT) com
- C. Loader
Why not C: “Loader” is not correct. The accepted answer is D. Just-in-time (JIT) compilation. “Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.” is answered by Just-in-time (JIT) com
- D. Just-in-time (JIT) compilation ✓
Correct answer
D. Just-in-time (JIT) compilation
Explanation
“Identify the correct concept described as: a technique that compiles code into machine instructions at runtime rather than before execution.” is answered by Just-in-time (JIT) compilation (option D). Option A (“Cross-compiler”) does not match the stem; it is a near-miss used to catch incomplete recall of Just-in-time (JIT) compilation. Option B (“Lexical pattern matching”) does not match the stem; it is a near-miss used to catch incomplete recall of Just-in-time (JIT) compilation. Remaining alternatives (Loader) fall outside the same rule and should be eliminated once Just-in-time (JIT) compilation 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...
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 the use of regular expressions by a lexical analyzer to define and recognize valid tokens...
- A code optimization technique that examines a small set of adjacent instructions to replace them with a more e...
- What does Grammar ambiguity refer to?
- Choose the correct description of Peephole optimization.
- Which term refers to a property of a formal grammar where a single string can be produced by more than one dis...
- Which of the following best names the concept in which a compiler capable of creating executable code for a pl...