Question 44Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12

Select the true statement for compiler.

  1. AThe input of the compiler is source program.
  2. BIt translates the source code into object code as a whole.
  3. CThe output of the compiler is object code.
  4. DMore than one of the above
  5. 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.

From BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 44 of BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.