Memory and storage
RAM, ROM, cache and virtual memory, then magnetic, optical, solid-state and cloud storage and how to choose between them.
Watch the lesson
Every point below, worked through in one video, and each point links straight to its own part.
Learn
Memory and storage, explained point by point
Everything the GCSE specification expects you to be able to do, and how to actually do it - the same lesson a signed-in student studies from.
Explain why a computer needs primary storage, and the difference between RAM and ROM
Primary storage is the memory the CPU can reach directly. RAM (random access memory) holds the programs and data in use right now. It is volatile, so it is wiped when the power goes off, and it can be read and written. ROM (read-only memory) holds the instructions needed to start the computer. It is non-volatile and cannot normally be changed. Opening more programs fills more RAM; nothing you open changes the ROM.
Explain what cache memory is forOCR, AQA and Eduqas only
Cache is a small amount of very fast memory in or next to the CPU. It keeps copies of the instructions and data used most often, so the CPU does not have to wait for them to come from RAM, which is slower. It is far smaller and more expensive per byte than RAM. Eduqas also expects you to know that cache comes in levels and that flash memory is a non-volatile store used in solid-state drives and memory cards.
Explain why virtual memory is needed and how it worksOCR and Eduqas only
When RAM is full, the operating system borrows part of secondary storage and treats it as extra memory. Data that is not being used at this moment is moved out to that space, and moved back into RAM when it is needed again. This lets more programs stay open than RAM alone could hold, but it is slow, because secondary storage is much slower than RAM. A computer that relies on virtual memory a lot is a computer that would benefit from more RAM. OCR and Eduqas examine virtual memory.
Explain why secondary storage is needed and how magnetic, optical and solid-state storage work
Secondary storage keeps programs and files when the power is off, because it is non-volatile. Magnetic storage, such as a hard disk drive, stores data as magnetised dots on spinning platters and reads them with a moving head. Optical storage, such as a DVD or Blu-ray disc, is read by a laser reflecting off the surface. Solid-state storage, such as an SSD or a USB memory stick, holds data as electrical charge in flash memory, with no moving parts. AQA now examines solid-state and magnetic storage only.
Choose the right storage for a job by comparing capacity, speed, portability, durability, reliability and cost
Exam questions give a situation and ask which storage suits it. Compare on the six characteristics. Solid state is fast, light and survives being dropped, but costs more per gigabyte. Magnetic disks hold a lot for little money, but their moving parts make them slower and easier to damage. Optical discs are cheap and easy to hand out, but hold little and scratch. Always tie the choice to the situation: a helmet camera needs storage that copes with knocks, so solid state.
Describe cloud storage and its advantages and disadvantagesOCR, AQA and Eduqas only
Cloud storage keeps files on servers at another site, reached over the internet. The files can be opened from any device, they are backed up by the provider, and you can pay for more space when you need it. In return you need an internet connection, you rely on the provider to keep the data secure and available, and there may be a monthly charge. The servers themselves still use magnetic and solid-state storage. Edexcel does not examine cloud storage.
Memory and storage key terms
The words the specification and the mark schemes use, each defined the way an examiner wants it.
- Primary storage
- Memory that the CPU can access directly, such as RAM, ROM and cache.
- RAM
- Random access memory: volatile memory that holds the programs and data currently in use.
- ROM
- Read-only memory: non-volatile memory that holds the instructions needed to start the computer.
- Volatile
- Describes memory that loses its contents when the power is turned off.
- Cache
- A small amount of very fast memory close to the CPU that holds frequently used instructions and data.
- Virtual memory
- Part of secondary storage used as if it were RAM when RAM is full.
- Secondary storage
- Non-volatile storage that keeps programs and files when the computer is switched off.
- Magnetic storage
- Storage that holds data as magnetised areas on a surface, such as the platters of a hard disk drive.
- Optical storage
- Storage that is read by shining a laser onto the surface of a disc, such as a DVD.
- Solid-state storage
- Storage that holds data in flash memory with no moving parts, such as an SSD or a memory card.
- Cloud storage
- Storage on remote servers that is reached over the internet.
Common mistakes in Memory and storage
The slips that cost marks year after year, and what to do instead.
Writing that RAM stores your files
RAM holds what is in use now and is wiped when the power goes off. Files are kept on secondary storage.
Describing virtual memory as extra RAM that makes the computer faster
Virtual memory is space on secondary storage used when RAM is full. It lets more programs stay open, but it is slower than RAM.
Choosing storage without linking it to the situation in the question
Name the characteristic that matters for this user, such as durability for a device that gets dropped, and say why this storage has it.
Saying solid-state storage is better with no reason given
Say what makes it better here: no moving parts, so it is faster and survives knocks. Mention that it costs more per gigabyte.
Practice
Try a Memory and storage question
A GCSE-style original question from this topic. Have a go before you open the working - deciding on an answer first is what makes the working stick.
Answer: RAM can be written to and is volatile; ROM is read-only and non-volatile
RAM is read-write and volatile, holding what is in use; ROM is read-only and non-volatile, holding start-up instructions.
- RAM is written to all the time as programs run.
- RAM is wiped when the power goes off.
- ROM is read-only and keeps its contents.
