Primary storage (memory)
Why primary storage is needed, the differences between RAM and ROM, virtual memory, and cache.
Learning Objectives
- 1Describe the need for primary storage
- 2Describe the purpose and characteristics of RAM
- 3Describe the purpose and characteristics of ROM
- 4Explain the difference between RAM and ROM
- 5Explain why virtual memory is needed and how it works
What primary storage is
Think of it like...
Primary storage is like your desk: it holds what you are working on right now, within easy reach. Secondary storage is like a filing cabinet: much bigger, but slower to fetch things from.
RAM (Random Access Memory)
ROM (Read Only Memory)
| RAM | ROM | |
|---|---|---|
| Volatile? | Volatile | Non-volatile |
| Read/write? | Read and write | Read-only |
| Holds | Programs/data in use | Start-up instructions |
| RAM | ROM | |
|---|---|---|
| Volatile? | Volatile | Non-volatile |
| Read/write? | Read and write | Read-only |
| Holds | Programs and data in use | Start-up (boot) instructions |
Virtual memory
Think of it like...
Virtual memory is like clearing space on your desk by putting some papers back in the filing cabinet, then fetching them again when you need them. It works, but walking to the cabinet takes longer.
Cache
Exam Phrasing: Use These Exact Phrases
- ✓Primary storage is the memory that can be accessed directly by the CPU
- ✓RAM is volatile, so its contents are lost when the power is turned off
- ✓RAM can be read from and written to
- ✓RAM holds the data, programs and operating system currently in use
- ✓ROM is non-volatile, so it keeps its contents when the power is off
- ✓ROM is read-only and holds the start-up (boot) instructions
- ✓Virtual memory is used when the RAM is full (or nearly full)
- ✓Virtual memory moves data not currently in use from RAM to secondary storage
- 💡Learn two key words for each: RAM is volatile and read/write; ROM is non-volatile and read-only.
- 💡"Volatile" means "loses its contents when the power is off". Use that exact idea in your answer.
- 💡When explaining virtual memory, always say it is used when RAM is full (or nearly full) and that data is moved to secondary storage. OCR credits "nearly full" too.
- 💡In virtual memory questions say RAM, not "primary storage", examiners are told not to accept primary storage in place of RAM there.
- 💡Don't say ROM stores the operating system. It stores the start-up instructions that begin loading the OS; the OS itself is loaded into RAM.
Wrong:
ROM stores the operating system
Right:
ROM stores the start-up (boot) instructions; the operating system is loaded into RAM
Why it matters: Mixing up the boot instructions with the full operating system is a very common error.
Wrong:
RAM keeps its contents when the power is off
Right:
RAM is volatile, so it loses its contents when the power is turned off
Why it matters: This confuses RAM with ROM. Volatile means the contents are lost without power.
Wrong:
Virtual memory is a type of RAM chip
Right:
Virtual memory is space on secondary storage used as extra memory when RAM is full
Why it matters: Virtual memory is not physical RAM; it needs secondary storage to work.
Question:
Explain what virtual memory is and why a computer might need to use it. [3]
💡 Attempt this before revealing the answer, practice makes perfect!
Model Answer:
Virtual memory is an area of secondary storage that is used as an extension of RAM. It is needed when the RAM becomes full, for example when many programs are open at once. The operating system moves data that is not currently being used from RAM onto secondary storage to free up space, and moves it back into RAM when it is needed again.
Mark Scheme:
- 1Virtual memory is (an area of) secondary storage used as extra memory / an extension of RAM
- 2It is used when the RAM is full
- 3Data not currently in use is moved from RAM to secondary storage (and back when needed)
Tap a card to flip it. Use the arrow keys to move and space to flip.
Exam-style questions. Have a go, then reveal the mark scheme to check your answer.
1.State what is meant by volatile memory.
[1]2.State one difference between RAM and ROM.
[1]3.Describe the purpose of ROM in a computer.
[2]4.Explain why a computer uses virtual memory.
[3]5.Compare RAM and ROM.
[4]6.Discuss why a computer needs both RAM and ROM, and explain what happens when the RAM becomes full.
[8]Extended response · marked in levels, not by counting points
The examiners' reports are the most useful and least read of the three: they say what candidates actually got wrong each year. All files are hosted by OCR.
Past-paper questions grouped by topic
The same OCR questions, sorted by topic rather than by year (via Physics & Maths Tutor).
Stronger answers on virtual memory recognised that it is used when a system is short of RAM, and crucially that it relies on secondary storage. Examiners credited the point that a device with no secondary storage cannot use virtual memory.
When ROM came up, examiners credited answers identifying that it stores the start-up instructions (or firmware) that run when the computer is switched on, rather than describing it as storing the whole operating system.