Secondary Storage

💻 Computer Science Years 8–11 Foundation

Magnetic, solid-state and optical storage: how each works and the trade-offs of speed, cost and durability.

Open this lesson, with practice and a printable worksheet →

RAM forgets everything the moment the power dies. So where do your photos, games and coursework actually live between sessions? On secondary storage — the permanent, non-volatile home for your files. There are three great families of it, and each writes data in a completely different way: magnetic, solid-state and optical.

Why this matters: Choosing storage is a real decision — a fast SSD for your laptop, a cheap big hard drive for backups, a disc for a film. Knowing how each works tells you which to pick and why one costs more.
Magnetic (HDD) Solid-state (SSD) Optical (disc)
Three ways to store data permanently.

Magnetic — the spinning hard disk

101010arm sweeps to read magnetised patches
An HDD reads magnetised 1s and 0s off a spinning platter with a moving arm.

A hard disk drive (HDD) stores data as tiny magnetised patches on spinning metal platters, read by a moving arm — like a record player for data. Each patch is magnetised one way for a 1 and the other way for a 0, and the arm sweeps in and out to reach any spot on the disc. Because parts physically move, it's slower and more fragile than an SSD, and a hard knock while it's spinning can damage it. But it's cheap per gigabyte and holds enormous amounts, which makes it ideal for backups and bulk storage where speed matters less than capacity.

Solid-state — no moving parts

A solid-state drive (SSD) uses flash memory — electronic chips with no moving parts, like a giant, permanent version of a USB stick. That makes it much faster, silent, tougher and lower-power, which is why modern laptops boot in seconds. The trade-off: it costs more per gigabyte than an HDD.

Optical — reading with a laser

pits (dark) and lands (light) along the tracklaser
A laser bounces off microscopic pits and lands to read 1s and 0s.

Optical media — CDs, DVDs, Blu-rays — store data as microscopic pits and bumps read by a laser. They're cheap and great for distributing films or music, but hold relatively little and are slow. Their use is fading as downloads take over.

TypeHow it stores dataSpeedCost per GBMoving parts?
Magnetic (HDD)Magnetised patches on plattersSlowerCheapestYes
Solid-state (SSD)Flash memory chipsFastestHigherNo
Optical (disc)Pits read by a laserSlowLow, small capacityYes (spins)
Worked example: A video editor wants fast access to their current project but also a cheap place to archive finished films. Best choice? — An SSD for the working project (speed matters), and a large HDD for the archive (capacity is cheap and speed is less important).
SSDworking projectfastHDDarchive of filmscheap & bigmatch the storage to the job
SSD where speed pays; HDD where cheap capacity wins.
Common mistake: An SSD is not the same as RAM, even though both use chips. RAM is volatile working memory; an SSD is non-volatile secondary storage that keeps your files with the power off.

Tip: match the storage to the job — SSD for speed, HDD for cheap bulk, optical for handing someone a physical disc. All three are non-volatile; that's what makes them storage rather than memory.

Get the printable worksheet →
← Memory → System Software
← Sasta Basta home All subjects