MCQ PracticeSingle Best AnswerTopic: Compiler vs Interpreter
Q
Which of the following is characteristic of a compiler?
Question ID
#19977
Subchapter
Compiler vs Interpreter
Action
Choose one option below
Choose Your Answer
Click an option to check whether your answer is correct.
A
Translates source code line by line ✔✖
B
Provides immediate feedback on errors ✔✖
C
Produces an intermediate code ✔✖
D
Requires an interpreter for execution ✔✖
C
Correct Answer: C
Explanation
A characteristic of a compiler is that it often produces an intermediate code or machine code as an output. This code is then executed directly by the computer's hardware.