Lesson 1: Computer Systems & Architecture
Recommended Duration: 80 Minutes | Syllabus Focus: Central Processing Unit (CPU) & Memory Hierarchy
1.1 The Von Neumann CPU Architecture
Under the Von Neumann architecture, both instructions and data are stored together in a single shared memory unit (RAM). The CPU fetches instructions, decodes them, and executes them in sequence.
Program Counter
Holds the memory address of the next system instruction to be fetched from RAM. It automatically increments by 1 on every fetch phase.
Memory Address Register
Stores the memory address of the data or instruction currently being read from or written to RAM.
Memory Data Register
Acts as a temporary buffer holding the actual instruction, digital character, or value newly fetched from memory, or preparing to be saved back into memory.
Current Instruction Register
Holds the active instruction currently undergoing decoding by the Control Unit (CU) before execution.
Accumulator
Stores the intermediate mathematical calculations and logical comparisons computed inside the Arithmetic and Logic Unit (ALU).
Control Unit & Logic Unit
The CU generates clock synchronization pulses to sequence instructions. The ALU handles physical logical calculation execution steps.
System Buses & Directionality
A system bus is a set of parallel physical wires connecting the CPU to memory and input/output interfaces. Pearson Edexcel expects deep familiarity with these three buses:
Can only send address codes out from the CPU to external memory locations. Memory never sends back addresses to the CPU.
Carries instruction data, character representations, and operands back and forth between registers and RAM memory chips.
Transmits control, clock pulses, read/write commands, and hardware interrupts between modules to avoid collision states.
Chronological Sequence of the Fetch-Decode-Execute Cycle
Review how register-level states update during execution. Knowing this step-by-step sequence is critical for scoring maximum marks on design/explain questions.
PC $\rightarrow$ MAR
The memory address of the next planned instruction is copied from the PC into the MAR via the address bus.
RAM $\rightarrow$ MDR
The CPU requests memory contents. The instruction at that address is sent across the bidirectional Data Bus and stored temporarily inside the MDR.
MDR $\rightarrow$ CIR & Increment
The instruction moves from MDR to CIR. Concurrently, the PC increments by 1 to point safely to the next sequential location.
Decode & Execute
The Control Unit decodes the instruction inside the CIR. The necessary signals are sent, and the ALU handles physical calculations or logical operations.
1.2 The Memory Hierarchy: RAM, ROM, Secondary & Tertiary Storage
Primary Storage (RAM, ROM, and CPU Cache)
Volatile primary storage with fast read/write speeds. It holds running programs and actively executing background OS code. Uses dynamic RAM (DRAM, cheaper, requires refreshing) and static RAM (SRAM, faster, used for high-speed CPU caches).
Non-volatile primary storage. It holds startup boot software (BIOS/UEFI or basic firmware). Its contents are permanent and cannot be deleted or written to under typical operating conditions.
Extremely high-speed static RAM built directly into the CPU chip. It stores frequently used instructions so the CPU doesn't have to wait for slower system RAM.
Secondary Storage Media Mechanics
Spins circular, rigid platters partitioned into tracks and sectors. An actuator arm positions an electromagnetic read/write head to map polarization directions as binary 1s/0s. Magnetic disks are highly susceptible to physical shocks and wear.
Non-volatile storage with no moving parts. Relies on NAND Flash memory arrays and floating gate transistors to capture electrons. Highly shock-resistant, low-power, lightweight, with fast boot speeds.
Uses high-precision lasers to read pits and lands pressed into a circular disc as it rotates. Poor read/write speeds, highly prone to scratching, but extremely cheap to manufacture and distribute.
| Medium Type | Mechanical Parts? | Average Read Speed | Typical Cost per GB | Relative Durability |
|---|---|---|---|---|
| Magnetic (HDD) | Yes (Spinning platters) | Slow (~150 MB/s) | Very Low | Low (Scratches/Shock) |
| Solid State (SSD) | No (Electronic) | Very Fast (500-3500 MB/s) | Medium to High | High (No physical parts) |
| Optical (Blu-Ray/DVD) | Yes (Laser rotates disc) | Very Slow | Extremely Low | Poor (Easily scratched) |
Lesson 1 Exam Prep Worksheets
Q1: Explain why a computer requires both RAM and ROM. (4 Marks)
Exam Tip: For an Edexcel 4-mark question, ensure clear logical expansion using correct terminology (volatile, non-volatile, read/write, read-only).
- RAM is volatile, meaning it loses all saved contents when power is turned off (1).
- RAM holds dynamically executing apps, programs, and working data for CPU processing (1).
- ROM is non-volatile, which means it permanently preserves data even without electric supply (1).
- ROM stores basic bootstrap startup codes (BIOS/firmware) to load the operating system (1).
Q2: A student suggests that the Address Bus must carry memory feedback parameters back to the CPU. Evaluate this claim. (2 Marks)
The claim is incorrect:
- The Address Bus is strictly **unidirectional** (1).
- It can only send instructions/location codes from the CPU to the memory, never from memory to CPU (1).