Question 44Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12Select the true statement for compiler.
- AThe input of the compiler is source program.
- BIt translates the source code into object code as a whole.
- CThe output of the compiler is object code.
- DMore than one of the above
- ENone of the above
Show answerHide answer
Correct answer: (D) More than one of the above
Explanation
All three statements are true: a compiler takes the source program as input, translates the whole of it at once, and produces object code as output.