Skip to content
Sign in
Assistant (2011) PPSC

A computer program that converts an entire program into machine language at one time is called:

Tap an option to check the answer. You can also press A–D.

Explanation
A compiler translates the whole source program into machine code in one go, while an interpreter translates and executes it line by line. A simulator imitates the behavior of hardware or a system and does not translate programs. The original key for this question (C, Simulator) is incorrect, and since the true answer is absent from the options, this question is marked for review rather than guessed. Related facts: Compiler: whole-program translation before execution. Interpreter: line-by-line translation during execution. Assembler: translates assembly language into machine code. Exam tip: Entire program at one time = compiler; line by line = interpreter.