Primary storage – the fast, volatile memory that the CPU can access directly.
Typical examples are RAM (Random‑Access Memory) for temporary data and ROM (Read‑Only Memory) for firmware. Primary storage loses its contents when power is removed.
Secondary storage – non‑volatile devices that retain data permanently (or for many years) even without power.
It provides the large capacity required for programmes, documents, media files, backups and for extending primary memory when RAM is full.
Why Both Types Are Needed
RAM offers nanosecond‑level access speeds but is limited in size and loses data when the computer is switched off.
Secondary storage supplies the high capacity and permanence that RAM cannot, and it can also be used to store data that exceeds the available RAM.
Portable secondary‑storage media (USB sticks, external drives, cloud accounts) enable easy transfer of data between computers.
Types of Secondary Storage
1. Magnetic Storage – Hard‑Disk Drive (HDD)
Data is recorded on rotating magnetic platters. Each bit is represented by the direction of magnetic particles (north‑south polarity).
A magnetic read/write head (often called a “magnetic head”) flies a few nanometres above the platter surface. It changes polarity to write data and senses polarity to read data.
Both SSDs and USB flash drives use NAND flash memory. Each memory cell contains a floating‑gate transistor that stores charge; the presence or absence of charge represents a binary 1 or 0.
No moving parts → very low access times, high resistance to shock.
SSDs are usually installed inside the computer (SATA, NVMe); USB flash drives are external and connect via a USB interface.
3. Hybrid Drive – SSHD (Solid‑State + Hard‑Disk)
Combines a small SSD cache (usually 8–64 GB) with a conventional magnetic HDD.
Frequently accessed data is stored in the SSD portion for fast access, while bulk data remains on the magnetic platters.
Provides a compromise between speed and cost.
4. Optical Storage – CD, DVD, Blu‑ray
Data is encoded as a series of pits (depressions) and lands (flat areas) on a reflective polymer layer.
A laser beam is reflected off the surface; changes in reflected light are interpreted as 0s and 1s.
Long strips of magnetic coating on a plastic backing. Data is written sequentially as the tape moves past a read/write head.
Used mainly for high‑capacity archival backup because of very low cost per gigabyte.
Typical capacity (LTO‑9, native): 18 TB per cartridge.
6. Virtual Memory – OS‑Managed Secondary Storage
When RAM becomes full, the operating system moves less‑used pages of memory to a reserved area of secondary storage (a “swap file” or “page file”).
This creates an *extension* of primary memory, allowing programs larger than the physical RAM to run, though at reduced speed.
It is essentially “RAM overflow” onto the hard‑disk/SSD.
Diagram suggestion: flow‑chart showing RAM ↔ Swap file (on HDD/SSD) ↔ Disk with arrows indicating page‑in/page‑out operations.
7. Cloud Storage
Data is stored on remote servers owned by a third‑party provider and accessed via the Internet.
Advantages: access from any device with an Internet connection, automatic redundancy/back‑up, easy sharing.
Disadvantages: depends on a reliable Internet link, ongoing subscription fees, and security/privacy concerns (encryption, data‑centre jurisdiction, provider trustworthiness).
Time to locate the first byte of data (seek + latency)
Milliseconds (ms) or microseconds (µs)
Transfer rate
Speed of moving data once access has started
MB/s (or MiB/s)
Durability
Resistance to shock, magnetic fields, wear, temperature, etc.
Qualitative (low – high)
Portability
Ease of moving the device between computers
Qualitative (low – high)
Cost
Price per unit of storage
$/GB (or $/GiB)
Comparison of Common Devices
Device
Typical Capacity
Access Time
Transfer Rate
Durability
Cost (≈ $/GB)
HDD (7200 rpm)
500 GB – 4 TB
≈ 8 ms
80 – 160 MB/s
Moderate (susceptible to shock)
0.04
SSD (SATA)
250 GB – 2 TB
≈ 0.1 ms
500 – 550 MB/s
High (no moving parts)
0.12
Hybrid Drive (SSHD)
1 TB – 2 TB (with 8‑64 GB SSD cache)
≈ 5 ms (cached data faster)
≈ 200 MB/s (overall)
Moderate‑high
0.07
Optical Disc (DVD‑R)
4.7 GB (single‑layer)
≈ 150 ms
5 – 11 MB/s
Low (scratches, heat)
0.03
USB Flash Drive (USB 3.0)
16 GB – 256 GB
≈ 1 ms
100 – 200 MB/s
High (portable)
0.08
Magnetic Tape (LTO‑9)
18 TB (native)
≈ 10 ms + streaming latency
≈ 400 MB/s (streaming)
Very high (archival)
0.01
Calculating Storage Requirements
When estimating how much secondary storage is needed, add the sizes of all files, then include a safety margin (usually 10‑20%). Use binary units (KiB, MiB, GiB) as required by the Cambridge syllabus.
Example – Mixed Media Project
Documents: 5 MiB × 120 = 600 MiB
Images: 2 MiB × 300 = 600 MiB
Video clips: 700 MiB × 8 = 5 600 MiB
Total = 6 800 MiB ≈ 6.64 GiB (1 GiB = 1024 MiB)
Safety margin 15 %: 6.64 GiB × 1.15 ≈ 7.64 GiB
Result: a **8 GiB** USB flash drive would satisfy the requirement; a 16 GiB drive would allow future growth.
“A school wants to edit a short documentary film (≈ 10 GB of raw footage) and then archive the final version for five years. Choose the most appropriate secondary‑storage solution and justify your choice by comparing at least two devices.”
Choosing the Right Secondary Storage
Required Capacity: Estimate total data size plus future growth.
Speed Needs: For frequent read/write (e.g., video editing) prefer SSDs or high‑speed external drives.
Portability: For transport between locations, use USB flash drives, external SSDs, or cloud services.
Budget: Balance cost per GB against performance and durability.
Longevity: For archival storage, consider magnetic tape or high‑quality optical discs.
Security: Decide whether encryption, password protection, or secure cloud providers are required.
Summary
Secondary storage provides permanent, high‑capacity data retention. The main technologies differ in the physical principle used to store bits – magnetic polarity (HDD, tape), pits and lands on a reflective surface (optical), or charge in flash cells (SSD, USB). Each device has distinct trade‑offs in capacity, speed, durability, cost and portability. Understanding these characteristics, together with concepts such as virtual memory, cloud storage, and data‑size calculations, equips students to select the most suitable storage solution for any computing task.
Suggested diagram: Plot of access time (ms) versus transfer rate (MB/s) for HDD, SSD, optical disc, USB flash drive, magnetic tape and cloud storage.