Topic 3 Hardware

3.8 Virtual Memory & Cloud Storage

What happens when RAM is full, how cloud storage works, and the advantages and disadvantages of each — tested every session.

🧪 Cambridge Exam Mode ON — hints hidden, feedback delayed, model answers locked until marking.
Path

3.8 Path

Mistakes

Mistakes

Progress

Stats

0%Accuracy
0Answered
0Streak
Bookmarks

Bookmarks

Book Notes

Book Notes

Title
Note
Knowledge Vault 2.0

Knowledge Vault

Add entry

Category
Confidence
Title
Info

Entries

📚 Book Notes
📖 Learn
🎮 Activities
✎ Practice
📋 Exam
🔄 Review
🏆 Mastery
§1 · Topic overview

What do I need to know before I start?

This lesson covers two connected storage ideas. Virtual memory is a partitioned section of secondary storage that acts as an extension to RAM when RAM is full — data is moved in fixed-size blocks called pages, which is why it's slower than real RAM. Cloud storage is data kept on a third party's servers and accessed over the internet. Cambridge tests the exact virtual-memory sequence, and the advantages and disadvantages of cloud storage, in almost every paper.

§2 · Learning objectives

By the end of 3.8 you can…

ObjectiveWhy it matters
Explain what virtual memory is and why it is neededs24 — 1 mark; s25 Q7c — 3 marks. Needed when RAM is full, to stop the computer crashing.
Describe how virtual memory is createds23 Q13b — 5-mark fill-in, marked in exact order. Must say "secondary storage is partitioned".
Explain the page-swapping process step by steps23 Q10 — 4-mark scenario. Pages moved between RAM and virtual memory as needed.
State the trade-off of virtual memoryEvery paper: it is "slower than RAM" because secondary storage has slower access times.
Define cloud storage preciselys23/s24: data stored on a third party's servers, accessed via the internet.
Give advantages and disadvantages of cloud storagew23 Q6b — 4 marks (advantages); Q6c — disadvantages. Each needs a justified reason.
§3 · Key terminology

Cambridge-approved terms

Virtual memory

A partitioned section of secondary storage used as an extension to RAM when RAM is full.

Page

A fixed-size block of data moved between RAM and virtual memory.

Page swapping

Moving pages not currently needed out to virtual memory, and bringing them back when needed.

Cloud storage

Data stored on a third party's servers and accessed over the internet, from any connected device.

Data centre

The large facility of servers where a cloud provider physically stores customers' data.

Local storage

Storage on your own device or premises — the alternative to cloud storage.

§4 · Core theory

Part A · Virtual memory

StepWhat happens
1When RAM becomes full, the computer needs more space to keep running.
2A section of secondary storage is partitioned to act as virtual memory.
3Data in RAM not immediately needed is moved out in fixed-size pages.
4When a page is needed again, it is swapped back into RAM (another page may be moved out to make room).
5This is slower than RAM because secondary storage has slower access times.

Part B · Cloud storage

AdvantagesDisadvantages
AccessAccess files from any device, anywhere with internetNo access without an internet connection
Cost / upkeepNo need to buy or maintain your own serversOngoing subscription cost; you rely on the provider
SafetyProvider handles backups; data survives local device failureYou must trust a third party with your data's security/privacy
§5 · Common misconceptions

Traps that cost marks every session

❌ "Extra memory is used"

s25 examiner report: for virtual memory you must say "secondary storage is partitioned". Vague answers score 0.

❌ "Virtual memory is just more RAM"

It's part of secondary storage acting as RAM — and it's slower because of slower access times.

❌ Forgetting "pages"

Data is moved in fixed-size blocks called pages. Name them.

❌ "Cloud = stored locally"

w23 tick-box trap: cloud storage is on a third party's servers, accessed via the internet — not locally.

❌ One-word advantages

Each cloud advantage needs a justified reason (e.g. "access from anywhere because it's internet-based").

❌ Ignoring the internet dependency

The main cloud disadvantage: no internet, no access — always worth stating.

§6 · Quick knowledge check

Check yourself — tap to reveal

Answer in your head, then tap to see the model answer. Aim for 5 of 6 before moving to Learn.

1 · What is virtual memory and when is it used?
Tap to reveal
A partitioned section of secondary storage used as an extension to RAM when RAM is full, to stop the computer crashing.
2 · How is virtual memory created? (exact phrase)
Tap to reveal
A section of secondary storage is partitioned to act as virtual memory. "Extra memory is used" scores 0.
3 · What are pages, and what is page swapping?
Tap to reveal
Pages are fixed-size blocks of data. Page swapping moves pages between RAM and virtual memory as they're needed.
4 · Why is virtual memory slower than RAM?
Tap to reveal
Because it uses secondary storage, which has slower access times than RAM.
5 · Define cloud storage.
Tap to reveal
Data stored on a third party's servers and accessed via the internet, from any connected device.
6 · Give one advantage and one disadvantage of cloud storage.
Tap to reveal
Advantage: access from any device with internet / no servers to maintain. Disadvantage: no access without internet / must trust a third party.

✅ Ready for Learn?

Before moving on, make sure you can answer these without notes:

  • What is virtual memory and why is it needed?
  • How is it created — the exact "partitioned" phrase?
  • What are pages and what is page swapping?
  • Why is virtual memory slower than RAM?
  • Define cloud storage and give one advantage and one disadvantage.

Virtual Memory

💾

What is virtual memory?

A section of the hard drive (HDD/SSD) that is partitioned off and used as an extension to RAM when RAM becomes full. Data is organised into pages and swapped between RAM and virtual memory as needed.

How virtual memory works

1. RAM becomes full — too many programs/data to fit.
2. A section of the HDD/SSD is partitioned as virtual memory.
3. Pages of data not immediately needed are moved from RAM to VM.
4. This frees space in RAM for current processing.
5. When the swapped pages are needed again, they are moved back to RAM.
6. Without VM, the computer could crash when RAM is full.

Page swapping animation

RAM
Virtual Memory (HDD)

Press Swap to see pages move between RAM and VM.

⚠ Critical trap: Virtual memory is slower than RAM because it uses the HDD/SSD. Too much swapping (thrashing) slows the computer down. VM is a safety net, not a replacement for RAM. (Jun 2023)
⚠ Trap: Virtual memory is NOT extra RAM. It's a section of the hard drive acting as an extension. Don't say "it adds more RAM." (Jun 2024)

Cloud Storage

☁️

What is cloud storage?

Third-party hardware (servers) accessed via the internet. Data stored remotely — not on your local device. Available anytime, anywhere with internet. Pay a fee for the service.

🏠

Local vs Remote

Local: data stored on hardware you own (HDD, SSD, USB). Remote: data stored on third-party servers accessed via internet (cloud). Cloud = remote.

AdvantagesDisadvantages
CloudAccess anywhere with internet; no hardware to maintain; scales up easily; automatic backups; collaborationNeeds internet; security/privacy risks; ongoing costs; dependent on provider; slower than local
LocalFast access; no internet needed; full control; one-time cost; no third-party riskHardware failure risk; limited capacity; not accessible remotely; user must manage backups
⚠ Trap: Cloud is NOT "in the sky." It's physical servers in data centres owned by a third party. (Jun 2023)
⚠ Trap: Cloud needs internet access. No internet = no access to your data. This is a key disadvantage. (Mar 2025)

Quick check

Virtual memory is created on:

A section of the hard drive (HDD/SSD)
Extra RAM chips
The cloud
ROM

Activity 1 — VM or Cloud?

Press New.

Activity 2 — Advantage or Disadvantage?

Press New.

Activity 3 — Spot the Mistake

Press New.

Adaptive practice

Press New.

Cambridge-style questions

Press New.

Review quiz

Press New.

Exam traps

⚠ 1: VM is on the HDD/SSD — NOT extra RAM. Don't say "adds more RAM." (Jun 2024)
⚠ 2: VM is SLOWER than RAM. Too much swapping = thrashing = slow. (Jun 2023)
⚠ 3: Cloud is physical servers in data centres — NOT "in the sky." (Jun 2023)
⚠ 4: Cloud NEEDS internet. No internet = no access. Key disadvantage. (Mar 2025)
⚠ 5: Cloud = THIRD PARTY. You don't own the servers. Security/privacy risk. (Jun 2024)

Memory triggers

🧠 "VM = Vacancy Manager"

When RAM has no vacancy, VM creates temporary space on the HDD. Like an overflow car park.

🧠 "Cloud = Someone else's computer"

Cloud storage is just someone else's computer (server) that you access via internet. Third party = not yours.

🧠 "Pages = parcels"

Data is packaged into pages, like parcels. Parcels move between RAM and VM as needed.

Mastery Map

Checkpoints

[ ] Define virtual memory
[ ] VM = HDD section, NOT extra RAM
[ ] Pages swapped when RAM full
[ ] VM slower than RAM (thrashing)
[ ] Without VM = crash risk
[ ] Define cloud storage
[ ] Local vs remote
[ ] Cloud advantages (3+)
[ ] Cloud disadvantages (3+)
[ ] Cambridge exam confidence
Developer Panel