Library › Computer Science 0478 › Data Storage
O Level · Computer Science 0478

Data Storage

Revise Data Storage for Computer Science 0478 (O Level) — revision notes and instant AI marking.

📖 Revision notes · preview
CIE IGCSE · Computer Science 0478

Data Storage

Computers need fast, temporary memory (primary storage) to work with data right now, and slow, permanent memory (secondary storage) to keep it long-term — everything else in this chapter is just different flavours of that trade-off.

Summary — The Whole Chapter in One Look
  • Primary storage (RAM & ROM) sits directly connected to the CPU — small, fast, expensive.
  • RAM is volatile, read/write, holds data & programs currently in use.
  • ROM is non-volatile, read-only, holds the bootstrap/BIOS start-up instructions.
  • Secondary storage (magnetic, solid-state, optical) is non-volatile, large capacity, slower — used for long-term storage.
  • Virtual memory is a "pretend RAM" area on secondary storage, used when RAM is full — it saves the system from crashing but slows it down.
  • Cloud storage is secondary storage that lives on someone else's remote servers, accessed over the internet.
1. Primary Storage

Why does a computer even need it?

Think of the CPU as a chef cooking a meal. The chef can't run to the supermarket (secondary storage) every time they need an ingredient mid-recipe — that's way too slow. Instead, they keep the ingredients they're actively using on the counter right next to them. That counter is primary storage.

Primary storage is directly connected to the CPU, so access times are dramatically faster than secondary storage. This matters because every single instruction the CPU runs goes through the Fetch-Execute Cycle — and if the CPU had to wait for a slow hard disk every single time, your computer would grind to a halt.

The catch: fast memory is expensive to make, so we can only afford a little of it. That's why RAM is sold in gigabytes (16GB, 32GB) while hard drives are sold in terabytes (1000s of GB).

Primary StorageSecondary Storage
Volatile (except ROM)Non-volatile
Small capacityLarge capacity
Very fast accessSlower access
Expensive per GBCheap per GB
Practice Question

Why does a computer need primary storage instead of just using secondary storage for everything?

RAM — Random Access Memory

RAM is the computer's short-term working memory. It holds whatever the CPU is currently using — the open apps, the current file, the parts of the operating system that are running right now.

RAM in 4 words: Volatile · Read/Write · Fast · Large(ish) capacity compared to ROM.

Volatile means: turn the power off, and everything in RAM disappears instantly. That's why you lose unsaved work in a power cut — it was only ever sitting in RAM, never written to a permanent disk.

Before the CPU can use any data or instruction, it has to first be copied from secondary storage into RAM. That's literally what "loading" a program means.

Real-world example A smart TV streaming a show keeps the current video buffer, the volume level, and the running apps in RAM. Turn the TV off and back on, and none of that "current state" survives — it has to reload.
Practice Question

Give two examples of data a smart TV might store in RAM while streaming a video. [2]

ROM — Read Only Memory

first instructions bootstrap BIOS

ROM in 4 words:
2. Secondary Storage

Magnetic Storage

Silent
🔓 Read the full Data Storage note → You're seeing the preview · sign in to read it all
Also in the full note
  • Why does a computer need it?
  • Solid-State (Flash Memory)
  • Optical Storage
What's inside
📖 Revision notes 🎯 Learn mode ✦ AI flashcards ✓ Instant AI marking 🧊 3D explorers 🧪 Experiments & simulations 📈 Progress tracking
📄 Practise Data Storage with Computer Science 0478 past papers Every paper with its mark scheme — answer online, marked instantly. Open →

Read the full Data Storage notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →

More Computer Science topics