Select the true statement for compiler.

2023

Select the true statement for compiler.

Answer: D. More than one of the aboveA compiler takes a source program as input, translates the entire program at once, and produces object (machine) code as output.

  1. A.

    The input of the compiler is source program.

  2. B.

    It translates the source code into object code as a whole.

  3. C.

    The output of the compiler is object code.

  4. D.

    More than one of the above

  5. 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.

Explore the full course: Btsc Lab Assistant

Loading lesson…