GCSE · Computer Science · OCR · Spec J277

Purpose of the CPU

Every program is a long list of instructions. Something has to receive each one and carry it out, again and again. That something is the CPU.

Computer Science · The CPU

Who does which job inside the CPU?

Pick a job, then choose the component that does it.

Still to sort

Control unit (0)

The director

Where the line is: Decoding and directing belong here. It works out what each instruction needs and tells the others, but the sums are not its job.

ALU (arithmetic logic unit) (0)

The calculator

Where the line is: Mathematical and logical operations belong here. Telling the other components what to do does not.

Clock (0)

The timekeeper

Where the line is: Setting the number of cycles per second and keeping components in step belong here. Decoding and calculating do not.

Registers (0)

Tiny, fast memory

Where the line is: Being very small, very fast memory inside the CPU belongs here. Deciding and calculating do not.

8 of 8 still to sort.

Four components, eight jobs. Pick a job first, then pick the component you think does it.

Computer Science · The CPU

Follow two instructions through the CPU

The two instructions below are made up. Watch the same three stages happen twice.

Before you press Next: an instruction is sitting in main memory. What does the CPU have to do with it before it can carry it out?

Phase: Fetch

Main memory

instruction 1, stored as binary

Registers

instruction 1 arrives

Control unit

—

ALU

—

Output

 

Step 1: Fetch. The instruction is fetched from main memory and put into the appropriate registers. Instruction 1 is "add 7 and 5", a made-up example.

1 / 6

Press Next to move through the cycle. A dash only means that box is not part of what this step shows.

Step 1 of 6: Fetch. The instruction is fetched from main memory and put into the appropriate registers. Instruction 1 is "add 7 and 5", a made-up example..

Director or calculator?

Control unitvsALU

Tap a row to reveal the insight behind it.

Focus

Easy way to remember it

Control unit

The director

ALU

The calculator

The insight

Directs versus calculates. If the job is about working out what an instruction needs and telling others, think director. If it is about the sums, think calculator.

What it does with an instruction

Control unit

Decodes it

ALU

Handles the mathematical and logical operations the instruction requires

Given the instruction "add 7 and 5"

Control unit

Works out what the instruction needs and tells the other components

ALU

Works out 7 + 5

Its place in the team

Control unit

Manages the instructions and controls the other components

ALU

One of the other components

Check your thinking

What does the CPU actually do with a program?

A program and its data are on a computer, ready to run. Four pupils describe what happens.

Which one is closest to what you think right now?
How sure are you?

Your turn

Say what the CPU is for

Describe the purpose of the CPU. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

The part that receives instructions and carries them out, with a team of components to help.

What you need to know

  • The CPU (central processing unit) is the core of a computer: it receives and executes instructions.
  • Have a goYour mate says: "The CPU is basically the computer's filing cabinet." Using what you know about its job, fix that sentence.

    The CPU is the core of the computer: it receives and executes instructions.

    A filing cabinet keeps things. The CPU's job is to receive instructions and carry them out, not to keep them.

  • In the von Neumann architecture, data and instructions are stored as binary digits in memory.
  • Instructions are fetched from memory one at a time, in order, and each is decoded before it is executed.
  • Have a goThree steps, jumbled up: execute, fetch, decode. Put them in the order the CPU does them for one instruction.

    Fetch, decode, execute.

    An instruction is fetched from memory first, and the processor decodes it before it can execute it.

  • The CPU repeats the fetch-execute cycle: fetch, decode, execute, then round again.
  • In the fetch stage, each instruction is fetched from main memory and put into the appropriate registers.
  • The key components inside the CPU are the control unit, the arithmetic logic unit (ALU), buses, registers and the clock.
  • The control unit decodes each instruction and tells the other components what that instruction needs from them.
  • The ALU is the calculator of the CPU: it handles the mathematical and logical operations an instruction requires.
  • Have a goAn instruction needs 14 + 9 working out. Do you hand that to the control unit or to the ALU?

    The ALU.

    The ALU is the calculator and handles the mathematical operations. The control unit decodes the instruction and tells other components what it needs.

  • The clock regulates the number of cycles carried out per second and synchronises the other components.
  • Registers are very small, very fast memory locations inside the CPU; the named ones are MAR, MDR, CIR, PC and the accumulator.

The big picture

The CPU is the core of a computer because it receives and executes instructions. Programs and data sit in memory as binary; the CPU fetches the instructions one at a time, decodes each one, then executes it, and repeats. Inside it, the control unit decodes and directs, the ALU does the mathematical and logical operations, the clock keeps everything in step, and the registers are tiny, fast memory locations.

Key points

1The CPU is the core of a computer because it receives and executes instructions, repeating the fetch-execute cycle.
2Data and instructions are stored as binary digits in memory; instructions are fetched one at a time, in order, and decoded before they are executed.
3The control unit decodes instructions and controls the other components, while the ALU handles the mathematical and logical operations.
4The clock regulates the cycles per second and synchronises the components; registers are very small, very fast memory locations inside the CPU.

Worked example

Problem

Practice question: an instruction says "work out 6 × 3". Which CPU component works out the answer, and which component finds out what the instruction needs before that?

⚠ Watch out

Thinking the CPU stores the computer's programs and data. They are stored in memory as binary digits; the CPU fetches each instruction from there and executes it.

🧠

Memory hook

Director, calculator, timekeeper, tiny fast memory: the control unit, the ALU, the clock and the registers.

✓

Check yourself

Without looking back: where are a program's instructions stored before the CPU uses them, and what does the CPU do with each one?

Flashcards

(13)
What does CPU stand for?
Central processing unit.
What is the CPU's purpose?
It is the core of a computer: it receives and executes instructions.
In the von Neumann architecture, how are data and instructions stored?
As binary digits in memory.
How are instructions fetched from memory?
One at a time, in order.
What is the name of the cycle the CPU repeats?
The fetch-execute cycle: fetch, decode, execute.
What happens in the fetch stage?
Each instruction is fetched from main memory and put into the appropriate registers.
Which components are the key parts inside the CPU?
The control unit, the arithmetic logic unit (ALU), buses, registers and the clock.
What does the control unit do?
It decodes each instruction and tells the other components what it needs from them. It manages the instructions and controls the other components.
What is the ALU?
The calculator of the CPU: it handles the mathematical and logical operations required as part of an instruction.
What does the clock do?
It regulates the number of cycles carried out per second and synchronises the other components.
What are registers?
Very small, very fast memory locations inside the CPU.
Name the registers listed in this topic.
The MAR, MDR, CIR, PC and the accumulator.
True or false: the CPU is where the computer's programs and data are stored.
False. They are stored in memory as binary. The CPU fetches instructions from there and executes them.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.