Hardware

    Edexcel
    GCSE
    Computer Science

    Master the physical components that make computers tick. This topic covers the essential Von Neumann architecture, the relentless fetch-decode-execute cycle, and the critical differences between memory and storage types that examiners love to test.

    6
    Min Read
    3
    Examples
    5
    Questions
    6
    Key Terms
    Interactive Video Explainer
    AI Generated • 3-4 Mins
    🎙 Podcast Episode
    Hardware
    0:00-0:00

    Study Notes

    Header image for Hardware 3.1

    Overview

    Welcome to Topic 3.1: Hardware. This topic forms the foundation of Computer Science, explaining the physical components that allow software to execute. You will explore the stored program concept introduced by John von Neumann, dissect the Central Processing Unit (CPU) to understand its internal registers, and trace the steps of the fetch-decode-execute cycle.

    Understanding hardware is critical because it explains the physical limitations and capabilities of any computing system. It connects directly to topics on software (how operating systems manage hardware), networks (how hardware communicates), and data representation (how hardware stores binary data). In the exam, you can expect a mix of short recall questions (e.g., "State the purpose of the MAR") and longer, 6-mark extended response questions asking you to compare storage types or explain the fetch-decode-execute cycle in detail.

    Listen to the companion podcast to reinforce these concepts on the go:
    Topic 3.1 Revision Podcast

    Key Concepts

    Concept 1: Von Neumann Architecture

    The Von Neumann architecture is the blueprint for almost all modern computers. Its defining feature is the stored program concept: both the program instructions and the data they use are stored together in the same main memory (RAM). Before this, computers had to be physically rewired to perform different tasks.

    The Von Neumann Architecture

    The architecture consists of four main elements:

    1. Central Processing Unit (CPU): The brain that executes instructions.
    2. Main Memory (RAM): Stores the programs and data currently in use.
    3. Input Devices: Allow data to enter the system (e.g., keyboard).
    4. Output Devices: Display or output results (e.g., monitor).

    Concept 2: The CPU and its Registers

    The CPU is divided into three key areas:

    • Control Unit (CU): The manager. It fetches instructions, decodes them, and sends control signals to coordinate the other components. It does not perform calculations.
    • Arithmetic Logic Unit (ALU): The worker. It performs arithmetic operations (addition, subtraction) and logical operations (comparisons like AND, OR, NOT).
    • Registers: Tiny, extremely fast memory locations inside the CPU used to hold data temporarily during processing.

    Key Registers to Memorise:

    • Program Counter (PC): Holds the memory address of the next instruction to be fetched.
    • Memory Address Register (MAR): Holds the address of the memory location currently being read from or written to.
    • Memory Data Register (MDR): Holds the actual data or instruction that has just been fetched from memory, or is waiting to be written to memory.
    • Current Instruction Register (CIR): Holds the instruction that is currently being decoded and executed.

    Concept 3: The Fetch-Decode-Execute Cycle

    This is the continuous process the CPU uses to carry out instructions.

    The Fetch-Decode-Execute Cycle

    1. Fetch:

    • The memory address in the PC is copied to the MAR.
    • The address is sent along the address bus to main memory.
    • The instruction at that address is sent back along the data bus to the MDR.
    • The instruction is copied from the MDR to the CIR.
    • Crucial step for marks: The PC is incremented to point to the next instruction.

    2. Decode:

    • The Control Unit decodes the instruction in the CIR to determine what operation needs to be performed and what data is required.

    3. Execute:

    • The instruction is carried out. This could involve the ALU performing a calculation, data being moved to/from memory, or the PC being updated for a branch instruction.

    Concept 4: System Buses

    Buses are parallel wires that connect components.

    • Address Bus: Unidirectional (CPU to Memory). Carries the address of the memory location being accessed.
    • Data Bus: Bidirectional. Carries the actual data and instructions between the CPU and memory.
    • Control Bus: Bidirectional. Carries control signals (e.g., read/write commands, clock signals) from the CU to coordinate the system.

    Concept 5: CPU Performance Factors

    Three factors affect how quickly the CPU can process instructions:

    1. Clock Speed: Measured in Gigahertz (GHz). It determines how many fetch-decode-execute cycles occur per second. A 3GHz processor performs 3 billion cycles per second. Higher clock speed = faster execution.
    2. Cache Size: Cache is a small, fast memory built into the CPU. It stores frequently used instructions. More cache means the CPU spends less time waiting for slower RAM.
    3. Number of Cores: Each core is an independent processing unit. A quad-core processor has four cores and can potentially process four instructions simultaneously (parallel processing), though this depends on the software being designed to use multiple cores.

    Concept 6: Secondary Storage

    Secondary storage is non-volatile memory used to store data and programs permanently when the power is off.

    Secondary Storage Comparison

    • Magnetic (e.g., Hard Disk Drive - HDD): Uses spinning magnetic platters and a read/write head.
      • Pros: Very large capacity, lowest cost per GB.
      • Cons: Slower than SSDs, moving parts make it fragile and power-hungry.
    • Optical (e.g., CD, DVD, Blu-ray): Uses a laser to read pits and lands on a reflective disc.
      • Pros: Cheap to mass-produce, portable, universally readable.
      • Cons: Low capacity, slow, easily scratched.
    • Solid State (e.g., Solid State Drive - SSD, USB flash drive): Uses flash memory chips with no moving parts.
      • Pros: Fastest read/write speeds, highly durable (shock resistant), silent, energy-efficient.
      • Cons: Highest cost per GB, limited (but very high) number of read/write cycles.

    Concept 7: Embedded Systems

    An embedded system is a computer system built into a larger mechanical or electrical system to perform a specific, dedicated function.

    • Examples: Washing machines, engine management systems in cars, microwaves, digital watches.
    • Characteristics: They are not general-purpose computers. They usually run a single program stored in ROM, require minimal resources, and are highly reliable.

    Visual Resources

    3 diagrams and illustrations

    The Von Neumann Architecture
    The Von Neumann Architecture
    The Fetch-Decode-Execute Cycle
    The Fetch-Decode-Execute Cycle
    Secondary Storage Comparison
    Secondary Storage Comparison

    Interactive Diagrams

    2 interactive diagrams to visualise key concepts

    Conceptual Flow Outline

    Program Counter (PC)
    Copy AddressMemory Address Register (MAR)
    Memory Address Register (MAR)
    Address BusMain Memory (RAM)
    Main Memory (RAM)
    Data BusMemory Data Register (MDR)
    Memory Data Register (MDR)
    Copy InstructionCurrent Instruction Register (CIR)

    The flow of data during the Fetch stage of the cycle.

    Conceptual Flow Outline

    CPU
    Address BusMain Memory

    Directionality of the system buses.

    Worked Examples

    3 detailed examples with solutions and examiner commentary

    Practice Questions

    Test your understanding — click to reveal model answers

    Q1

    State the purpose of the Program Counter (PC).

    1 marks
    foundation

    Hint: What does it point to next?

    Q2

    Describe two differences between RAM and Secondary Storage.

    4 marks
    standard

    Hint: Think about volatility and what they are used for.

    Q3

    Explain the steps that occur during the 'Fetch' stage of the fetch-decode-execute cycle.

    4 marks
    challenging

    Hint: Start with the PC and end with the CIR. Don't forget the buses.

    Q4

    A digital washing machine uses an embedded system. Give two characteristics of an embedded system.

    2 marks
    standard

    Hint: How is it different from your desktop PC?

    Q5

    A company is archiving 10 Terabytes of old financial records that they rarely need to access. Recommend a suitable type of secondary storage and justify your choice.

    3 marks
    standard

    Hint: Focus on the large capacity and the fact it is rarely accessed.

    Key Terms

    Essential vocabulary to know