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?
- A.
Compiler
- B.
Assembler
- C.
Converter
- 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.