Hardware is the physical components of a computer system — parts you can touch. Software is the programs and data that run on hardware. Hardware without software is useless, and vice versa.
Most modern computers are based on the von Neumann architecture (proposed by John von Neumann in 1945). Its key principle is that programs and data are stored together in the same memory, and the CPU fetches and executes instructions sequentially.
The main components are:
The CPU contains the following key components:
| Component | Role |
|---|---|
| ALU (Arithmetic Logic Unit) | Performs arithmetic (+, -, *, /) and logical (AND, OR, NOT) operations |
| Control Unit (CU) | Directs the operation of the processor — fetches, decodes, and executes instructions; coordinates all other components |
| Registers | Tiny, extremely fast storage locations inside the CPU used during instruction processing |
| Cache | Very fast memory inside or near the CPU that stores frequently used instructions and data to speed up processing |
| Type | Full name | Description |
|---|---|---|
| RAM | Random Access Memory | Volatile — loses data when power is off; holds the OS, running programs and current data |
| ROM | Read-Only Memory | Non-volatile — retains data without power; stores the BIOS/firmware for booting |
The system bus connects the CPU, memory and I/O devices. It consists of three buses:
All computer systems follow the IPO model: Input → Process → Output. Data is entered, the CPU processes it, and a result is produced.
Storage can be considered a fourth component: data may be stored and retrieved as part of the processing cycle.
| Type | Description | Example |
|---|---|---|
| Sequential processing | Instructions executed one after another in order, on a single processor core | A simple script running each line in turn |
| Parallel processing | Multiple processors or cores work simultaneously on different parts of a task, then combine results | Rendering different sections of a 3D image at the same time |
| Multi-agent systems | Multiple independent agents (programs), each with their own goals, work together to solve a problem | A self-driving car with separate agents handling steering, braking, and obstacle detection |
5 questions · Edexcel 4CP0 specific
Timed test · 4 questions · Edexcel mark scheme