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.
3.8 Path
Mistakes
Stats
Bookmarks
Book Notes
Knowledge Vault
Add entry
Entries
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.
By the end of 3.8 you can…
| Objective | Why it matters |
|---|---|
| Explain what virtual memory is and why it is needed | s24 — 1 mark; s25 Q7c — 3 marks. Needed when RAM is full, to stop the computer crashing. |
| Describe how virtual memory is created | s23 Q13b — 5-mark fill-in, marked in exact order. Must say "secondary storage is partitioned". |
| Explain the page-swapping process step by step | s23 Q10 — 4-mark scenario. Pages moved between RAM and virtual memory as needed. |
| State the trade-off of virtual memory | Every paper: it is "slower than RAM" because secondary storage has slower access times. |
| Define cloud storage precisely | s23/s24: data stored on a third party's servers, accessed via the internet. |
| Give advantages and disadvantages of cloud storage | w23 Q6b — 4 marks (advantages); Q6c — disadvantages. Each needs a justified reason. |
Cambridge-approved terms
A partitioned section of secondary storage used as an extension to RAM when RAM is full.
A fixed-size block of data moved between RAM and virtual memory.
Moving pages not currently needed out to virtual memory, and bringing them back when needed.
Data stored on a third party's servers and accessed over the internet, from any connected device.
The large facility of servers where a cloud provider physically stores customers' data.
Storage on your own device or premises — the alternative to cloud storage.
Part A · Virtual memory
| Step | What happens |
|---|---|
| 1 | When RAM becomes full, the computer needs more space to keep running. |
| 2 | A section of secondary storage is partitioned to act as virtual memory. |
| 3 | Data in RAM not immediately needed is moved out in fixed-size pages. |
| 4 | When a page is needed again, it is swapped back into RAM (another page may be moved out to make room). |
| 5 | This is slower than RAM because secondary storage has slower access times. |
Part B · Cloud storage
| Advantages | Disadvantages | |
|---|---|---|
| Access | Access files from any device, anywhere with internet | No access without an internet connection |
| Cost / upkeep | No need to buy or maintain your own servers | Ongoing subscription cost; you rely on the provider |
| Safety | Provider handles backups; data survives local device failure | You must trust a third party with your data's security/privacy |
Traps that cost marks every session
s25 examiner report: for virtual memory you must say "secondary storage is partitioned". Vague answers score 0.
It's part of secondary storage acting as RAM — and it's slower because of slower access times.
Data is moved in fixed-size blocks called pages. Name them.
w23 tick-box trap: cloud storage is on a third party's servers, accessed via the internet — not locally.
Each cloud advantage needs a justified reason (e.g. "access from anywhere because it's internet-based").
The main cloud disadvantage: no internet, no access — always worth stating.
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.
✅ 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
Press Swap to see pages move between RAM and VM.
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.
| Advantages | Disadvantages | |
|---|---|---|
| Cloud | Access anywhere with internet; no hardware to maintain; scales up easily; automatic backups; collaboration | Needs internet; security/privacy risks; ongoing costs; dependent on provider; slower than local |
| Local | Fast access; no internet needed; full control; one-time cost; no third-party risk | Hardware failure risk; limited capacity; not accessible remotely; user must manage backups |
Quick check
Virtual memory is created on:
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
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.