Hardware & Software CPU Architecture Memory Secondary Storage Match the Keywords Quiz (40)

GCSE Computer Science Revision

OCR Component 1 — Systems Architecture, Memory and Storage. Keywords, diagrams, a keyword matching game and a 40-question quiz, built from your lesson notes.

Topic 1

Hardware & Software

Embedded vs. general-purpose systems, and the difference between hardware and software.

Embedded system
A computer system built into another device to control it, dedicated to one task or a small range of tasks.
General-purpose system
A computer system that can perform many different tasks — the user installs different software to adapt it.
Hardware
The physical components of a computer system that you can touch and see, e.g. the CPU or a hard disk.
Software
The programs and instructions that run on hardware and tell it what to do.
CPU
Central Processing Unit — the "brain" of the computer that processes program instructions.
RAM
Random Access Memory — temporary, volatile memory that holds running programs and data.
Motherboard
The main circuit board that connects and allows communication between all the other components.
Graphics card (GPU)
Processes images and graphics, relieving load from the CPU for graphically demanding tasks.
Power Supply (PSU)
Delivers regulated power to all the components inside the computer.
Optical Drive
Reads (and sometimes writes) data from optical discs such as CDs, DVDs or Blu-rays.
Solid State Drive (SSD)
Secondary storage with no moving parts, based on flash memory — fast and durable.
Interface Card
An expansion card that lets the computer connect to extra hardware or networks.

Embedded (dedicated) systems

  • Dedicated function — designed for one task, e.g. a washing machine controller.
  • Low cost — cheaper than general-purpose computers.
  • Efficient & reliable — optimised to do its one job very well.
  • Difficult to upgrade — hardware and software are usually fixed.
  • Examples: washing machines, microwave ovens, digital cameras, car engine control units, printers.

General-purpose systems

  • Multi-functional — can perform a wide range of tasks.
  • User-programmable — users install their own apps and software.
  • Flexible & upgradeable — hardware and software can be changed.
  • Higher cost due to advanced, adaptable features.
  • Examples: desktop computers, laptops, tablets, smartphones, games consoles.

Hardware vs. software

Hardware is the physical platform — without it a computer cannot function, because it's what runs the software.

Software is the set of programs and instructions that tell that hardware what to do and how to do it.

Every general-purpose computer needs both: hardware to run on, and software to give it a purpose.

Topic 2

CPU Architecture & Performance

The Von Neumann model, the fetch–decode–execute cycle, and what affects CPU performance.

CPU / Processor
The central processing unit — fetches, decodes and executes program instructions.
Control Unit (CU)
Directs and coordinates the CPU's activities, controlling the fetch–decode–execute cycle.
Arithmetic Logic Unit (ALU)
Performs mathematical calculations and logical operations.
Program Counter (PC)
Holds the address of the next instruction to be fetched. Increments during each cycle.
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 being transferred to or from memory.
Accumulator
Stores the immediate results of calculations carried out by the ALU.
Clock speed
The speed of the CPU, measured in Hz — a 1 GHz processor executes roughly 1 billion cycles per second.
Core
An independent processing unit within a CPU. More cores can allow more instructions to run in parallel.
Cache
Small, very fast memory that stores frequently-used instructions/data close to the CPU (levels L1–L3).
Instruction
A single action that can be carried out by the processor.
MHz / GHz
Megahertz / Gigahertz — units of frequency used to describe clock speed (1 GHz = 1 billion Hz).
CPU Control Unit (CU) Arithmetic Logic Unit (ALU) PC Program Counter MAR Memory Address Reg. MDR Memory Data Reg. ACC Accumulator Cache fast, small memory close to the CPU Buses connect the CPU to main memory and I/O devices: • Address bus — carries memory addresses • Data bus — carries the actual data/instructions • Control bus — carries control signals Main Memory (RAM) Address bus Data bus Control bus
Processing unit (CU / ALU) Registers Cache Main memory (RAM)

The Fetch–Decode–Execute Cycle

Press Run to step through the cycle — this repeats continuously from the moment a computer turns on until it shuts down.

1. Fetch

Get the next instruction from memory

→

2. Decode

Work out what the instruction means

→

3. Execute

Carry the instruction out

Press "Run" to start the fetch–decode–execute cycle.

Cycles completed: 0

Clock speed

Measured in Hz, MHz or GHz. A 1 GHz processor executes roughly 1 billion instructions per second.

Higher clock speed generally means faster instruction processing — doubling it roughly doubles the instructions processed per second.

Number of cores

CPUs may have multiple cores (dual, quad, etc.), each able to execute its own instructions independently.

More cores can allow parallel processing — but only if the software is written to make use of them.

Cache size

Cache stores frequently-used instructions so the CPU doesn't have to wait on slower main memory (RAM).

More cache generally means faster data access and better performance, up to a point.

Topic 3

Memory

Primary storage — RAM, ROM, and why computers use virtual memory.

RAM
Random Access Memory — stores running programs and the data they need. Volatile.
ROM
Read Only Memory — stores the BIOS/bootstrap loader needed at start-up. Non-volatile.
Volatile
Memory that loses its contents when the power is turned off (e.g. RAM).
Non-volatile
Memory that keeps its contents even when the power is off (e.g. ROM).
Virtual memory
An area of secondary storage used as extra, temporary memory when RAM fills up.
Page file / Swap file
The area of the hard disk the operating system uses to store "pages" of data moved out of RAM.
BIOS
Basic Input/Output System — firmware stored in ROM that starts up the computer.
Firmware
Permanent software programmed into hardware, e.g. stored in ROM chips.
DRAM / SRAM
Two types of RAM — DRAM is cheaper and needs constant refreshing; SRAM is faster and used for cache.

RAM — Random Access Memory

  • Stores currently running programs and the data they're using.
  • Read from and written to very quickly, in any order ("random access").
  • Volatile — emptied every time the computer is turned off.
  • More RAM lets more applications run smoothly at once.

ROM — Read Only Memory

  • Stores the BIOS / bootstrap loader needed when the computer starts up.
  • Non-volatile — keeps its contents even with the power off.
  • Programmed by the manufacturer — not normally changed by the user.
  • Contains details of the system hardware needed before an OS has loaded.

Virtual memory

Makes a computer appear to have more RAM than it physically has.

The OS sets aside space on secondary storage (the "page file"/"swap file") and moves less-used data there when RAM fills up.

Virtual memory is much slower than real RAM — relying on it heavily can noticeably slow a computer down.

Topic 4

Secondary Storage

Why we need it, the three main types, and how to judge which is best for a given job.

Secondary storage
Permanent, non-volatile storage used to keep data and files even when the power is off.
Optical storage
Storage that uses a laser to read/write data, e.g. CD, DVD, Blu-ray.
Magnetic storage
Storage using spinning platters and a read/write head, e.g. a hard disk drive (HDD).
Solid state storage
Storage with no moving parts, based on flash/silicon technology, e.g. an SSD or USB stick.
Capacity
How much data a storage device can hold.
Speed
How quickly data can be read from or written to a device.
Portability
How easily a device can be carried around and used elsewhere.
Durability
How well a device survives physical damage, e.g. being dropped.
Reliability
How likely a device is to keep working without failing over time.

Optical

CD (700MB), DVD, Blu-ray (50GB)

CapacityLow
SpeedLow
PortabilityHigh
DurabilityMedium
Cost per GBVery low

Magnetic

Internal/external hard disk drives, tape drives

CapacityHigh
SpeedMedium
PortabilityLow–Medium
DurabilityLow
Cost per GBLow

Solid State

SSD, USB memory stick, SD/memory card

CapacityMedium–High
SpeedHigh
PortabilityHigh
DurabilityHigh
Cost per GBHigh

These ratings are typical/relative, for revision purposes — exact figures vary between real devices. No moving parts is why solid state storage tends to be faster and more durable, while magnetic storage's spinning platters give it high capacity at low cost, but make it less durable.

Activity

Match the Keywords — CPU Architecture

Drag each term onto its correct definition (or tap a term, then tap the definition it matches).

10 CPU Architecture terms — match every one to its definition below.

Directs and coordinates the CPU's activities, controlling the fetch–decode–execute cycle.

Drop here

Performs mathematical calculations and logical operations.

Drop here

Holds the address of the next instruction to be fetched; increments during each cycle.

Drop here

Holds the address of the memory location currently being read from or written to.

Drop here

Holds the actual data or instruction being transferred to or from memory.

Drop here

Stores the immediate results of calculations carried out by the ALU.

Drop here

Small, very fast memory that stores frequently-used instructions/data close to the CPU.

Drop here

The rate the CPU carries out instruction cycles at, measured in Hz/GHz.

Drop here

An independent processing unit within a CPU; more of these can allow parallel processing.

Drop here

The "brain" of the computer; fetches, decodes and executes instructions.

Drop here
Quiz

40-Question Revision Quiz

10 questions on each topic — Hardware & Software, CPU Architecture, Memory, and Secondary Storage.