A computer program that translates high-level language program into machine…
2023
A computer program that translates high-level language program into machine language program statement-by-statement is called
Answer: C. interpreter — An interpreter is a computer program that translates and executes a high-level language program statement-by-statement. It reads one statement at a time,…
- A.
compiler
- B.
loader
- C.
interpreter
- D.
More than one of the above
- E.
None of the above
Attempted by 3295 students.
Show answer & explanation
Correct answer: C
An interpreter is a computer program that translates and executes a high-level language program statement-by-statement. It reads one statement at a time, translates it into machine code, and immediately executes it. This process continues until all statements are processed. A compiler, on the other hand, translates the entire program into machine code before execution. It does not process statements one at a time during execution. A loader is responsible for loading the compiled program into memory, but it does not perform translation. Therefore, the correct answer is the interpreter, as it performs translation statement-by-statement.