Assistant (BS-16) Held in 2022 PPSC
A computer program that translates one program instruction at a time into machine language is called:
Explanation
An interpreter translates and executes a program one instruction (line) at a time, during runtime. A compiler, by contrast, translates the entire program into machine code before execution begins.
Related facts:
Interpreted languages include Python, JavaScript, and Ruby.
Compiled languages include C and C++.
Interpreters report errors line by line during execution.
TABLEFeatureCompilerInterpreterTranslationWhole program before executionOne instruction at a timeExecution speedFasterSlowerExamplesC, C++Python, JavaScript
Exam tip: “One at a time” in the question is the keyword for Interpreter.