Challenger App

No.1 PSC Learning App

1M+ Downloads
The programme that is used to store the machine language programme into the memory of the computer, is called :

ACompiler

BLoader

CInterpreter

DAssembler

Answer:

B. Loader

Read Explanation:

  • A Loader is a system program that loads machine language programs into the computer's memory for execution. When a program is compiled or assembled, it exists as a file on secondary storage (like a hard disk). The loader's primary function is to:

    1. Load the program: Transfer the machine language program from secondary storage into the main memory (RAM)

    2. Allocate memory: Assign appropriate memory locations for the program

    3. Relocate addresses: Adjust memory addresses if needed to fit the program into available memory space

    4. Link libraries: Connect the program with necessary library functions

    5. Initialize execution: Prepare the program for execution by setting up the program counter and other registers

  • Why other options are incorrect:

    • Compiler: Translates high-level language programs (like C, Java) into machine language or intermediate code, but does not load programs into memory

    • Interpreter: Executes high-level language programs line by line without producing a complete machine language program

    • Assembler: Converts assembly language programs into machine language, but does not load them into memory

  • The loader is an essential component of the operating system that bridges the gap between a stored program and its execution by placing it in the appropriate memory locations.


Related Questions:

The data received from memory or the data to be stored in memory are placed in a :

Decimal equivalent of 1100B

1 PB =
Which of the following circuit is used as a memory device in Computers?
The activity of creating sectors and tracks on a hard disk is called :