AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Inside the computer’s brain

Week 25 · 4.1–4.2 Computer architectures and types of software · 3 lessons
1

Memory beside the CPU

Computing 8: Topics 4.1–4.2, pp. 255–267
GoalDescribe primary memory and compare RAM and ROM.
New words
CPU · central processing unit: the part of a computer that processes dataprimary memory · memory that the CPU can reach directly; it is RAM and ROMvolatile · loses its data when the power is turned offnon-volatile · keeps its data when the power is turned off
Explanation

The CPU is the part of a computer that processes data. It cannot wait for slow storage, so it reads and writes its data in primary memory, which is joined to it by wires. Primary memory comes in two kinds. RAM is random access memory. It stores the data and programs that are in use right now, and its contents change all the time. RAM is volatile, which means that its data is lost when the power goes off. ROM is read-only memory. It permanently stores the instructions that start the computer, called the boot-up instructions. These do not normally change. ROM is non-volatile, so its data stays when the power is off.

Worked examples
RAMROM
Storesdata and programs in use nowboot-up instructions
How long?temporarypermanent
Power off?data is lost (volatile)data stays (non-volatile)
Changes?all the timenot normally
Think of RAM as a whiteboard and ROM as a printed instruction card. The whiteboard holds what you are working on now, and you rub it clean when you finish. The card keeps the same words every day, even when the room is dark.
Ali is typing a story but has not saved it. The power goes off. The story is in RAM, so it is lost. When the power returns, the computer starts again using its boot-up instructions in ROM. Ali learns to save often to storage, which keeps data without power.
VolatileRAM: your open worktemporaryNon-volatileROM: start-up stepspermanent
Which memory is it? This picture sorts facts into volatile and non-volatile memory.
Class activity

Memory model (no computer). Take a sheet of paper and a pencil: the paper is the CPU’s desk, a small whiteboard or the back of a card is RAM, and a printed card with five start-up steps (“1. check the screen, 2. check the keyboard…”) is ROM. Act out “turning the power on”: read the steps from ROM, then write a short sum on the RAM board and let the CPU work it out. Switch the “power off” by wiping the board. What is gone? What is left? Explain which part is volatile. Do not open a real computer or touch any parts.

Practice
1
A phone is switched off and on. Which memory still holds its start-up instructions, and which loses the pictures it was showing on the screen?
MemoryKeeps data when power is off?
RAM?
ROM?
2
Give two differences between RAM and ROM.
3
Why does the CPU use primary memory and not wait for data from somewhere far away?
4
Write RAM or ROM: (a) holds the program running now; (b) holds the boot-up instructions; (c) its contents are lost when the power goes off; (d) its contents do not normally change.