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. Which of the following is primarily a system configuration tool rather than a direct visual element of the MS Windows desktop interface?
  2. Which of the following is a good way to organise files in Windows?
  3. What is the function of device drivers in an operating system?
  4. In operating systems, what is the full form of RAG?

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

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