Boot process – On power‑up the CPU fetches the initial instruction set from ROM (firmware) to perform the Power‑On Self‑Test (POST) and to locate the operating system.
Program execution – After the OS is loaded into RAM, the CPU repeatedly reads and writes data in RAM for fast processing.
Data preservation – ROM guarantees that essential system software is always available; RAM provides a fast workspace for user data that can later be saved to secondary storage.
Interaction with secondary storage – When RAM becomes full, the OS may move infrequently used data to the hard‑disk/SSD (paging or swapping), illustrating the memory hierarchy.
Cache support – A small amount of cache memory sits between the CPU and RAM, reducing the average access time for frequently used data.
Security, e‑Safety & Data Protection
Firmware stored in ROM can be a target for malware (e.g., BIOS rootkits). Secure firmware updates and signed BIOS/UEFI images help protect against such threats.
Because RAM is volatile, many operating systems erase (zero‑fill) RAM during shutdown or before entering sleep mode to prevent data leakage.
Good e‑safety practice: always power‑off a computer before performing hardware upgrades to avoid accidental exposure of RAM contents.
Emerging Memory Technologies (Link to Syllabus “Impact of Emerging Technologies”)
New non‑volatile primary‑memory technologies aim to combine the speed of RAM with the permanence of ROM. Examples include:
NV‑RAM / MRAM – magnetoresistive RAM that retains data without power and offers nanosecond‑level access times.
3D‑XPoint (Intel Optane) – a cross‑point memory that is faster than traditional SSDs and can be used as a high‑speed cache or as system memory.
These technologies blur the traditional volatile/ non‑volatile distinction and may appear in future IGCSE case‑studies that ask students to evaluate the advantages and disadvantages of replacing conventional RAM/ROM.
Mobile‑Device Example (Desktop & Mobile Context)
ROM equivalent: The bootloader and firmware stored in a small eMMC/UFS chip (often called “boot ROM”). It performs the same initialisation role as a PC’s BIOS/UEFI.
RAM equivalent: LPDDR4X/LPDDR5 memory modules soldered onto the phone’s motherboard. They are volatile, provide the working space for apps, and are typically 4 GB – 12 GB in modern smartphones.
Both mobile and desktop systems follow the same sequence: firmware (ROM) → load OS from secondary storage (eMMC/SSD) → run applications in RAM.
Case‑Study Prompt (AO3 – Analysis & Evaluation)
“A school’s computer lab has experienced repeated crashes during the start‑up sequence. A technician discovers that the BIOS chip is corrupted. Explain what would happen if the ROM were damaged, how this differs from a RAM failure, and suggest two practical steps the school could take to prevent similar problems in the future.”
Key Points to Remember
ROM = non‑volatile, primarily read‑only (but can be re‑programmed with EEPROM/Flash), stores firmware and boot instructions.
RAM = volatile, read‑write, provides the fast workspace for active programs and data.
Both are **primary memory**, but only RAM is used for the working space of applications.
During boot the CPU reads from ROM; during normal operation it reads/writes to RAM.
The operating system is stored on secondary storage, loaded into RAM at start‑up, while a small boot loader remains in ROM.
Memory hierarchy: Registers → Cache → RAM → Secondary storage; each level is larger and slower than the one above.
Security of firmware (ROM) and proper clearing of RAM are important e‑safety considerations.
Emerging non‑volatile memories (NV‑RAM, MRAM, 3D‑XPoint) may eventually replace traditional RAM/ROM distinctions.
Suggested diagram: Block diagram showing the CPU connected to (a) ROM (firmware) and (b) RAM (working memory). Arrows illustrate data flow during the boot sequence (ROM → CPU → secondary storage → RAM) and during normal program execution (CPU ↔ RAM). Include a side arrow to secondary storage (HDD/SSD) for OS loading and file saving, and a small cache block between CPU and RAM.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources,
past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.