Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0478

Explain virtual memory

Describe how storage pages can act as virtual memory when RAM is insufficient and why this is slower than RAM.

Cambridge IGCSE Computer Science 0478 · Hardware · 2026–2028 Version 6 · 3.3

This sequence follows Cambridge IGCSE Computer Science 0478, 2026–2028 syllabus Version 6. It covers subject content sections 3.1–3.3 only. The separately published 2029–2031 syllabus is not mapped here. Practice is original, self-checked and does not award an official Cambridge grade. Full timed papers and human subject-teacher review remain outstanding.

Before you begin

  • No programming language is required. Be comfortable with place value and multiplication; each lesson introduces the computer-science notation it uses.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

Which is normally faster for active CPU access: RAM or secondary storage?

What you will learn

  • Explain why a computer uses virtual memory
  • Describe pages moving between RAM and secondary storage
  • Explain the performance cost of using virtual memory

Virtual memory extends working space using storage

When RAM is insufficient for active data, the operating system can use part of secondary storage as virtual memory. It transfers pages of data between RAM and the virtual-memory area when needed.

Apply and check the rule

This lets a computer keep more active program data available than physical RAM alone can hold, but secondary storage is slower than RAM. Frequent page transfers can make the computer respond slowly; virtual memory is not a physical upgrade to RAM.

Pause and explain

What is one likely cost when a computer relies heavily on virtual memory?

Put the idea to work

Worked example

Several applications need more memory than the computer has available in RAM. What may the operating system do?

Show the worked solution
  1. Use part of secondary storage as virtual memory.
  2. Move pages between RAM and that area as needed.
  3. Expect slower access when data must be fetched from secondary storage.

Answer Transfer pages between RAM and virtual memory on secondary storage, allowing more active data at a speed cost.

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

Why might an operating system move a page from RAM to virtual memory?

Give me a hint

Consider the limit on physical working memory.

Compare my reasoning
  1. RAM may be full of active data.
  2. The system can move a less-needed page to secondary storage.
  3. It can free RAM for data needed more immediately.

To free RAM when active data exceeds the available primary storage.

Look for these in your work

  • RAM limit recognized
  • Page moved to secondary storage
  • Purpose explained
2 · Independent

Explain why accessing a page from virtual memory can be slower than using it from RAM.

Give me a hint

Compare the underlying media.

Compare my reasoning
  1. Virtual-memory pages are held on secondary storage.
  2. Secondary storage has slower access than RAM.
  3. Moving pages takes time.

The page must be transferred from slower secondary storage into RAM before the CPU can use it efficiently.

Look for these in your work

  • Storage location
  • Speed comparison
  • Transfer cost
3 · Transfer

A laptop slows dramatically when many large applications are open. Explain how virtual memory may help and why it may not feel like adding more RAM.

Give me a hint

State the capacity benefit and the storage speed limitation.

Compare my reasoning
  1. Virtual memory can hold pages on secondary storage when RAM is insufficient.
  2. It can keep more active program data available by moving pages as needed.
  3. Secondary storage is slower, so frequent transfers can make response times worse than with more physical RAM.

Virtual memory provides extra working space by moving pages between RAM and secondary storage, but disk/flash access is slower than RAM. It can prevent immediate failure, not match the speed of more RAM.

Look for these in your work

  • Why it helps
  • Page movement described
  • Performance limitation

Common mistakes

  • Calling virtual memory faster than RAM
  • Saying virtual memory permanently increases physical RAM capacity
Recall without your notes

What can you explain now?

Where are pages stored when moved out of RAM for virtual memory?

Compare with the explanation

On secondary storage

Virtual memory uses secondary storage to hold pages not currently in RAM.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

What is virtual memory, and why is it slower than physical RAM?

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Computer Science

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 6 syllabus, with worked explanations and guided, independent and transfer practice. This is mapped teaching coverage, not proof of full exam readiness. Three earlier starter lessons remain available but are not counted as syllabus-mapped teaching. Practical programming experience in an executable browser workspace, full timed-paper practice, human subject-teacher review and the separate 2029–2031 syllabus remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.