Week 6 · Unit 3: Selecting hardware and software · 3 lessons
2
Desk and cupboard
Computing 6: Unit 3, pp. 40–51
GoalExplain the roles of primary and secondary storage and say what kinds of secondary storage devices there are.
New words
primary storage · the fast memory that holds the programs and data being used right nowsecondary storage · storage that keeps data for a long time, even when the power is offSSD · a solid state drive, storage with no moving partsHDD · a hard disk drive, storage with a spinning disk inside
Explanation
A computer has two kinds of storage. Primary storage is its memory. It holds the programs and data that are being used right now, and the processor can reach it very quickly. It is temporary, so everything in it is lost when the power goes off. Secondary storage keeps files and programs for a long time. It keeps its data when the power is off, but it is slower and it is much bigger. A hard disk drive has a spinning disk inside. A solid state drive, a USB drive and a memory card have no moving parts. Think of primary storage as a desk and secondary storage as a cupboard. You work at the desk, and you keep your things in the cupboard.
secondary storage (the cupboard)→primary storage (the desk)→processor (you)
Worked examples
Primary storage
Secondary storage
job
holds what is being used now
keeps files and programs for later
power off
data is lost
data is kept
speed
very fast
slower
size
smaller
much bigger
examples
the computer’s memory
hard disk, solid state drive, USB drive, memory card
This table compares the two kinds of storage.
Lola opens a drawing program. The computer copies the program from secondary storage into primary storage, and the processor runs it. When Lola saves her picture, the picture is written into secondary storage. If the power fails before she saves, the picture is lost, because it was only in primary storage.
Phones and tablets are carried about and sometimes dropped. They usually use a solid state drive or a memory card, because these have no moving parts, are light and use little power. A hard disk drive has a spinning disk, so it is bigger and can be damaged by knocks.
Class activity
Desk and cupboard (no computer): clear a small table, which is the desk, and use a shelf or a box as the cupboard. Put six picture cards, two books and a game in the cupboard. An adult says ‘Open the drawing program’. You fetch the drawing card from the cupboard and put it on the desk. Then say ‘open a game’. Fetch the game, but the desk only has room for three things, so put one back. Finally the adult says ‘power cut’ and sweeps the desk. Which things are lost and which are safe? What should you have done before the power cut? If you have a computer or tablet, find out how much secondary storage it has.
Practice
1
Amir types a story but the power goes off before he saves it. Is the story lost? Explain.
Yes. Until he saves it, the story is only in primary storage, which is temporary. Secondary storage keeps data only if the story is saved there.
2
Complete the path. When Mia opens a game, it is copied from one kind of storage to another before the processor runs it.
secondary storage→?→processor
The missing part is primary storage. The game is copied from secondary storage into primary storage.
3
Give two reasons why a computer has both primary and secondary storage.
Primary storage is fast, so the processor can use it quickly for the programs that are running. Secondary storage keeps files when the power is off and is much bigger. Each kind does a job that the other cannot do as well.
4
Name two kinds of secondary storage that you can carry in a pocket.
For example a USB drive and a memory card. A small external solid state drive also fits in a pocket.