Skip to content

Compiler Design

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.

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

More Compiler Design MCQs