You have saved up and bought a 1 TB external hard disk at Multiplan Center. You take it home, plug it in, open File Explorer, and Windows tells you: 931 GB. Sixty-nine gigabytes short, you think. Did the shopkeeper cheat you? He did not, and in a little while you'll be able to prove it with one division. That small puzzle is the doorway to a large and very examinable topic: where does a computer keep its data when the power is off, and how fast can it get it back?
Everything in this chapter is secondary storage: the slow, large, permanent memory that sits beneath RAM. Your NID database lives on it, so does your bank's ledger, so does the photo your cousin sent on WhatsApp. The processor never works on these bytes in place. It asks for them, a device finds them, and they travel up into RAM first. So two things about every storage device matter to us: how much it holds, and how long it takes to answer.
By the end of the chapter you'll be able to work out a disk's capacity from its geometry and say why a "1 TB" drive shows as 931 GB. You'll compute the access time of a hard disk from its rpm and seek time, and explain why reading scattered blocks is hundreds of times slower than reading them side by side.
You'll explain how an SSD keeps a bit in a floating-gate cell, why it must erase before it writes, and what garbage collection, wear levelling and TRIM do about it. You'll compare SATA, SAS and NVMe with real bandwidth sums, describe how a laser reads a CD, a DVD and a Blu-ray disc, and say where tape, pen drives, memory cards and the cloud fit.