Difficulty: Easy
Correct Answer: compiler
Explanation:
Introduction / Context:
Understanding how source code becomes executable is foundational for both software and IT professionals. Translators include assemblers, compilers, and interpreters, each with distinct roles and workflows.
Given Data / Assumptions:
Concept / Approach:
A compiler translates high-level source code into machine code, often generating intermediate representation and object files which are then linked. Assemblers convert assembly language (low-level mnemonic form) into machine code. Interpreters execute high-level code statements directly without producing a standalone machine binary.
Step-by-Step Solution:
Verification / Alternative check:
Toolchains like GCC/Clang (compilers) read the entire translation unit, emit object code, and link to produce executables, matching the definition.
Why Other Options Are Wrong:
Assembler works from assembly, not high-level languages. “Translator” is too generic and not a specific tool class. “System software” is a category (OS, drivers), not a translator.
Common Pitfalls:
Mixing up compiler vs interpreter; overlooking JIT compilers that compile at runtime but still compile rather than interpret line-by-line semantics.
Final Answer:
compiler.
Discussion & Comments