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
Answer: B. Slower — Compiled programs are translated entirely into machine code before execution, allowing for optimizations and direct hardware interaction. Interpreted programs…
- A.
Faster
- B.
Slower
- C.
At the same speed
- D.
May be faster or slower
Attempted by 693 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: Iocl Engineers Officers Grade A Paper 2