You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson introduces the Central Processing Unit (CPU) and its role within a computer system, as specified in OCR J277 Section 1.1.1. You will learn what the CPU does, why it is essential, and how it fits into the wider architecture of a modern computer.
The CPU (Central Processing Unit) is the main processing component of a computer. It is responsible for:
The CPU is often referred to as the "brain" of the computer, although this is a simplification. The CPU does not think or reason — it rapidly processes binary instructions according to a fixed set of rules.
Modern CPUs are fabricated on a single silicon chip, often smaller than a postage stamp, yet they contain billions of transistors — tiny electronic switches that can be either on (1) or off (0). This is the physical basis of all digital computation.
A computer system consists of several key components that work together:
| Component | Role |
|---|---|
| CPU | Processes instructions and data |
| Main memory (RAM/ROM) | Stores data and instructions currently in use |
| Secondary storage | Stores data permanently (e.g. HDD, SSD) |
| Input devices | Allow users to send data into the system |
| Output devices | Present processed data to the user |
| System bus | Connects all components so they can communicate |
The CPU sits at the centre of this system. It communicates with all other components through the system bus — a set of wires that carry data, addresses, and control signals.
At the most fundamental level, the CPU repeats three activities in a continuous loop known as the fetch-decode-execute (FDE) cycle:
The CPU retrieves (fetches) the next instruction from main memory (RAM). The Program Counter (PC) register tells the CPU which memory address to fetch from.
The Control Unit (CU) examines the fetched instruction and works out what operation needs to be performed. This involves splitting the instruction into its opcode (the operation) and operand (the data or address the operation acts on).
The CPU carries out the instruction. This might involve:
This cycle repeats billions of times per second in a modern computer.
OCR Exam Tip: You must be able to describe the purpose of the CPU in simple terms. A good one-sentence answer is: "The CPU fetches, decodes, and executes program instructions stored in main memory."
Without the CPU, a computer cannot process any instructions. Every action a computer performs — from booting up the operating system, to displaying a webpage, to running a game — requires the CPU to process instructions.
The speed and capability of the CPU directly affects the overall performance of the computer. A faster CPU can process more instructions per second, which generally means programs run more quickly and the system feels more responsive.
CPUs are not only found in desktop computers and laptops. They are present in a wide range of devices:
The key difference between these CPUs is their power, size, and purpose, but they all perform the same fundamental task: fetching, decoding, and executing instructions.
| Term | Definition |
|---|---|
| CPU | Central Processing Unit — the main processor in a computer |
| Instruction | A single operation that the CPU can carry out |
| FDE cycle | Fetch-Decode-Execute — the continuous cycle the CPU follows |
| Transistor | A microscopic electronic switch that represents a binary digit |
| System bus | The communication pathway connecting the CPU to other components |
Physically, a CPU is a rectangular slab of silicon packaged onto a socketable chip. The exposed surface (the "die") is etched with circuits using a process similar to photography, called photolithography. Modern processors such as Apple's M-series, Intel's Core series, and AMD's Ryzen series are manufactured at scales of 3-7 nanometres, which is smaller than many viruses.
Inside, the CPU contains several specialised blocks:
These blocks work together during the FDE cycle to transform raw binary instructions into useful outcomes like words on a screen or sounds from speakers.
Suppose a user types 5 + 3 into a calculator app and presses equals. What does the CPU actually do?
5 and 3 into binary: 00000101 and 00000011.00001000 (decimal 8).8 in a register and returns it to the calling program.00001000 back to the character 8 and draws it on the screen.Every single operation a computer performs follows this same pattern, even tasks as complex as rendering a 3D video game frame — those frames simply involve millions of such operations carried out by the CPU and GPU working together.
Misconception: "The CPU stores all my files." Correction: The CPU does not permanently store files. It only processes data. Long-term storage is the job of secondary storage devices (SSDs, HDDs). Temporary storage while processing uses registers and RAM.
Misconception: "A CPU with more GHz is always faster." Correction: Clock speed is only one factor. Two CPUs at the same GHz may perform very differently because of cache size, number of cores, instruction set efficiency, and thermal design.
Misconception: "Embedded systems don't have a CPU." Correction: Embedded systems do have a CPU (usually called a microcontroller). It is just smaller, cheaper, and less powerful than a desktop CPU.
Question: A student claims that "the CPU is just a calculator". Why is this description incomplete?
Suggested Answer: While the ALU inside the CPU does perform calculations, a CPU is much more than a calculator. It also contains a Control Unit (CU) that decodes instructions and coordinates all components, registers that temporarily hold data, and a cache. It fetches instructions from memory and executes many different types of operation, not just arithmetic — for example, data transfers, comparisons, and branches. A calculator can only perform arithmetic and logic, whereas a CPU can run any program stored in memory.
Exam-style question (4 marks): Describe the purpose of the CPU in a computer system.
Grades 3-4 response: "The CPU is the brain of the computer. It does all the thinking and calculations. Without it the computer would not work." Examiner commentary: Identifies the CPU as central but uses a vague analogy ("brain", "thinking") with no technical terminology. Would score 1 mark for general understanding.
Grades 5-6 response: "The CPU processes instructions in a computer. It fetches instructions from memory, decodes them and then executes them. This is called the fetch-decode-execute cycle. The CPU is the main processor." Examiner commentary: Uses correct terminology (FDE cycle, memory, decodes, executes) and identifies the three-stage cycle. Would score 3 marks but lacks detail about how components interact.
Grades 7-9 response: "The CPU is the central processing component responsible for carrying out the fetch-decode-execute cycle. During fetch, it retrieves the next instruction from main memory using the Program Counter to locate the address. During decode, the Control Unit interprets the instruction, splitting it into opcode and operand. During execute, the instruction is carried out — arithmetic operations are performed in the ALU with results stored in the Accumulator. This cycle repeats billions of times per second, driven by the system clock." Examiner commentary: Full 4 marks. Uses precise terminology (Program Counter, Control Unit, ALU, Accumulator), correctly describes each stage, and links the cycle to the system clock.
OCR Exam Tip: When asked about the purpose of the CPU, always mention fetching, decoding, and executing instructions. This demonstrates that you understand the FDE cycle, which is a key concept in Section 1.1.
A favourite OCR J277 starter question is "how many instructions can a CPU process per second?". A clean numerical answer cements the link between clock speed, the FDE cycle and real-world performance.
Scenario: A laptop has a quad-core CPU running at 2.4 GHz. Assume each core can complete one fetch-decode-execute cycle per clock tick.
Step 1 — convert the clock speed. 2.4 GHz means 2.4 billion (2,400,000,000) cycles per second per core.
Step 2 — multiply by the number of cores. Theoretical maximum across the whole CPU = 2,400,000,000 x 4 = 9,600,000,000 instructions per second, or 9.6 billion instructions every second. Each individual instruction therefore completes in roughly 1 / 2,400,000,000 of a second per core, which is about 0.4 nanoseconds.
Step 3 — explain why the real figure is lower. A grade 9 answer never claims the theoretical figure as the actual figure. Real performance is reduced by:
Step 4 — link back to the CPU's purpose. Every one of those 9.6 billion theoretical instructions per second goes through the same three steps: fetch from memory, decode in the Control Unit, execute in the ALU or branch the Program Counter. The CPU's "purpose" is exactly this — to relentlessly drive the FDE cycle so the rest of the computer system has work to do.
This calculation pattern (clock speed -> per-core rate -> total rate -> real-world caveats) is reusable for almost any CPU performance question on the paper.
Question: Describe the purpose of the CPU in a computer system. Your answer should (a) name the three stages of the fetch-decode-execute cycle, (b) name at least two CPU components or registers involved in the cycle, and (c) explain how the CPU communicates with main memory. [6 marks]
Mark scheme — award one mark per point, up to 6:
Acceptable alternatives: mentioning the system clock as the timing source for each stage may substitute for one of the bus marks; mentioning cache as a faster intermediate between CPU and RAM is creditable.
Common errors that lose marks: describing the CPU as storing files (it processes data, it does not store it long-term); calling the Control Unit "the calculator" (that is the ALU); confusing MAR and MDR; using vague phrases such as "it is the brain" without specifying the FDE cycle.
This content is aligned with OCR GCSE Computer Science (J277) specification section 1.1 Systems architecture. For the most accurate and up-to-date information, please refer to the official OCR specification document.