IGCSE Computer Science - Hardware | CPU, FDE Cycle, Sensors, Storage
Chapter 3 · Paper 1

Hardware

CPU architecture, FDE cycle, input/output devices, sensors, and data storage.

Based on Cambridge IGCSE / O-Level CS Syllabus 0478/2210 (2026–2028)

1 CPU & Von Neumann Architecture

The CPU (Central Processing Unit) processes all instructions and data. A microprocessor is a CPU on a single integrated circuit chip. The Von Neumann architecture stores both program instructions and data in the same memory.

Components of the CPU

ComponentAbbreviationRole
Arithmetic Logic UnitALUPerforms arithmetic (+, −, ×, ÷) and logical (AND, OR, NOT) operations
Control UnitCUDirects all operations — fetches, decodes and coordinates execution of instructions
Program CounterPCHolds the memory address of the next instruction to be fetched
Memory Address RegisterMARHolds the memory address currently being read from or written to
Memory Data RegisterMDRHolds the data that has just been fetched from or is about to be written to memory
Current Instruction RegisterCIRHolds the instruction currently being decoded and executed
AccumulatorACCStores the result of the most recent ALU operation

Buses

BusDirectionWhat it carries
Address busOne-way (CPU → Memory)Memory addresses
Data busTwo-wayData and instructions
Control busTwo-wayControl signals (read, write, clock)

2 Fetch–Decode–Execute (FDE) Cycle

Fetch
PC → MAR via address bus. MDR ← instruction from RAM. PC increments to point to next instruction.
Decode
MDR → CIR. Control Unit decodes the instruction — determines what operation and operand are needed.
Execute
CU sends signals to carry out the decoded instruction. ALU performs calculations if needed. Result stored in ACC.

Know each register's specific role at each stage. E.g. The MAR always holds the address, the MDR always holds the data. The PC increments during Fetch, not Execute.

3 CPU Performance

FactorHow it affects performance
Clock speedHigher clock speed = more FDE cycles per second = faster processing. Measured in GHz.
Number of coresMore cores = more instructions processed simultaneously (parallel processing). A quad-core can handle 4 streams at once.
Cache sizeCache is very fast memory built into the CPU. Larger cache = more frequently used data stored nearby = fewer slow RAM accesses.

Cache is faster than RAM because it is physically inside (or very close to) the CPU. Levels: L1 (fastest, smallest), L2, L3 (slowest of cache, but still much faster than RAM).

4 Instruction Sets & Embedded Systems

An instruction set is the complete list of machine code commands a CPU can execute. Every CPU has its own instruction set — programs must be compiled for the specific instruction set.

An embedded system is a dedicated computer system designed to perform a single specific task within a larger device. It uses a microprocessor with a fixed program stored in ROM.

Embedded System
  • Performs ONE dedicated function
  • Program stored in ROM — cannot be changed by user
  • Examples: washing machine, microwave, car ABS, pacemaker, traffic lights
  • Low power consumption
  • Reliable and fast for its specific task
General Purpose Computer
  • Performs MANY different functions
  • Programs loaded from storage, can be changed
  • Examples: laptop, desktop PC, smartphone
  • Higher power consumption
  • Flexible and upgradeable

5 Input & Output Devices

Input devices convert real-world data into digital form. Output devices convert digital data into real-world form.

Common Input Devices
  • Keyboard, mouse, microphone, digital camera
  • Barcode/QR scanners, touch screens (resistive, capacitive, infra-red)
  • 2D/3D scanners, sensors of all types
Common Output Devices
  • Inkjet/Laser/3D printers, LED/LCD screens
  • LCD/DLP projectors, speakers, actuators
  • Actuator: converts electrical signal into physical movement (motor, valve, solenoid)

6 Sensors

A sensor is an input device that measures a physical property and converts it into an electrical signal (analogue), which is then converted to digital data for the computer.

SensorMeasuresExample Use
TemperatureHeat level (°C)Greenhouse climate control, server room monitoring
HumidityMoisture in air (%)Weather stations, data centres
MoistureWater content in soil/materialAutomated irrigation systems
LightLight intensity (lux)Automatic street lighting, camera exposure
InfraredHeat radiation / presenceMotion detectors, burglar alarms, TV remotes
PressureForce per unit areaIndustrial machinery, weather forecasting
ProximityDistance to nearby objectAutomatic doors, parking sensors
AcousticSound level (dB)Noise pollution monitoring
AccelerometerRate of change of velocity / orientationSmartphone screen rotation, fitness trackers
FlowRate of liquid/gas movementWater supply monitoring, fuel management
GasConcentration of specific gasesCarbon monoxide detectors, industrial safety
LevelHeight of liquid in a containerWater tanks, fuel gauges
Magnetic fieldMagnetic field strength/directionCompass, metal detectors
pHAcidity/alkalinity of liquidSwimming pools, agriculture, water treatment

7 Data Storage

Primary Storage
  • Directly accessed by the CPU
  • RAM — Volatile, read/write, holds current programs and data
  • ROM — Non-volatile, read only, holds firmware/bootloader
  • Fast but limited in size
Secondary Storage
  • Not directly accessed by CPU
  • Non-volatile — data persists without power
  • Used for long-term data storage
  • Larger capacity but slower than RAM
TypeTechnologyExamples MagneticPlatters divided into tracks/sectors. Electromagnets read/write by magnetising tiny regionsHDD (hard disk drive), magnetic tape OpticalLaser creates/reads pits and lands on a reflective disc surface. Pits and lands represent 0s and 1sCD, DVD, Blu-ray Solid-stateNAND/NOR flash memory. Transistors act as control gates and floating gates — no moving partsSSD, USB flash drive, SD card

8 Virtual Memory

Virtual memory is a section of secondary storage (HDD/SSD) used as an extension of RAM when physical RAM is full. Pages of data are swapped between RAM and virtual memory as needed.

  • RAM becomes full — no space for a new program or process
  • OS identifies pages of data in RAM that haven't been used recently
  • Those pages are moved (swapped out) to the virtual memory space on the disk
  • The new data is loaded into the freed RAM space
  • If the swapped-out pages are needed again, they are swapped back into RAM

Virtual memory is much slower than RAM because disk access is far slower than memory access. Heavy use of virtual memory causes noticeable slowdowns ("thrashing").

9 Cloud Storage

Cloud storage stores data on remote servers accessed via the internet, rather than on local hardware. Physical servers in data centres store the actual data.

Cloud StorageLocal Storage
AccessFrom any device, anywhere with internetOnly from the device it's connected to
CapacityScalable — pay for more when neededFixed — must buy new hardware to expand
CostOngoing subscription / pay-per-useOne-time hardware cost
Security riskData held by third party — risk of breachesPhysical device can be lost/damaged/stolen
DependenceRequires reliable internet connectionWorks offline
MaintenanceProvider handles hardware maintenanceUser responsible for backups and repairs
Scroll to Top