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.