A1.1.7 · Computer hardware and operation
Secondary storage
By the end you can
Describe internal and external storage (HDD, SSD, eMMC, optical, memory cards, NAS), how flash wears and how optical discs are read, and choose the right storage for a situation.
RAM forgets everything when the power goes, so a computer needs somewhere permanent for its operating system, programs and files: . It is non-volatile, much bigger and much cheaper per gigabyte than RAM, and much slower, so programs are copied from it into RAM before they run. Internal storage is built into the device; external storage plugs in or is reached over a network.
Internal storage#
Hard disk drives
A stores data as tiny magnetised areas on metal platters spinning thousands of times a minute. A read/write head on an arm floats just above the surface. To read a file the arm must move to the right track (seek time) and then wait for the right part of the platter to spin round under it (rotational delay). Those mechanical delays make HDDs slow, especially for many small scattered files, but they store a lot of data cheaply.
Solid state drives and eMMC
A stores data in NAND flash memory chips, managed by a controller chip, with nothing moving. Any location can be read about as fast as any other, so SSDs are much faster, as well as silent, lighter and more robust. Small M.2 SSDs plug straight into the motherboard; the fastest (NVMe) connect directly to the CPU's fast lanes. is also flash, but simpler and soldered onto the board: cheaper and slower, found in budget phones, tablets and laptops.
Inside flash memory: pages, blocks and wear
Flash (in SSDs, eMMC, USB drives and memory cards) stores each bit as electric charge trapped in a tiny cell, which stays put with the power off. The cells are grouped into pages (a few kilobytes), and pages into blocks. Data can be written a page at a time, but a cell cannot simply be overwritten: it must be erased first, and erasing works only on a whole block at once. So changing one page means the controller writes the new version somewhere already empty and tidies up the old block later.
Every erase wears a cell a little, and after a limited number of write/erase cycles it can no longer hold its charge reliably. The controller therefore uses : it spreads writes evenly over all the blocks, so no block is worn out by a file that changes constantly, and it keeps spare blocks to swap in for any that fail. Cheaper flash stores more bits per cell (one bit is SLC, two MLC, three TLC, four QLC): denser and cheaper per gigabyte, but slower and able to survive fewer writes. For everyday use a modern SSD lasts for years; it matters for drives written to all day, such as busy servers.
Hard disk drive
0 / 8 files · 0 ms
≈ 10 ms each: move the arm, then wait for the disk to spin round.
Solid state drive
0 / 8 files
≈ 0.1 ms each: no moving parts, any location is as quick as any other.
Typical round figures for small random reads. For one big file read in order, the gap is smaller: hard disks manage roughly 50–200 MB/s, SSDs several hundred to several thousand MB/s.
| HDD | SSD | |
|---|---|---|
| How it stores data | Magnetic patterns on spinning platters | Electric charge in flash memory chips |
| Moving parts | Yes: platters spin, an arm moves the head | None |
| Speed | Slower: must seek and wait for the spin | Much faster, especially for scattered reads |
| Durability | A knock while running can damage it | Resists knocks and vibration |
| Noise, heat, power | Audible, warmer, more power | Silent, cooler, less power |
| Cost per GB | Lower | Higher |
| Typical use | Bulk storage, backups, media libraries | The OS, programs, laptops, games |
External storage#
- External HDDs and SSDs work just like the internal kinds, in a case with a USB cable: an SSD for fast, knock-proof portability; an HDD for cheap, large backups.
- USB flash drives and memory cards (SD, microSD) are small flash devices. Cards are made for cameras, phones and consoles: tiny, tough and removable, though slower than an SSD.
- Optical discs (CD, DVD, Blu-ray) are read by a laser. Very cheap to produce in bulk and fine for distribution or archives, but slow, easily scratched, and many devices no longer have a drive.
- is a box of drives on the network that many people can share. It usually combines its drives using , so the data survives if one drive fails, and more drives can be added as it fills up.
Storage on someone else's servers, reached over the internet, is cloud storage: see A1.1.9.
How an optical disc stores data
A spiral track
A disc is a layer of clear plastic over a thin reflective metal layer. The data runs along one very long spiral track, starting near the centre and working outwards.Pits and lands
Along the track are tiny dips, called pits, and the flat areas between them, called lands (see ). On a pressed disc they are stamped in during manufacture; a writable disc instead has a dye layer that a stronger laser darkens to make the same pattern.Reading with a laser
As the disc spins, a laser shines on the track. A land reflects the light straight back; at the edge of a pit the light is scattered, so less comes back. A light sensor (photodiode) picks up these changes in brightness.Light into bits
The sensor turns the changing light into an electrical signal, and the drive decodes the pattern of changes into 0s and 1s.
CD, DVD and Blu-ray work the same way. Each newer format uses a laser with a shorter wavelength (Blu-ray's is blue-violet, hence the name), which can read smaller pits packed closer together, so far more fits on the same size of disc.
1. A gaming laptop that should boot and load games as fast as possible.
2. Backing up 8 TB of family videos as cheaply as possible.
3. A budget smartphone, where every penny of cost matters.
4. Adding storage to a camera or a handheld games console.
5. A small office where 15 people must share and back up the same files.
6. Handing out a film to thousands of customers on a physical copy that is cheap to make.
0 answered · 0 best choices
Check yourself
Storage, flash and optical discs
Quick questions, made fresh every time and marked here. Do a few until they feel easy.
Exam practice
Paper 1-style questions
6 questions · 21 marks
Write your answer as you would in the exam, then show the mark points and tick each one your answer made. These are our own questions in the style of the exam, not past-paper questions.
1.Describe two differences between a hard disk drive (HDD) and a solid state drive (SSD).
[4]Describe: A detailed account: say what happens, step by step if it is a process.
2.Explain why a low-cost smartphone might use eMMC storage rather than an SSD.
[2]Explain: Give reasons: say what happens AND why, or how one thing causes another.
3.Outline two advantages of network attached storage (NAS) for a small business.
[2]Outline: A brief account: the main points, without much detail.
4.Explain how data is read from an optical disc.
[4]Explain: Give reasons: say what happens AND why, or how one thing causes another.
5.Describe how an SSD stops some of its memory cells from wearing out before others.
[3]Describe: A detailed account: say what happens, step by step if it is a process.
6.A school is replacing the hard disk drives in its file server, which stores students’ work and is written to all day. Evaluate replacing them with SSDs.
[6]Evaluate: Weigh the strengths against the weaknesses (or the benefits against the costs) and reach a judgement that you back up.
Past papers
Old exam questions on this topic
From HL Paper 1, May 2014 to November 2025. These papers were set on the previous syllabus, so the wording may differ from today's exam, but the topic is the same. Find the questions and markschemes in your school's past-paper pack.
| Paper | Question | Marks | About |
|---|---|---|---|
| May 2024 TZ1 | 14(e) | 3 | Storage in tablets versus desktops |
| November 2021 | 1 | 2 | Two differences between primary and secondary storage |
| May 2019 | 14(b) | 1 | Purpose of persistent storage |
In a nutshell
- Secondary storage is non-volatile: it keeps programs and files with the power off, and holds far more than RAM.
- HDD: magnetic spinning platters and a moving head. Cheap per GB and large, but slower, noisier and easily damaged by knocks.
- SSD: flash memory, no moving parts. Much faster, silent, robust and low-power, but more expensive per GB. eMMC is a cheaper, slower flash chip soldered to the board.
- Flash is written in pages and erased in whole blocks; each cell survives a limited number of writes, so the controller spreads them out (wear levelling).
- External: portable HDDs/SSDs, USB flash drives, memory cards (cameras, phones), optical discs (cheap but slow and fragile), NAS (shared storage on a network, often with RAID).
- Optical discs store pits and lands on a spiral track; a laser reads them from the changes in reflected light, picked up by a photodiode.
- Choose by speed, capacity, cost per GB, durability and portability for the situation.
