Select the true statement for compiler.
2023
Select the true statement for compiler.
Answer: D. More than one of the above — A compiler takes a source program as input, translates the entire program at once, and produces object (machine) code as output.
- A.
The input of the compiler is source program.
- B.
It translates the source code into object code as a whole.
- C.
The output of the compiler is object code.
- D.
More than one of the above
- E.
None of the above
Attempted by 971 students.
Show answer & explanation
Correct answer: D
A compiler takes a source program as input, translates the entire program at once, and produces object (machine) code as output.
Loading lesson…