The process of compiling Intermediate Language programs to the actual machine…

2021

The process of compiling Intermediate Language programs to the actual machine language on the target platform prior to execution is known as ______.

  • I. Just-In-Time compiling

  • II. First-In-Time compiling

Answer: A. Only IConceptA program written in a language that targets an intermediate form — Java bytecode for the JVM, CIL for the .NET CLR — cannot be executed directly by…

  1. A.

    Only I

  2. B.

    Only II

  3. C.

    Both I and II

  4. D.

    Neither I nor II

Attempted by 425 students.

Show answer & explanation

Correct answer: A

Concept

A program written in a language that targets an intermediate form — Java bytecode for the JVM, CIL for the .NET CLR — cannot be executed directly by the CPU. That intermediate code must eventually be turned into the native machine instructions of the machine it runs on, and compilation models are classified by WHEN that final translation happens. Ahead-of-time compilation completes the translation as a separate step before the program is ever started. Pure interpretation never produces machine code at all: it reads the intermediate form and carries out each instruction one at a time. Just-in-time compilation defers the translation to the target platform itself and performs it at the point of execution, converting each method or block into native machine code immediately before that code is needed.

Applying the concept here

The stem pins down three properties: the input is Intermediate Language, the output is the actual machine language of the target platform, and the translation happens on that platform prior to execution. Just-In-Time compiling is defined by precisely that combination — it is how the JVM's HotSpot engine and the .NET CLR turn bytecode and CIL into native code on the machine that runs the program. "First-In-Time compiling" does not appear in compiler theory, in the Java Virtual Machine specification, or in CLR documentation; it is a coined phrase with no defined behaviour, so it names no compilation process at all.

Cross-check

  • Ahead-of-Time (AOT) compilation performs the same Intermediate Language to machine code translation, but as a separate step that is finished before the program is started, so it is not driven by execution.

  • Interpretation executes the intermediate form directly and never emits machine language, so it does not satisfy the stem's requirement of producing the actual machine language.

  • Just-In-Time compilation is the only one of these models whose defining feature is that the translation is carried out on the target platform at the moment of execution, which is exactly what the stem describes.

Statement I therefore describes the process and statement II does not, so the correct choice is "Only I".

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…