Q
Which statement about an interpreter is correct?
-
A
It translates and executes code statement by statement, so an error on a later line may not be reported until execution reaches it
-
B
It reports all syntax errors in the whole program before executing any line
-
C
It produces a standalone executable file that runs without the interpreter
-
D
Interpreted programs always run faster than compiled programs
Correct Answer:
A. It translates and executes code statement by statement, so an error on a later line may not be reported until execution reaches it
Explanation:
An interpreter executes as it translates. Errors in unexecuted paths can go unnoticed, and no standalone executable is produced.