Multiple choice technology mainframe

Assembly language is transalated into machine code by

  1. Interpretor

  2. Compiler

  3. Assembler

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

An assembler is the specialized program that translates assembly language mnemonics into machine code. Unlike compilers which work with high-level languages, or interpreters which execute code line-by-line, assemblers perform a direct one-to-one conversion of assembly instructions to their binary machine code equivalents.

AI explanation

An assembler translates assembly language (a symbolic, one-to-one representation of machine instructions) directly into machine code/object code. A compiler translates higher-level languages (like C or COBOL) into machine code, and an interpreter executes high-level source line-by-line without producing a standalone machine-code file — neither applies to assembly language specifically, which is the assembler's defined job.