All Exams Test series for 1 year @ ₹349 only
Question

________ converts assembly language into machine language

The correct answer is

Assembler

Assembly Language to Machine Language Conversion

Computers fundamentally understand and execute instructions in machine language, which is a sequence of binary digits (0s and 1s). Writing programs directly in this format is very complex for humans.

To simplify programming, low-level languages like assembly language were created. Assembly language uses specific mnemonics (e.g., ADD, MOV, JMP) and symbolic addresses, making it more understandable than binary code.

However, the processor can only execute machine language. Therefore, a special program is needed to translate assembly language into machine language. This translator is known as an assembler.

Understanding Translator Roles

Let's clarify the functions of the given options:

  • Compiler: Translates source code from a high-level language (like C++ or Java) into machine language or an intermediate language. It typically translates the entire source code at once.
  • Assembler: This program specifically translates source code written in assembly language into its equivalent machine language. It maps assembly mnemonics and symbolic addresses to their binary representations.
  • Loader: This is a crucial part of the operating system that manages the process of loading executable programs from storage (like a hard drive) into the computer's memory (RAM) so they can be run by the CPU. It does not perform language translation.

Based on these definitions, the tool responsible for converting assembly language directly into machine language is the Assembler.

Was this answer helpful?

Important Questions from Computer OS

  1. Windows 10 is a/an:

  2. A hard disk has a rotational speed 6000 rpm. Its average latency time is

  3. In operating systems, what is the full form of RAG?

  4. Which of the following can make the application program, hardware independent?

  5. Which OSI layer is concerned with reliable end to end delivery of data?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App