System startup: when a computer is powered on or restarted, which special absolute loader is executed to initialize hardware, locate the operating system, and start the boot process?

Difficulty: Easy

Correct Answer: bootstrap loader

Explanation:

Introduction / Context:Right after power-on, a computer cannot rely on an operating system already residing in memory. A minimal program stored in firmware or a predefined location must take control, test hardware, and bring in the operating system. This early-stage program is a specialized, minimal loader.

Given Data / Assumptions:

  • Bootstrapping begins from immutable or semi-immutable storage (ROM/flash).
  • The program can access devices to fetch the OS loader or kernel.
  • Absolute addressing is typically used because the loader is built for a fixed location.

Concept / Approach:The bootstrap loader initializes essential hardware, identifies a boot device, loads a more capable secondary loader or OS image into RAM, and transfers execution. It acts as a tiny absolute loader, not a general-purpose linker or full dynamic loader.

Step-by-Step Solution:

Execute firmware-resident boot code immediately on reset.Probe or follow configured boot order to locate a boot sector/loader.Load the operating system or second-stage loader to memory and jump to it.

Verification / Alternative check:BIOS/UEFI on PCs, boot ROMs on embedded devices, and bootloaders like U-Boot implement these steps and embody the bootstrap concept.

Why Other Options Are Wrong:

Loader (generic): too broad; the early-stage specialized loader is called the bootstrap loader.Linker: resolves symbols and creates executables, not used at power-on.None of the above: incorrect because “bootstrap loader” is the standard term.IPL card: a historical medium or mechanism, not the general term for the program itself.

Common Pitfalls:Confusing generic loaders with the minimal, firmware-invoked bootstrap stage; assuming the OS is present in RAM at power-on.

Final Answer:bootstrap loader.

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion