Relative to the program translated by a compiler, the same program when…

20082025

Relative to the program translated by a compiler, the same program when interpreted runs

  1. A.

    Faster

  2. B.

    Slower

  3. C.

    At the same speed

  4. D.

    May be faster or slower

Attempted by 374 students.

Show answer & explanation

Correct answer: B

Compiled programs are translated entirely into machine code before execution, allowing for optimizations and direct hardware interaction. Interpreted programs are translated line-by-line during runtime, which introduces overhead. Therefore, interpreted programs typically run slower than compiled ones.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro