Modern computers are based on the Von Neumann architecture, proposed by John Von Neumann in 1945. Its key idea is a stored-program computer: both the program instructions and the data they operate on are stored in the same memory, and the CPU fetches and executes them sequentially.
The CPU is the brain of the computer. It fetches, decodes, and executes instructions. It has two main sub-units:
| Component | Full name | Role |
|---|---|---|
| CU | Control Unit | Directs the operation of the processor. Fetches and decodes instructions, controls data flow around the CPU and between CPU and memory/I/O |
| ALU | Arithmetic Logic Unit | Performs arithmetic (+, −, ×, ÷) and logical operations (AND, OR, NOT, comparisons) |
Registers are tiny, ultra-fast storage locations inside the CPU. AQA requires knowledge of four:
| Register | Full name | Stores |
|---|---|---|
| PC | Program Counter | Address of the next instruction to be fetched |
| MAR | Memory Address Register | Address in memory to be read from or written to |
| MDR | Memory Data Register | Data that has just been fetched from / about to be written to memory |
| ACC | Accumulator | Holds the result of the most recent ALU calculation |
The CPU works by continuously repeating the Fetch-Decode-Execute (FDE) cycle:
1. Fetch: PC → MAR (copy address); RAM → MDR (load instruction); PC increments (points to next instruction).
2. Decode: CU decodes the instruction in the MDR — determines what operation and what operand.
3. Execute: ALU carries out the operation (e.g. adds two values); result stored in ACC.
| Factor | What it is | Effect |
|---|---|---|
| Clock speed | Number of FDE cycles per second, measured in GHz (billions) | Higher clock speed → more instructions per second → faster |
| Number of cores | Independent processing units on a single chip | More cores → multiple tasks (threads) run simultaneously → faster for multi-threaded workloads |
| Cache size | Very fast memory between CPU and RAM (L1, L2, L3) | Larger cache → more data accessible without slow RAM access → faster |
| RAM | ROM | |
|---|---|---|
| Full name | Random Access Memory | Read Only Memory |
| Volatile? | Yes — loses contents when powered off | No — retains contents without power |
| Read/Write | Read and write | Read only (normally) |
| Used for | Storing running programs and data currently in use | Storing BIOS / firmware — startup instructions |
| Effect of more RAM | More programs / larger programs can run at once without using slow virtual memory | |
Secondary storage is non-volatile (keeps data when power is off) and stores data long-term. The three main types to know:
| Type | Technology | Advantages | Disadvantages |
|---|---|---|---|
| HDD | Spinning magnetic disks; read/write head | High capacity; cheap per GB | Slower; fragile (moving parts); louder |
| SSD | Flash memory (no moving parts) | Fast; silent; shock-resistant; lighter | More expensive per GB; limited write cycles |
| Optical | CD/DVD/Blu-ray; laser reads pits/lands | Cheap; portable; durable for archiving | Low capacity; slow; easily scratched |
8 questions · 23 marks
| Term | Definition |
|---|
Timed exam conditions.