Which method of program translation in a computer produces an executable file…

2026

Which method of program translation in a computer produces an executable file that can be run independently on the system?

  1. A.

    Compiler

  2. B.

    Assembler

  3. C.

    Converter

  4. D.

    Interpreter

Attempted by 298 students.

Show answer & explanation

Correct answer: A

The correct method is Compiler. A compiler translates the entire source code into machine code, creating a standalone executable file that runs independently on the system without needing the original source or translation tool. In contrast, an interpreter executes code line-by-line during runtime and does not typically generate a standalone executable file.

Explore the full course: Niacl Ao It Specialist