Which method of program translation in a computer executes code more slowly…
2026
Which method of program translation in a computer executes code more slowly but provides easier error detection and debugging?
Answer: D. Interpreter — The correct answer is Option D (Interpreter). An interpreter executes code line-by-line, which makes execution slower compared to a compiler. However, this…
- A.
Loader
- B.
Compiler
- C.
Assembler
- D.
Interpreter
Attempted by 1706 students.
Show answer & explanation
Correct answer: D
The correct answer is Option D (Interpreter).
An interpreter executes code line-by-line, which makes execution slower compared to a compiler. However, this approach makes error detection and debugging easier because errors are identified immediately at the line where they occur.
Thus, interpreters are slower but better for debugging.
Loading lesson…