Ad
Sponsored by Sir Tauqeer
CLICK HERE TO JOIN SIR TAUQUEER WHATSAPP GROUP
FOR PREPARATION CLASSES AND JOBS UPDATES
Join Now

A computer program that translates one program instruction at a time into machine language is called:

A. Compiler
B. Simulator
C. Interpreter
D. CPU
Correct Answer: C. Interpreter

A computer program that translates one program instruction at a time into machine language is known as an Interpreter. Interpreters execute code line by line, translating and running each instruction sequentially. This allows for immediate execution and easier debugging.

  • Compiler: Translates the entire source code into an executable machine code file before any execution takes place.
  • Simulator: Mimics the behavior of a system or device, often for testing or training purposes, rather than translating program instructions for direct execution.
  • CPU (Central Processing Unit): This is the hardware component that executes machine language instructions, but it does not perform the translation from high-level code itself.

Leave a Comment

Join Our WhatsApp Channel ×
Scroll to Top