Difficulty: Easy
Correct Answer: an interpreter
Explanation:
Introduction / Context:High-level source code must ultimately become machine-executable. Two primary approaches exist: compilation and interpretation. Knowing the tool that performs direct execution by translating on the fly is key to understanding runtime behavior and performance trade-offs.
Given Data / Assumptions:
Concept / Approach:An interpreter parses and executes the program statement-by-statement, often translating to intermediate steps at runtime. A compiler translates ahead-of-time into object/machine code. “Applications software” uses translators but is not itself a translator; an “operating environment” (like a GUI shell) does not perform language translation.
Step-by-Step Solution:
Identify translator types: compiler vs. interpreter.Map the prompt to a specific tool capable of executing code without separate build outputs.Select “an interpreter” as a valid converter of high-level instructions into actions.Reject vague or umbrella terms that are not specific tools.Verification / Alternative check:Languages such as Python and JavaScript are commonly interpreted; REPL environments exemplify line-by-line translation and execution.
Why Other Options Are Wrong:System software: too broad and non-specific. Applications software: consumes translators; does not translate. Operating environment: provides runtime UI, not translation. None: incorrect because interpreters exist.
Common Pitfalls:Assuming only compilers perform translation; ignoring hybrid JIT approaches that still qualify as interpretation at runtime.
Final Answer:an interpreter
Discussion & Comments