Stewdent.eu
▾

The CPU

The CPU (Central Processing Unit) is the main chip in a computer that carries out instructions and performs calculations.

Last updated: 5 February 2026

★☆☆☆☆ Level 1computingSystemshardwarecpuprocessor4 min read

Report an error

What is the CPU?

The CPU (Central Processing Unit) is often called the brain of the computer. It is a small but incredibly powerful chip inside every computer, phone, and tablet. The CPU is responsible for carrying out the instructions that make programs run.

When you open an app, play a game, or type a document, the CPU is constantly fetching, decoding, and executing billions of tiny instructions every second.

Note

Modern CPUs can perform billions of operations per second. This speed is measured in gigahertz (GHz) — a 3 GHz processor can handle 3 billion clock cycles per second.

The Fetch-Decode-Execute Cycle

The CPU follows a three-step cycle continuously while the computer is running:

  1. Fetch — the CPU retrieves the next instruction from RAM
  2. Decode — the CPU works out what the instruction means
  3. Execute — the CPU carries out the instruction (e.g. add two numbers, move data, compare values)

This cycle repeats billions of times per second, executing your programs one instruction at a time.

Key Parts of the CPU

ComponentPurpose
ALU (Arithmetic Logic Unit)Performs maths and logical operations (add, compare, etc.)
Control UnitDirects the fetch-decode-execute cycle
RegistersTiny, ultra-fast storage areas for data being processed right now
CacheSmall amount of very fast memory built into the CPU to store frequently used data

Clock Speed and Cores

Clock speed is measured in GHz and tells you how many cycles per second the CPU performs. A higher clock speed generally means faster performance.

Modern CPUs have multiple cores — each core is essentially an independent processor. A quad-core CPU can work on four tasks simultaneously.

CPU FeatureEffect on Performance
Higher clock speedFaster single tasks
More coresBetter at running multiple tasks at once
Larger cacheFewer slow trips to RAM
Tip

When buying a computer or phone, look at both clock speed and the number of cores. A 2 GHz quad-core chip may outperform a 3 GHz single-core chip for everyday multitasking.

The CPU and Other Components

The CPU works closely with RAM (which stores the program and data currently in use) and storage (the hard drive or SSD where files are permanently kept). The CPU can access RAM very quickly but must load programs from storage first.

Practice Problems

List the three stages of the fetch-decode-execute cycle and briefly explain what happens at each stage.

Show answer
Fetch: the CPU retrieves the next instruction from RAM. Decode: the CPU interprets what the instruction means (what operation to perform and what data to use). Execute: the CPU carries out the instruction, for example adding two numbers or moving data to a register.

A CPU has a clock speed of 4 GHz and 6 cores. Explain what each of these specifications tells you about the CPU's performance.

Show answer
4 GHz means the CPU performs 4 billion clock cycles per second — a higher speed generally means faster execution of individual instructions. 6 cores means there are 6 independent processing units, allowing the CPU to work on up to 6 tasks simultaneously, which improves performance when multitasking or running multi-threaded programs.