75 exam-style questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and past-paper booklets are open to everyone. Practice needs a free account.
Or take a quick quiz: 11 questions on this subtopic in GCSE Computer Science (Edexcel), marked as you tap.
Why a computer needs both main memory (RAM) and secondary storage, how magnetic, optical and solid-state devices store data, and how to choose the right storage for a situation. Paper 1 questions range from 1-mark definitions to 4-mark 'Explain two reasons' questions and 6-mark 'Discuss' questions set in a context.
Key facts
Volatile: loses its contents when the power is off (RAM)
Non-volatile: keeps its contents without power (all secondary storage)
RAM: fast, smaller capacity, expensive per GiB, holds what is in use now
Magnetic: spinning platters + read/write head; areas magnetised in two directions = 1 or 0
Optical: laser + spiral track of pits and lands; changes in reflected light = 1 or 0
Solid state: flash memory cells trap electrical charge = 1 or 0; no moving parts
SSD vs HDD: SSD faster, tougher, quieter, lower power; HDD cheaper per GiB
Main memory (RAM) holds the operating system, programs and data in use now. The CPU fetches from it directly.
RAM is volatile: its contents are lost when the power is turned off. It is fast but expensive per GiB, so a computer has far less RAM than secondary storage.
Secondary storage is non-volatile: it keeps data without power. It holds the operating system, programs and files permanently.
Opening a file copies it from secondary storage into RAM; saving copies it back.
The CPU only works with main memory. Files move between RAM and secondary storage when you open and save them
Secondary storage is much slower than RAM, but it has a much larger capacity and is cheaper per GiB.
Magnetic storage (hard disk drive)
diagram
Data is stored on platters coated in magnetic material, which spin at high speed.
A read/write head on a moving arm magnetises tiny areas of the surface in one of two directions, which represent 1 and 0. To read, the head detects the direction of each area.
Inside a hard disk drive: the head magnetises tiny areas of the spinning platter in one of two directions
Large capacity and low cost per GiB, but the moving parts make it slower, noisier and easier to damage if it is knocked.
Optical storage (CD, DVD, Blu-ray)
diagram
Data is stored as pits and lands along a spiral track on the disc.
A laser shines on the spinning disc. Pits and lands reflect the light differently, and a sensor turns the changes in reflected light into 1s and 0s.
Pits and lands reflect the laser differently; the sensor reads the changes as binary
Discs are cheap and portable, but have a low capacity, are slow and can be scratched. A Blu-ray disc holds more than a DVD, which holds more than a CD.
Solid-state storage (SSD, USB flash drive, memory card)
diagram
Uses flash memory: millions of tiny cells that can trap an electrical charge. A charged or uncharged cell represents 1 or 0.
Each flash cell either traps a charge or does not: the two states represent 1 and 0
The charge stays when the power is off, so it is non-volatile. There are no moving parts: data is read and written electronically.
Very fast, robust, silent, light and low power, but more expensive per GiB, and each cell can only be rewritten a limited number of times.
Choosing storage
Compare capacity, speed, portability, durability, reliability and cost per GiB.
Always link a feature to the user's need. For example, a laptop that is carried around needs storage with no moving parts.
How to answer each type of question
Describe how data is stored on a device
3 to 4 marksGrade 6
Name the technology: magnetised areas, pits and lands, or flash memory cells.
Say what represents 1 and 0.
Say how the data is read (head, laser and sensor, or electronically).
Add a feature such as moving parts or non-volatility if there are marks left.
Example. Describe how data is stored on a solid-state drive (SSD). (3)
Show the model answerHide the model answer
Any three from: an SSD uses flash memory made of millions of tiny cells (1); each cell can trap an electrical charge or have no charge (1); charged and uncharged cells represent 1 and 0 (1); the charge stays when the power is off, so the data is kept (non-volatile) (1); data is read and written electronically, with no moving parts (1).
Explain why a computer needs both RAM and secondary storage
2 marksGrade 4
Say that RAM is volatile, so its contents are lost when the power is off.
Link it: secondary storage is non-volatile, so it keeps the operating system, programs and files permanently.
Example. Explain why a computer needs secondary storage as well as main memory. (2)
Show the model answerHide the model answer
Main memory (RAM) is volatile, so everything in it is lost when the computer is switched off (1). Secondary storage is non-volatile, so the operating system, programs and files are kept permanently and can be loaded again next time (1).
Explain why a type of storage suits a situation
2 to 4 marksGrade 6
Pick a feature of the storage that matters in this situation.
Link it with 'so' to an effect for this particular user.
For 'two reasons', repeat with a different feature.
Example. A delivery driver uses a handheld device to record deliveries. The device uses solid-state storage. Explain two reasons why solid-state storage is suitable for this device. (4)
Show the model answerHide the model answer
It has no moving parts (1), so it will not be damaged if the device is dropped or shaken in the van (1). It uses very little power (1), so the battery lasts for the driver's whole working day
(1).
Also accept: small and light (1), so the device is easy to carry
(1).
Calculate how many storage devices are needed
2 marksGrade 6
Convert everything to the same unit (1 TiB = 1024 GiB).
Divide the amount of data by the capacity of one device.
Round up to a whole number of devices.
Example. A photographer has 1.5 TiB of photos. Each disc she buys can store 100 GiB. Calculate the number of discs needed to store all the photos. (2)
Show the model answerHide the model answer
1.5 × 1024 = 1536 GiB
(1)
1536 ÷ 100 = 15.36, so 16 discs
(1)
6-mark 'Discuss': choosing storage
6 marksGrade 8
Cover the options in the question, with advantages and disadvantages of each.
Link every point to the scenario (who uses it, where, what data, what budget).
Finish with a justified conclusion. The answer is marked by levels, so quality and balance count, not just the number of points.
Example. A design company is buying laptops for its staff. Staff travel to meet clients and open very large design files during meetings. The company has a limited budget. Discuss whether the laptops should use magnetic or solid-state storage. (6)
Show the model answerHide the model answer
Solid-state storage has no moving parts, so it is less likely to be damaged when the laptops are carried to meetings. It has much faster access times, so the laptops start quickly and large design files open without a delay in front of a client. It also uses less power and is lighter, so the battery lasts longer and the laptops are easier to carry. However, solid-state storage costs more per GiB, so with a limited budget each laptop may have a smaller capacity, which matters because the design files are large. A magnetic hard disk would give more capacity for the money, but its spinning platters and moving head make it slower and easier to damage when travelling. Overall, solid-state storage is the better choice because the laptops are portable and speed matters when presenting; older projects could be kept on cheaper magnetic storage in the office.
(Top level, 5 to 6 marks: points about both options, each explained and linked to the staff's needs, with a justified conclusion.)
Don’t lose marks
Calling RAM 'storage' or calling the hard disk 'memory'. Keep main memory and secondary storage separate.
Saying an SSD uses magnets or a laser, or that a hard disk is read by a laser.
Writing 'cheaper' or 'faster' without saying what it is compared with, e.g. 'cheaper per GiB than an SSD'.
Rounding down when working out how many discs or drives are needed.
Using 1000 instead of 1024 when converting between TiB, GiB and MiB.
Giving a feature with no link to the scenario, e.g. 'SSDs are fast' with no reason why speed matters here.
More tips
Memory tricks
Magnetic = magnets and moving parts. Optical = light from a laser. Solid state = stored charge, no moving parts.
Volatile sounds like 'vanish': switch off and the data vanishes.
When counting discs or drives, always round up: 15.36 discs means 16 discs.
Every 'explain why it is suitable' point = feature + 'so' + effect for this user.
Exam technique
'Explain two reasons' for 4 marks means two features, each with a linked consequence.
Read the context carefully: a portable device, a large archive, sending copies to customers and a tight budget all point to different answers.
In a 6-mark 'Discuss', cover advantages and disadvantages of more than one option and finish with a justified conclusion.
Be specific: 'no moving parts, so it will not be damaged if dropped' earns more than 'more durable'.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 3
Define volatile and non-volatileVolatile memory (RAM) loses its contents when the power is off; non-volatile storage keeps them.
Grade 3
Give examples of each type of storageMagnetic: hard disk drive; optical: CD, DVD, Blu-ray; solid state: SSD, USB flash drive, memory card.
Grade 4
Explain why secondary storage is neededRAM is volatile, so the operating system, programs and files must be kept permanently on non-volatile storage.
Grade 5
Describe how magnetic and optical storage workMagnetised areas on spinning platters read by a moving head; pits and lands on a disc read by a laser.
Grade 6
Describe how solid-state storage worksFlash memory cells trap an electrical charge (or not) to store 1s and 0s, with no moving parts.
Grade 6
Compare storage by capacity, speed, cost, durabilityFor example, an SSD is faster and tougher than a hard disk drive but costs more per GiB.
Grade 8
Justify a storage choice for a scenarioWeigh the user's needs against the features of each type of storage and reach a reasoned conclusion.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
Define the term 'volatile memory'.
Memory that loses its data when the power is off.
Give two things that are held in RAM while a computer is switched on.
The operating system, running programs and the data they are using.
Give one reason why optical discs are used less often today than in the past.
Most content is now downloaded or streamed, and many devices have no optical drive.
State the number of bytes in one kibibyte (1 KiB).
1024 bytes
State what the letters RAM stand for.
Random access memory
Write these units in order of size, starting with the smallest: GiB, KiB, TiB, MiB
KiB, MiB, GiB, TiB
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy3 marks
(a) Define the term 'volatile memory'.
[1]
(b) Identify the type of storage that has no moving parts.
[1]
Magnetic hard disk drive
Solid-state drive
Optical disc drive
Magnetic tape drive
(c) Give one example of an optical storage medium.
[1]
Show the answer and mark scheme
(a)Answer: Memory that loses its data when the power is off.
memory that loses its contents when the power is turned off
(b)Answer: Solid-state drive
(c)Answer: A DVD
CD / DVD / Blu-ray disc
Question 2Medium4 marks
Describe how data is stored on a magnetic hard disk drive.
[4]
Show the answer and mark scheme
Answer: Spinning magnetic platters; a moving head magnetises tiny areas in one of two directions for 1 and 0, and detects them to read.
the drive contains platters coated with a magnetic material
the platters spin at high speed
a read/write head on a moving arm moves across the surface of the platter
tiny areas of the surface are magnetised in one of two directions (polarities)
the two directions represent 1 and 0
to read data, the head detects the direction of magnetisation
Question 3Hard5 marks
Maya’s laptop has 8 GiB of RAM and a 1 TiB solid-state drive (SSD).
(a) Explain why the laptop needs both RAM and secondary storage.
[4]
(b) Give one reason why the laptop’s RAM is much smaller than its secondary storage.
[1]
Show the answer and mark scheme
(a)Answer: RAM is fast and is where the CPU fetches the running programs and data from, but it is volatile; the non-volatile, much larger SSD keeps everything permanently.
RAM is volatile, so its contents are lost when the laptop is switched off
so secondary storage (which is non-volatile) is needed to keep the operating system, programs and files permanently
the CPU can only fetch instructions and data directly from RAM, so programs must be copied from secondary storage into RAM before they can run
RAM is much faster to access than secondary storage, so the CPU spends less time waiting
secondary storage has a much larger capacity (and is cheaper per GiB), so it can hold all of Maya’s files and programs, not just the ones in use
(b)Answer: RAM is much more expensive per GiB, and it only needs to hold the programs and data currently in use.
RAM costs much more per GiB than secondary storage / RAM only needs to hold the programs and data that are currently in use