What is an interpreter?
2023
What is an interpreter?
Answer: C. A program that converts program into machine code line by line as the program is run — An interpreter translates and executes code line by line, unlike a compiler which translates the entire program at once.
- A.
A program that converts machine language to high-level language
- B.
A program that converts whole of a program code into machine language in one step
- C.
A program that converts program into machine code line by line as the program is run
- D.
A program that writes instructions to perform tasks
Attempted by 3095 students.
Show answer & explanation
Correct answer: C
An interpreter translates and executes code line by line, unlike a compiler which translates the entire program at once.
A video solution is available for this question — log in and enroll to watch it.