Learning Objectives
- Distinguish primary storage from secondary storage.
- Explain the roles and characteristics of RAM and ROM.
- Explain why a computer normally requires both RAM and ROM.
- Compare volatility, capacity, speed, purpose and cost of storage types.
- Select suitable primary or secondary storage for a stated need.
Key Terms
- Primary storage
- Memory directly accessible by the processor for instructions and data needed during operation.
- Secondary storage
- Non-volatile storage used to keep programs and data for long-term use.
- RAM
- Random access memory used as writable working memory for active programs and data.
- ROM
- Read-only memory containing instructions or data that must remain when power is removed.
- Volatile
- Loses stored contents when electrical power is removed.
- Non-volatile
- Retains stored contents without electrical power.
- Capacity
- The amount of data a storage device can hold.
- Access time
- The time required to locate and obtain data.
- Firmware
- Persistent software stored in non-volatile memory that starts or controls hardware.
- Boot process
- The sequence of operations that starts a computer and loads its operating system.
- Backing storage
- Another term commonly used for secondary storage.

Primary Storage
Primary storage is memory used directly by the processor. The two required types are RAM and ROM. Primary storage is electronically accessible and supports the immediate operation of the system. It should not be confused with secondary devices used to keep large collections of files.
RAM stores instructions and data for programs currently being used. It is read/write memory, so its contents change constantly. More RAM allows a computer to keep more program code and data available without relying as heavily on slower secondary storage. Most ordinary RAM is volatile, so its contents disappear when power is removed.
ROM stores instructions or data that must remain available without power. In a computer it can hold startup firmware used to begin the boot process and initialise hardware. ROM is non-volatile and is not used as the main working area for changing application data.
Why Both RAM And ROM Are Needed
A computer needs ROM because some initial instructions must be available immediately after power is switched on. At that moment, the operating system has not yet been loaded from secondary storage. Firmware in non-volatile memory can test or initialise hardware and begin loading the operating system.
A computer needs RAM because running software requires a fast working area that can be changed. Program instructions and active data are loaded from secondary storage into RAM. The processor then accesses them during execution. Results and temporary values are also held there.
ROM cannot replace normal RAM because it is not intended for frequent working changes and usually has much lower capacity. RAM cannot replace startup ROM because volatile RAM loses its contents when the system is switched off.
Secondary Storage
Secondary storage retains programs and data when power is removed. It normally has much greater capacity than primary storage and a lower cost per unit of data, but access is slower. Files such as documents, applications, photographs and videos are kept on secondary storage until needed.
The syllabus groups secondary storage into magnetic, optical and solid-state technologies. Hard disk drives use magnetic recording. CDs, DVDs and Blu-ray discs use optical reading. Solid-state drives, USB flash drives and memory cards use electronic flash memory.
A program stored on secondary storage is normally copied into RAM before execution. This shows the different roles: secondary storage keeps the program long term, while RAM provides the active working copy.
Selecting Storage By Requirement
A suitable choice depends on capacity, speed, portability, durability, cost and purpose. RAM is chosen for temporary working data because it is fast and writable. ROM is chosen for persistent startup or control instructions. Secondary storage is chosen for long-term files and software.
No storage technology is ideal for every application. A large internal drive may prioritise capacity and cost. A portable device may prioritise low power use and resistance to movement. An archive medium may prioritise low cost and easy distribution.
When answering selection questions, state the feature and explain why it matters. For example, saying only that an SSD is ‘better’ is incomplete; saying that its lack of moving parts makes it resistant to shock in a laptop is a justified answer.
RAM And ROM Compared
| Feature | RAM | ROM |
|---|---|---|
| Volatility | Normally volatile. | Non-volatile. |
| Main purpose | Working memory for active programs and data. | Persistent startup or device instructions. |
| Changing contents | Frequently read and written during normal use. | Normally read during use and not routinely changed. |
| Typical capacity | Larger than ROM in a general computer but smaller than secondary storage. | Usually enough for firmware or fixed instructions. |
| Example | Open program instructions and unsaved document data. | Firmware that begins the boot process. |
Primary And Secondary Storage Compared
| Feature | Primary Storage | Secondary Storage |
|---|---|---|
| Processor access | Directly used by the CPU. | Data is normally transferred into primary storage before processing. |
| Speed | Generally faster. | Generally slower. |
| Capacity | Generally smaller. | Generally much larger. |
| Purpose | Immediate operation and processing. | Long-term retention of programs and files. |
| Examples | RAM and ROM. | HDD, SSD, optical disc, USB flash drive and memory card. |
Worked Examples
Following A Program From Storage To Execution
Question: Explain what happens to a drawing application stored on an SSD when the user opens it.
- The application remains on the SSD as non-volatile secondary storage while not in use.
- When opened, required program instructions and data are copied into RAM.
- The CPU fetches instructions from the working copy in primary memory.
- Changes remain temporary in RAM until the user saves data back to secondary storage.
Answer: The SSD keeps the application long term; RAM holds the active instructions and data used by the CPU.
Explaining Startup Memory
Question: Why cannot an ordinary computer rely only on volatile RAM when it is first switched on?
- Volatile RAM loses all contents when power is removed.
- The computer still needs initial instructions immediately after power-on.
- Non-volatile ROM or firmware memory retains those instructions.
- The firmware begins hardware initialisation and operating-system loading.
Answer: Startup instructions must survive without power, so they are stored in non-volatile memory rather than relying only on RAM.
Examination Guidance
- Use volatile and non-volatile accurately and link each term to power removal.
- State that RAM holds active programs and data, not merely ‘temporary files’.
- State that ROM can hold startup firmware.
- Explain that secondary-storage programs are copied into RAM before the processor uses them.
- In selection questions, justify the choice using capacity, speed, portability, durability or cost.
Common Mistakes
- Saying RAM is permanent storage.
- Saying ROM is used to store all user documents.
- Calling an HDD primary memory because it is installed inside a computer.
- Assuming the CPU normally executes application instructions directly from every secondary medium.
- Using ‘memory’ and ‘storage’ interchangeably without explaining their different roles.
Knowledge Check
1. What is RAM used for?
2. Why is ROM useful at startup?
3. What is secondary storage used for?
4. Why is a program copied from secondary storage into RAM?
5. Name the three secondary-storage technology groups in the syllabus.