StudyVault
Home Unit Overview Exam Technique Revision Techniques ← Previous Lesson Next Lesson →

← Back to Dashboard

Overlay:
0:00 / 0:00 Narration generated using AI text-to-speech.

Memory and Storage

Primary and Secondary Storage

Computers use two broad categories of storage. Primary storage is directly accessible by the CPU and is used for data and instructions the computer is currently working with. Secondary storage is separate from main memory and holds data long-term, even when the power is off. The CPU cannot access secondary storage directly — data must first be loaded into primary storage before the CPU can process it.

Key Fact

The four types of primary storage are: RAM (main working memory, volatile), ROM (startup instructions, non-volatile), cache (fast small memory on or near the CPU) and registers (the fastest storage, inside the CPU itself). RAM and ROM are the two you will be asked to compare most often.

Volatile and Non-Volatile Memory

A critical distinction in storage is whether memory retains its contents without power. Volatile memory is erased when power is cut. Non-volatile memory keeps its contents without power. RAM is volatile; ROM is non-volatile. This is why unsaved work is lost in a power cut — it exists only in volatile RAM.

RAM — Random Access Memory

RAM is the computer’s main working memory. When you open an application, the operating system copies it from secondary storage into RAM so the CPU can access it quickly. RAM is much faster than any form of secondary storage but loses everything when the computer is switched off.

The amount of RAM affects how many programs can be open at once without slowing down. A computer with more RAM can hold more data in quick-access memory, reducing the need to fetch from slower secondary storage. Modern computers typically have between 8 and 64 GB of RAM.

ROM — Read Only Memory

ROM stores the firmware instructions that run when the computer first powers on. These instructions initialise the hardware and begin loading the operating system from secondary storage into RAM. ROM is non-volatile and read-only in normal use, so its contents cannot be accidentally overwritten.

ROM is much smaller than RAM — it needs to hold only the minimal startup code, not entire programs. A computer’s ROM might contain just a few megabytes, whereas RAM is measured in gigabytes.

RAM: Volatile (loses contents without power)  |  Read and write  |  Stores currently running programs and data  |  Typically 8–64 GB in modern systems  |  Contents change constantly during use.

ROM: Non-volatile (retains contents without power)  |  Read-only in normal use  |  Stores startup firmware/boot instructions  |  Very small (typically a few MB)  |  Contents are fixed at manufacture.

Why Is Secondary Storage Needed?

Secondary storage is essential because RAM is volatile — switch the computer off and all RAM contents are gone. Secondary storage provides three things that primary storage cannot: persistence (files survive when power is off), capacity (far more data can be stored, measured in terabytes) and portability (storage devices can be moved between computers).

Every file you save, every application installed, and the operating system itself live on secondary storage. When you open a file, it is copied from secondary storage into RAM. When you save, it is written back from RAM to secondary storage.

Key Fact

Secondary storage is needed for three reasons: capacity (far more data than RAM can hold), persistence (data is retained without power) and portability (storage devices can be transported and used in other systems). RAM is fast but temporary; secondary storage is slower but permanent.

Types of Secondary Storage

Magnetic storage uses magnetic fields to encode data on a surface. Hard disk drives (HDDs) store data on rapidly spinning metal platters coated with a magnetic material. A read/write head moves across the spinning surface to access or record data. Magnetic tape is an older form used for archival backup — sequential access makes it slow to retrieve specific files but it can store very large amounts at low cost.

Solid-state storage (SSD) stores data in electronic memory chips with no moving parts. Because nothing physically moves, SSDs are faster, quieter, lighter and more shock-resistant than HDDs. However, SSDs cost more per gigabyte of capacity. Smartphones, tablets and modern laptops commonly use SSDs.

SSD advantages: Faster access times (no moving parts to position), silent, uses less power, more durable (resistant to physical shock), lighter and more compact.

SSD disadvantages: More expensive per GB, capacity per pound spent is lower than HDD, limited write cycles (though this is not a practical issue for typical usage).

HDD advantages: Lower cost per GB, available in very large capacities (multiple TB), widely available.

HDD disadvantages: Slower access (mechanical parts must physically move to the right position), produces heat and noise, vulnerable to physical shock (head crash), heavier and larger.

Cloud Storage

Cloud storage means storing files on servers owned and managed by a third party, accessed over the internet. Services such as these are used by millions of people and businesses to back up files, share data across devices and collaborate remotely.

Advantages of cloud storage: Files are accessible from any device with internet access, data is backed up automatically (protection against local hardware failure), easy to share files with others, and no physical hardware to manage or replace.

Disadvantages of cloud storage: Requires an internet connection to access files, dependent on the service provider remaining operational, raises privacy concerns (data is held by a third party), and ongoing subscription costs can be higher long-term than purchasing local storage. Access can be slower than local storage if internet speeds are limited.

Practice Questions

Test yourself on this lesson. Pick a question, write your answer, then get it marked.

AI feedback
AI feedback is guidance, not a final exam mark. If you disagree, your teacher's view is always the tie-breaker.
← Back to unit
Video

© 2026 StudyVault · About · FAQ · Copyright & IP · Privacy · Disclaimers

StudyVault Education Ltd · registered in England and Wales, company no. 17490559 · 71–75 Shelton Street, London WC2H 9JQ