Which of the following loader is executed when a system is first turned on or restarted?

By: Prof. Dr. Fazal Rehman Shamil | Last updated: February 3, 2024

 

Question:  Which of the following loader is executed when a system is first turned on or restarted?

A    Compiler

B    Bootstrap loader

C    Linker

D    Interpreter

Answer:     Bootstrap loader

 

AspectDescription
Name of loaderBootstrap Loader
TypeAbsolute Loader
RoleInitiates the computer’s boot-up process when the system is first powered on or restarted.
Storage Location·        EPROM (Erasable Programmable Read-Only Memory)

·        ROM

Execution Trigger·        Automatically executed by the processor upon powering on or restarting the computer.
Responsibilities

 

 

 

 

·        Ensures essential hardware components are in a known and functional state.

·        Checks for the presence of bootable devices like hard drives, USB drives, or network interfaces.

·        Loads the initial program or operating system kernel into memory, starting the boot process.

·        May provide options for selecting between different boot devices or configurations.

Transition to OSAfter completing its tasks, control is handed over to the operating system loader for OS loading.
ImportanceCrucial for ensuring a smooth and controlled startup, initializing hardware and facilitating the loading of the OS.