Fetch, Decode, Execute A song about CPU, memory and storage
Sing it back
Can you finish the lyrics?
Eight quick questions on “Fetch, Decode, Execute”. No music, just your memory. Then share your score and challenge a friend.
CPU, memory and storage in one paragraph
The CPU (central processing unit) is the processor that runs a computer’s programs by repeating the fetch-decode-execute cycle billions of times a second. RAM is fast, temporary memory that holds the programs and data in use and is wiped when the power goes off, while storage such as an SSD or hard drive keeps files even when the computer is switched off. Underneath, all instructions and data are stored in binary, as ones and zeros.
Key facts from the song
- The CPU repeats the fetch-decode-execute cycle: fetch an instruction from memory, decode it, then carry it out.
- Clock speed is measured in gigahertz (GHz); 3 GHz means 3 billion clock cycles per second.
- RAM is fast, volatile memory: it holds what is running now and loses its contents when the power is off.
- Storage such as an SSD or hard drive is non-volatile, so files stay saved; everything is stored in binary.
Where it fits in your course
- GCSE
- GCSE Computer Science: Computer systems
- England
- KS3
Lyrics
Verse 1
The CPU’s the processor, the part that does the thinking
It fetches an instruction out of memory, quick as blinking
It decodes it, then executes it, then the next one’s beckoned
Clock speed’s in gigahertz, that’s billions of ticks a second
Chorus
Fetch, decode, execute, round and round the cycle goes
RAM is quick but temporary: power off, it’s gone, you know
Storage, like an SSD, keeps your files saved for good
And underneath it all is binary, ones and zeros, understood
Verse 2
RAM holds the programs and the data that you’re using right now
It’s super fast, but volatile: it forgets when the power’s down
Storage is non-volatile, so SSDs and hard drives keep your files
And deep down, every bit is binary, a one or zero all the while
Chorus
Fetch, decode, execute, round and round the cycle goes
RAM is quick but temporary: power off, it’s gone, you know
Storage, like an SSD, keeps your files saved for good
And underneath it all is binary, ones and zeros, understood
Outro
Fetch, decode, execute, RAM forgets, storage keeps
Ones and zeros underneath, the cycle runs and repeats
CPU, memory and storage flashcards
Say the answer out loud, then tap the card to check it. Or test yourself quick-fire.
1What does CPU stand for?
Central processing unit.
2What does it mean that RAM is volatile?
It loses its contents when the power goes off.
3What are two examples of storage devices?
An SSD and a hard drive.
4In what form are a computer’s instructions and data stored?
In binary, as ones and zeros.
Questions about CPU, memory and storage
Still wondering about something? Ask us and we’ll reply within two working days.
What is the difference between RAM and storage?
RAM is fast, temporary memory for the programs and data being used right now, and it is cleared when the power goes off. Storage, like an SSD, is slower but keeps files even when the computer is switched off.
What does clock speed mean?
Clock speed is how many cycles the CPU’s clock runs each second, measured in gigahertz. A 3 GHz processor has 3 billion cycles a second, so a higher clock speed usually means faster processing.
What is the fetch-decode-execute cycle?
It is the cycle the CPU repeats for every instruction: it fetches the next instruction from memory, the control unit decodes what it means, and then it is executed, for example by the ALU doing a calculation.