Exam-style question
Try this first
A developer wants to immediately test small changes to a program. Which translation method is generally more suitable?.
- A.Compiler, for creating optimised executables.
- B.Interpreter, for instant feedback and line-by-line error checking.
- C.Assembler, because it handles low-level code.
- D.Transpiler, for converting between high-level languages.
Answer and explanation
Concise answer
Interpreter, for instant feedback and line-by-line error checking.
Why this is correct
The interpreter allows the developer to modify code and instantly see results without recompiling the whole program. This promotes rapid prototyping and debugging.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
