Comp. Org & Architecture / Introduction
MODULE · COMPUTER ORGANISATION AND ARCHITECTURE

How a computer is actually built, and why it works.

A complete, revised set of exam notes — from motherboards and the CPU down to logic gates and binary arithmetic. Reorganised into six chapters, corrected where the source material was outdated, and built to remember where you stopped reading.

CPU chip schematic CENTRAL PROCESSING UNIT ALU · CONTROL UNIT · REGISTERS · CACHE CORE 0CORE 1CORE 2CORE 3
6chapters
40+topics
Updatedwhere outdated
Auto‑savedreading progress
CHAPTER 01

Foundations of Organisation & Design

What ICT actually means, how "architecture" differs from "organisation," the parts a computer is built from, and how those parts have evolved across five generations.

1.1ICT and where computers are used

ICT (Information and Communication Technology) is the integration of computers and telecommunications for the purpose of communication and data processing. A few core terms sit underneath it: data is raw, unprocessed facts (numbers, letters, symbols); information is data that has been processed into something meaningful; a program is a set of instructions that tells a computer what to do and how to do it; and data processing is the set of activities that turns data into information.

Computers show up almost everywhere because the same core task — accept input, process it, produce output — maps onto very different problems:

Banks

ATMs, cheque processing, payroll, electronic transfers.

Hospitals

Patient records, imaging analysis, life‑support monitoring, theatre booking.

Transport

Air‑traffic radar, reservations, fleet and cargo management.

Industry

Robotics, CAD design, process monitoring and control.

Law enforcement

Fingerprint and face matching, case‑record databases.

Education

Learning platforms, grading, student administration.

Accessibility

Speech‑to‑text, text‑to‑speech, and sign‑language conversion tools.

Homes & offices

Budgeting, entertainment, document production, email.

1.2Computer Architecture vs. Computer Organisation

These two terms are used almost interchangeably in casual speech, but on an exam they are distinct layers of the same system.

Computer architecture is the functional, programmer‑visible design of a system — the instruction set, addressing modes, registers, and data paths. It answers what the computer does, and it's decided first, before organisation.

Computer organisation is the physical implementation of that architecture — how the CPU, memory, and I/O devices are actually wired together and made to cooperate. It answers how the computer does it, and is decided after the architecture.

Computer ArchitectureComputer Organisation
Describes what the computer does; visible to the programmer.Describes how it does it; largely invisible to the programmer.
Deals with instruction sets, registers, addressing modes, data types.Deals with circuit design, peripherals, control signals, interconnects.
Also called Instruction Set Architecture (ISA).Often called microarchitecture.
Fixed first, during design.Decided after the architecture, to implement it.
Categories: Von Neumann, Harvard, ISA, micro‑architecture, system design.Categories: single‑accumulator, general‑register, or stack organisation.

1.3Characteristics of a computer

  • Fast — completes in seconds what would take a person hours.
  • Accurate — high precision regardless of task complexity.
  • Versatile — the same machine handles typing, calculation, and media.
  • Reliable — identical inputs reliably produce identical outputs.
  • Has memory — stores and retrieves far more than human recall.
  • Diligent — repetitive tasks don't cause fatigue or lapses in concentration.
  • Largely automatic — runs with minimal ongoing human intervention.
AdvantagesDisadvantages
Accurate, flexible, handles huge data volumes, presentable output, secure record‑keeping.Upfront cost, rapid obsolescence, retraining overhead, potential job displacement, hardware can fail.

1.4Parts of a computer

A computer is built from a system unit (housing the CPU, motherboard, main memory, and drives) and peripheral devices (monitor, keyboard, mouse) connected through data cables and ports.

The motherboard is the circuit board every other component connects to — it carries the CPU socket, memory slots, expansion slots, and the chipset that coordinates data flow between them.

Motherboard layout diagram CPU socket RAM slots Chipset PCIe expansion slots SATA ports rear I/O Power CMOS battery
Simplified motherboard layout — CPU socket, memory slots, chipset, expansion slots, storage and power connectors.

Fifteen things every motherboard manages:

  • CPU socket — the electrical and mechanical mount for the processor.
  • BIOS/UEFI firmware — initialises hardware at boot and hands off to the OS.
  • CMOS battery — keeps BIOS settings and the system clock alive when the power is off.
  • Northbridge / Southbridge (now mostly folded into a single chipset) — route high‑speed traffic to RAM/graphics, and lower‑speed traffic to USB/audio.
  • Heat sinks & cooling — dissipate heat from the CPU and other hot components.
  • Memory slots — hold RAM modules.
  • Expansion slots — accept graphics, sound, and network cards.
  • Chipset — manages data transfer between CPU, memory, and storage.
  • Power connectors, USB, SATA, PCIe, audio, and networking headers — the physical connection points for everything else in the case.

The most common form factor — the physical shape and layout standard — is ATX, introduced in 1995; Micro‑ATX and Mini‑ITX serve smaller or budget builds. The power supply unit (PSU) converts wall or battery power into the regulated voltages every component needs.

1.5Classifying computers

By physical size and power — from most to least powerful:

ClassTypical role
SupercomputersFastest, largest, most expensive; used for scientific research requiring enormous calculation (weather modelling, defence, drug design).
MainframesLarge‑scale commercial and scientific processing for banks, airports, and government agencies.
MinicomputersSmaller than mainframes; used in labs, research institutions, and industrial automation.
MicrocomputersBuilt around a microprocessor; single‑user machines — desktops, laptops, and handhelds.

By purpose: general‑purpose computers run whatever program is loaded onto them; special‑purpose computers (robots, calculators) are built to do one job well. Embedded computers are hidden inside another machine (a microwave, a car's engine controller); dedicated computers are general‑purpose machines permanently assigned to one task, such as payroll processing.

By the type of data processed: digital computers process discrete (0/1) data — this is essentially every modern computer; analog computers process continuous physical quantities like temperature or pressure; hybrid computers combine both.

1.6Computer generations ● updated

GenerationPeriodDefining technologyExamples
First1940–1958Vacuum tubes, magnetic drum memory. Huge, hot, unreliable.ENIAC, EDVAC, UNIVAC, IBM 650
Second1958–1964Transistors, magnetic core memory. Smaller, faster, less power‑hungry.IBM 1401, IBM 7094
Third1964–1970Integrated circuits (many transistors on one silicon chip).IBM 360, ICL 1900
Fourth1970–1989LSI/VLSI circuits give rise to the microprocessor — a complete CPU on one chip; first operating systems appear.IBM 370/4300
Fifth1990–2010sMassive parallelism, multi‑user OS, ubiquitous internet connectivity, early AI‑assisted software.Modern PCs, early smartphones
Bringing this up to date

The original notes stopped at "fifth generation — 1990 to present," which was already dated. Most computing‑science sources today treat the 2010s onward as a sixth generation, characterised by multi‑core mobile and desktop processors as standard, cloud computing replacing local storage for many workloads, dedicated AI/ML accelerators (NPUs and GPUs) built into consumer chips, and quantum computing moving from research labs into early commercial prototypes. The throughline across every generation is the same: smaller components, more transistors per chip, and falling cost per unit of computing power.

1.7Booting up and shutting down

Booting is the process of loading the operating system from disk into main memory so the computer becomes usable.

  1. Power reaches the system unit; the cooling fan spins up.
  2. POST (Power‑On Self‑Test) runs, directed by the BIOS/UEFI firmware stored in ROM on the motherboard — it checks that storage, input/output devices, and core components are working. A fault here halts booting and shows an error.
  3. The system reads the current date and time from CMOS, a small battery‑backed memory chip.
  4. The operating system is read from disk and loaded into RAM — this final step is booting proper — and the desktop appears.
Cold bootWarm boot
Starting a computer that was completely off, via the power button.Restarting a computer that was already on, via the restart command or button.

Shutting down correctly matters: save all open work, close running programs, then use the operating system's shutdown command rather than cutting power directly — an abrupt power loss can corrupt files or damage components.

1.8Input devices

Input devices convert human‑readable input into a form the computer can process. They fall into five broad families:

Keying devices

Full keyboards, ergonomic keyboards, keypads, and Braille keyboards for accessibility.

Pointing devices

Mouse (mechanical, optical, wireless), trackball, joystick, light pen, stylus, and — increasingly — touch and trackpad gestures.

Scanning devices

OMR reads pencil/ink marks (exam sheets); OBR reads barcodes; OCR reads printed or handwritten text; MICR reads magnetic ink on cheques; magnetic‑stripe readers read cards.

Speech recognition

Microphones plus recognition software; used for accessibility, hands‑free control, and voice assistants.

Other capture devices

Touch screens, digital cameras, graphics tablets (digitisers), and interactive whiteboards.

Choosing an input device comes down to cost, speed, the volume of data expected, required accuracy, reliability, and the nature of the task.

CHAPTER 02

The Central Processing Unit

The CPU is the component every other piece of the machine exists to serve. This chapter covers its internal parts, how an instruction actually gets executed, and the two competing philosophies — CISC and RISC — for designing it.

2.1Functional units of the CPU

A real physical CPU processor chip package, pins visible
A physical CPU package — the whole ALU + control unit + registers live inside this one chip.
Photo: Konstantin Lanzet / Wikimedia Commons (CC BY‑SA)

Every processor, regardless of size, is built from three functional elements:

CPU functional units diagram MAIN MEMORY holds data & instructions fetch data / instructions send results ALU arithmetic & logic CONTROL UNIT coordinates everything CACHE & REGISTERS tiny, very fast storage signals to ALU, memory & I/O
The CPU's three functional elements and how they exchange data with main memory.

The Control Unit (CU) coordinates every processing activity using the system clock. It interprets each instruction fetched from memory, tells the ALU how to execute it, decides where results are stored, and tracks where the next instruction lives.

The Arithmetic and Logic Unit (ALU) performs the actual arithmetic (addition, multiplication, division) and logical operations (comparisons — greater than, equal to, less than) that make up every computation.

Main memory holds data and instructions immediately before and after processing.

2.2Buses & data pathways

A bus is an electrical pathway that carries signals between components. Three buses connect the ALU, CU, and memory:

BusCarries
Control busTiming and control signals from the CU to the rest of the system.
Address busThe memory location of data to fetch or an instruction to decode.
Data busThe actual data being transferred.

2.3The fetch–decode–execute cycle

This is how every single instruction gets carried out, over and over, for as long as the computer is running.

Fetch-decode-execute cycle diagram FETCH get next instruction DECODE interpret it EXECUTE carry it out
The fetch–decode–execute cycle repeats until the program ends.
  1. Fetch — the Program Counter (PC) holds the address of the next instruction; that address travels along the address bus, and the instruction itself travels back along the data bus into the Instruction Register (IR).
  2. Decode — the CU interprets the instruction against the CPU's built‑in instruction set and prepares the relevant circuitry.
  3. Execute — the operation is actually carried out (e.g. the ALU adds two values), and the result is stored in a register.

The processor then returns to the program counter for the next instruction, and repeats.

2.4Instruction sets & pipelining

An instruction set architecture (ISA) is the vocabulary of commands a CPU understands — things like ADD, COMPARE, LOAD, STORE, and JUMP. Different processors (Intel and AMD, for example) can implement nearly the same ISA — the widely used x86 family — while having very different internal designs.

Pipelining improves throughput by overlapping instruction stages, much like an assembly line: while one instruction is executing, the next is being decoded, and the one after that is being fetched. A single instruction still passes through the same stages — fetch, decode, fetch operands, execute, memory access, write‑back — but multiple instructions are in flight simultaneously, so a new instruction can complete almost every clock cycle once the pipeline is full.

Pipelining isn't free: a pipeline stall happens when one instruction needs a result that hasn't been produced yet; a branch misprediction can force the pipeline to be flushed and refilled; and exceptions can interrupt the flow mid‑stream. Modern CPUs mitigate these with branch prediction and multi‑level caching.

2.5CISC vs. RISC

These are two philosophies for how much work a single instruction should do.

CISC — Complex Instruction Set ComputerRISC — Reduced Instruction Set Computer
A large set of instructions, some of which perform several operations at once (e.g. load, compute, and store in one instruction).A small set of simple instructions, each doing one basic operation.
Variable‑length instructions; more complex decode logic; often uses microcode.Fixed‑length instructions; simpler, faster decode; no microcode layer.
Can need fewer total instructions for a given task, at the cost of pipelining efficiency.Needs more instructions for the same task, but pipelines cleanly and executes each step quickly.
Examples: the original Intel x86 (8086), Motorola 6800.Examples: ARM, SPARC, PowerPC.
Bringing this up to date

The "CISC vs. RISC" framing is still taught, but the line has blurred: modern x86 chips from Intel and AMD are CISC on the outside (they still accept x86 instructions) but translate those instructions into simpler, RISC‑like micro‑operations internally before execution. Meanwhile, ARM — a RISC architecture — now powers the large majority of the world's devices by volume: essentially every smartphone, and, since 2020, Apple's own Mac computers (the M‑series chips) as well as a growing share of cloud servers, precisely because RISC's simplicity translates into much better performance‑per‑watt.

2.6Multicore processors & clock speed trends ● updated

A multicore processor packs two or more independent processing cores onto a single chip, letting the CPU genuinely run multiple instruction streams in parallel rather than just switching between them quickly.

ConfigurationCoresTypical use
Dual‑core2Everyday computing, light multitasking
Quad‑core4Mainstream desktops, gaming
Hexa‑core6Content creation, heavier multitasking
Octa‑core and above8+Workstations, servers, high‑end mobile chips

Clock speed is measured in Hertz (Hz) — one cycle per second — and indicates how many instruction cycles the CPU can process in that time. Kilohertz, megahertz, and gigahertz describe thousands, millions, and billions of cycles per second respectively.

Bringing this up to date

Source material like this often includes a "summary of microprocessors" table that stops around 2006 (Intel Core 2 Duo, AMD Athlon Dual Core). That table has been dropped here in favour of the trend that actually matters for an exam answer today: since roughly 2005, clock speed on its own stopped being the main lever for performance — chip makers hit power and heat limits — so gains since then have come mostly from adding cores, wider parallel execution, and dedicated accelerators. As of 2026, mainstream desktop and laptop CPUs (Intel Core Ultra, AMD Ryzen, Apple M‑series, and ARM‑based chips in phones and increasingly in laptops) typically ship with 6 to 24 cores and boost clock speeds well past 5 GHz, alongside on‑chip GPU and AI‑accelerator (NPU) cores that didn't exist in the era this table was written for.

2.7Von Neumann vs. Harvard architecture

Von Neumann architecture, named after John von Neumann, popularised the stored‑program concept: both data and instructions live in the same memory and travel over the same bus. This made computers general‑purpose and easy to reprogram, but it also creates the well‑known Von Neumann bottleneck — the CPU can't fetch an instruction and read/write data at the same time, because they share one pathway.

Harvard architecture solves this by giving instructions and data separate memory spaces and buses, so both can be accessed simultaneously. This costs more and reduces flexibility (you can't easily treat instructions as data), but it removes the bottleneck — which is why it's the standard choice for embedded systems and digital signal processors, where speed and predictability matter more than general‑purpose flexibility.

Von Neumann vs Harvard architecture diagram VON NEUMANN Memory (data + instructions) single bus CPU (ALU + CU) HARVARD Instruction memory Data memory two buses CPU (ALU + CU)
Von Neumann shares one memory and bus for everything; Harvard keeps instructions and data on separate paths.
Von Neumann ArchitectureHarvard Architecture
One shared memory for data and instructions.Separate memory spaces for data and instructions.
Single shared bus.Separate buses for data and instructions.
Cannot fetch and read/write simultaneously.Can access instructions and data at the same time.
Cheaper, simpler, more flexible — used in general‑purpose PCs.Costlier, less flexible — used in microcontrollers and signal processors.

2.8Reading CPU specifications

Four factors define how a CPU will perform in practice:

  1. Cores — each core is a complete processing unit with its own ALU, control unit, and registers; more cores means more programs can genuinely run at once.
  2. Clock speed — how many cycles per second the CPU can execute, in MHz or GHz.
  3. Cache size — a small pool of very fast memory sitting closer to the CPU than RAM, holding data likely to be reused.
  4. Processor type — whether the design philosophy is CISC or RISC.

On Windows, the quickest way to check these is Task Manager → Performance tab → CPU, which shows core count, base speed, and current utilisation (covered in full in Chapter 6).

CHAPTER 03

Memory Organisation

Why computers use several different kinds of memory instead of one — trading capacity against speed and cost at every layer, from CPU registers down to long‑term storage.

3.1Primary vs. secondary memory

Primary storageSecondary storage
Processed directly by the CPUMust be moved into main memory before use
Located inside/near the CPULocated outside the CPU
More expensive per byteLess expensive per byte
Lower capacityHigher capacity
Faster accessSlower access
Volatile — contents lost on power‑off (RAM)Non‑volatile — contents persist without power

3.2ROM and its types

A ROM/firmware chip — non-volatile, holds the BIOS and bootstrap loader.

Read Only Memory (ROM) is non‑volatile: its contents survive power loss and, under normal operation, can be read but not rewritten. It stores firmware such as the POST routine, the BIOS/UEFI, and the bootstrap loader that finds and starts the operating system.

TypeBehaviour
MROM (Mask ROM)Written once by the manufacturer; can never be changed.
PROMBlank when purchased; can be written once by the user with a PROM programmer, then behaves like MROM.
EPROMErasable by exposure to ultraviolet light, then reprogrammable.
EEPROMElectrically erasable and reprogrammable under software control — used for BIOS chips on modern motherboards.
EAROMReadable quickly, writable slowly; used only in specialist industrial/military applications.

3.3RAM: SRAM vs. DRAM

A real RAM memory chip
A RAM chip — many of these sit together on a DIMM module that slots into the motherboard.
Photo: Wikimedia Commons (CC BY‑SA)

Random Access Memory (RAM) is volatile working storage: it holds whatever programs and data the CPU is actively using, can be read from and written to at any point, and loses everything when power is cut.

Static RAM (SRAM)Dynamic RAM (DRAM)
Stores each bit in a flip‑flop circuit.Stores each bit as an electrical charge that leaks away over time.
Needs no refreshing; holds data as long as power is present.Must be refreshed many times per second to retain data.
Very fast, but expensive — used for CPU cache.Slower and cheaper — used as main system RAM.

3.4Registers, buffers & cache

These "special‑purpose" memories sit inside or near the CPU to close the speed gap between a fast processor and slower memory or I/O devices.

Registers are the fastest memory in the system — tiny, high‑speed storage locations inside the CPU itself, each holding a single piece of data.

RegisterHolds
Instruction Register (IR)The instruction currently being interpreted.
Accumulator (AC)The result of the ALU's most recent operation.
Address Register (AR)The address of the next data to fetch.
Storage Register (SR)Data travelling between the CPU and main memory.
Program Counter (PC)The address of the next instruction to execute.

Buffers are temporary holding areas — often inside an I/O device such as a printer — that free the CPU from having to wait for slow peripherals; they can hold more than one item at a time.

Cache memory is very fast SRAM sitting between the CPU and main memory, holding data and instructions the processor is likely to reuse, which speeds up the fetch cycle.

  • L1 cache — smallest and fastest, built directly into each core.
  • L2 cache — larger, slightly slower, often per‑core or shared between a small group of cores.
  • L3 cache — largest and slowest of the three, typically shared across all cores on the chip.

3.5Memory hierarchy

No single memory technology is simultaneously fast, large, and cheap — so systems layer several kinds together. The memory hierarchy exploits locality of reference (the tendency of a program to reuse the same or nearby data) by keeping frequently‑used data in the fastest, smallest, most expensive memory, and everything else further away.

Memory hierarchy pyramid diagram Registers — fastest, smallest, priciest Cache (L1 / L2 / L3) Main memory (RAM) Secondary storage (SSD / HDD) Archival / removable media ↑ speed, cost ↑ capacity
The memory pyramid: as you go down, capacity grows and cost‑per‑byte falls, but so does speed.
CharacteristicMoving top → bottom
CapacityIncreases
Access timeIncreases (gets slower)
Cost per bitDecreases

3.6Virtual memory

Virtual memory lets the operating system use part of secondary storage (disk) to simulate additional RAM when physical memory is limited or heavily loaded. It maps the virtual addresses a program uses onto real physical addresses, and it means the machine keeps running — just more slowly — instead of running out of memory outright.

Benefits: larger effective memory for running big or many applications; memory isolation between processes (better security and stability); and simplified programming, since the OS manages allocation automatically.

Limitations: disk access is far slower than RAM, so heavy swapping causes thrashing — the system spends more time moving data than doing useful work; and it depends on having enough free disk space.

3.7Secondary storage devices ● updated

Magnetic storage reads and writes data using magnetised material.

DeviceNotes
Magnetic tapeSequential access; cheap, high‑capacity backup; still used for enterprise archival, but obsolete for everyday use.
Hard disk drive (HDD)Spinning magnetic platters read by moving heads; large capacity at low cost per gigabyte, but slower and more fragile than solid‑state storage.

Optical storage reads and writes with a laser beam.

FormatTypical capacity
CD (CD‑ROM / CD‑R / CD‑RW)Up to ~700 MB
DVDUp to ~17 GB (dual‑layer, dual‑sided)
Blu‑ray discUp to ~50 GB (dual‑layer)

Solid‑state storage has no moving parts — it stores data purely electronically, like RAM but non‑volatile.

Bringing this up to date

Older syllabus notes typically dwell on floppy disks (1.44 MB), Zip disks (250 MB), and Jaz disks (2 GB), and describe flash drives as topping out "as much as 32 GB." All of these removable‑magnetic formats are effectively obsolete today. What actually matters for a modern exam answer: SSDs (solid‑state drives), especially those using the NVMe interface, are now the default primary storage in most new computers, commonly ranging from 256 GB to several terabytes, with far faster access times than any spinning disk. USB flash drives now routinely reach 128 GB–1 TB. Optical media (CD/DVD/Blu‑ray) has largely been displaced by cloud storage and streaming for consumers, though Blu‑ray remains relevant for physical archival and some media distribution. The underlying advantages and disadvantages taught for each category still hold — only the numbers needed updating.

3.8RAID

RAID (Redundant Array of Independent Disks) combines multiple physical drives into one logical unit for better performance, redundancy, or both.

LevelHow it worksFault tolerance
RAID 0 — StripingData split across disks for speed.None — one disk failure loses everything.
RAID 1 — MirroringData duplicated identically on two or more disks.Survives failure of any one disk in the mirror.
RAID 5Data and parity striped across 3+ disks.Survives one disk failure.
RAID 6Like RAID 5, with two parity blocks.Survives two disk failures.
RAID 10 (1+0)Mirrored pairs of disks, then striped across those pairs.High — combines redundancy with performance.

RAID improves reliability and speed, but it is not a substitute for backups — it protects against drive failure, not against accidental deletion, corruption, or ransomware.

3.9Memory capacity units ● corrected

A byte is the basic addressable unit of memory — 8 bits, enough to represent one character.

UnitExact valueApproximate
Kilobyte (KB)210 = 1,024 bytes~10³ bytes
Megabyte (MB)220 = 1,048,576 bytes~10⁶ bytes
Gigabyte (GB)230 = 1,073,741,824 bytes~10⁹ bytes
Terabyte (TB)240 = 1,099,511,627,776 bytes~10¹² bytes
Correction

The source material labelled a gigabyte "approximately one billion bytes (10¹²)" and a terabyte "approximately one trillion bytes (10²⁴)" — both exponents were wrong (likely a formatting error from the original document). A gigabyte is ~10⁹ bytes and a terabyte is ~10¹² bytes, as shown correctly in the table above. It's also worth knowing that storage manufacturers usually advertise capacity using decimal gigabytes (10⁹ bytes exactly), while operating systems often report capacity in binary gigabytes (2³⁰ bytes) — which is why a "1 TB" drive shows up as roughly 931 GB in Windows' file explorer.

CHAPTER 04

Input–Output Organisation

How the CPU talks to everything outside itself — peripheral buses, the interfaces that connect them, and the three competing strategies for moving data without wasting the processor's time.

4.1I/O overview

Input–output (I/O) is the exchange of data between the computer system and the outside world — input devices bring data in, output devices present results, and backing storage devices hold data more permanently than RAM. Choosing peripherals well means matching their specifications (speed, accuracy, resolution, capacity) to what the user actually needs, rather than buying by feature count alone.

4.2I/O processing & the bus interface unit

An I/O processor is a separate processor dedicated to handling input/output work, so the main CPU doesn't have to babysit slow peripherals — it hands off a task and gets the result later.

The Bus Interface Unit (BIU) manages all data and address transfers on the buses on behalf of the execution unit, including fetching instructions and reading/writing data and ports — the execution unit has no direct line to the system buses, so everything routes through the BIU.

An interface is the hardware circuitry that sits between the computer and an I/O device, handling the actual transfer of input/output.

4.3Expansion buses ● updated

BusPurpose
PCIGeneral‑purpose internal expansion bus for network, sound, and other add‑in cards.
PCI Express (PCIe)Point‑to‑point serial links ("lanes") that replaced PCI and AGP; far higher bandwidth, essential for modern graphics cards, NVMe SSDs, and network cards.
PCMCIAThe classic credit‑card‑sized expansion standard for laptops; historically used for memory, modems, and network cards.
AGPAn older dedicated graphics‑card interface, superseded by PCI Express.
Bringing this up to date

AGP and PCMCIA are now obsolete — they are useful to know for the history of the exam syllabus, but you won't find them in any computer built in the last 15 years. Modern laptops instead use M.2 slots (for NVMe SSDs and Wi‑Fi cards) and Thunderbolt/USB4 ports, which carry PCIe lanes over an external, reversible connector. PCI Express itself is now on its 5th and 6th generations, each roughly doubling the bandwidth of the last.

4.4External connections ● updated

InterfaceNotes
USB (Universal Serial Bus)Dominant standard for connecting peripherals; supports plug‑and‑play, and can deliver power to low‑draw devices.
FireWire (IEEE 1394)High‑speed serial interface once popular for camcorders and external drives.
PS/2Legacy round connector for keyboards and mice, predating USB.
Bringing this up to date

FireWire and PS/2 are now legacy interfaces, rarely found on new hardware. USB has consolidated almost everything: USB‑C is now the standard physical connector across phones, laptops, and accessories (and is mandated for many devices sold in the EU), and USB4 / Thunderbolt 4/5 carry data, video, and up to 240 W of power over the same small connector, at speeds (up to 40–80 Gbps) that make the old distinction between "USB device" and "expansion card" much blurrier than it used to be.

4.5Modes of data transfer

There are three ways the CPU can move data to and from an I/O device, trading off simplicity against efficiency.

1 · Programmed I/O

The CPU issues a command, then repeatedly polls the device's status until the operation finishes. Simple, but wastes CPU time if the device is slow.

2 · Interrupt‑driven I/O

The CPU issues a command and moves on to other work; the device signals an interrupt when it's ready, and the CPU jumps to a handler routine. Far more efficient than polling.

3 · Direct Memory Access (DMA)

A dedicated DMA controller transfers an entire block of data directly between memory and the device — bypassing the CPU almost entirely — and only interrupts the processor once the whole transfer is complete. Best for large transfers.

An I/O module can receive four kinds of command from the processor: Control (tell a peripheral what to do, e.g. rewind a tape), Test (check status — is it ready? did an error occur?), Read (pull data from the peripheral into a buffer), and Write (push data from the bus out to the peripheral).

CHAPTER 05

Computer Arithmetic & Logic

The mathematical foundation everything else sits on: how numbers are represented in binary, how the ALU actually adds and subtracts, and how Boolean logic becomes physical circuitry.

5.1Number systems

A few units of measure first: a bit is a single binary digit (0 or 1); a nibble is 4 bits; a byte is 8 bits, the standard unit for one character; and a word is two or more bytes — commonly 16, 32, or 64 bits, describing how much data a CPU handles in one chunk.

Computers work with four number systems, each defined by its base (radix) — how many unique digits it uses before repeating with a new place value.

SystemBaseDigits usedExample
Binary20, 11011₂
Octal80–7724₈
Decimal100–97458₁₀
Hexadecimal160–9, A–F946ₕ

Every positional number system works the same way: each digit's contribution is digit × baseposition, counting positions from 0 at the rightmost digit. For example, binary 1011₂ equals (1×2³) + (0×2²) + (1×2¹) + (1×2⁰) = 8 + 0 + 2 + 1 = 11 in decimal.

To convert a decimal number to binary by hand, repeatedly divide by 2 and record the remainders — reading them from bottom to top gives the binary result. For example, 30 ÷ 2 repeatedly gives remainders 0,1,1,1,1 (bottom to top), so 30₁₀ = 11110₂.

Octal‑to‑binary and hexadecimal‑to‑binary conversions are especially quick because each octal digit maps to exactly 3 binary digits, and each hex digit maps to exactly 4 — you can convert digit‑by‑digit without doing any arithmetic on the whole number at all.

5.2Interactive converter

Type a value into any one field — the other three update instantly. Use it to check your manual working, or to build intuition for how the same value looks across bases.

Number base converter

Accepts whole numbers only. Binary: 0–1 · Octal: 0–7 · Decimal: 0–9 · Hex: 0–9, A–F
Works entirely in your browser — nothing is sent anywhere.

5.3Coding schemes ● updated

Coding schemes define how bit patterns map onto characters and numbers, so text and symbols can be stored and exchanged consistently.

SchemeWidthNotes
BCD (Binary Coded Decimal)4 bitsEncodes numeric digits only; still used in simple electronics like calculators and digital displays.
EBCDIC8 bits256‑character scheme used historically on IBM mainframes.
ASCII7 bits (128 chars), extended to 8 bits (256 chars)The long‑standing standard for English‑language text.
Bringing this up to date

ASCII is still the foundation, but it can only represent 128–256 characters — nowhere near enough for the world's languages, emoji, and symbols. Virtually all modern software instead uses Unicode, most commonly encoded as UTF‑8, which is backward‑compatible with ASCII (the first 128 code points are identical) but can represent over a million distinct characters. If this comes up in an exam context today, Unicode/UTF‑8 is the answer to give alongside ASCII.

5.4Signed numbers & two's complement

Computers need a way to represent negative numbers using only 0s and 1s. There are three approaches:

  1. Sign‑and‑magnitude — prefix an extra bit: 0 for positive, 1 for negative. Simple, but zero has two representations (+0 and −0).
  2. One's complement — flip every bit (a "bitwise NOT") to get the negative of a number. Also has two representations of zero.
  3. Two's complement — flip every bit, then add 1. This is what real computers use, because zero has exactly one representation, and addition/subtraction work correctly without any special‑case circuitry for the sign.
Worked example

Convert 45 to its 8‑bit two's complement: 45 = 00101101. Flip every bit (one's complement) → 11010010. Add 1 → 11010011. So 11010011₂ represents −45.

5.5Binary arithmetic

Addition follows four simple rules, the same way decimal addition follows the "carry the 1" rule:

0 + 0 = 00 + 1 = 11 + 0 = 11 + 1 = 10 (carry 1)

The ALU doesn't have separate subtraction circuitry — it performs subtraction by addition, using two's complement: to compute A − B, it takes the two's complement of B and adds it to A. Multiplication and division are handled by repeated shifting and adding, rather than dedicated multiply/divide logic in the simplest designs.

Worked example — subtraction via two's complement

5 − 3: represent 5 as 00000101 and 3 as 00000011. Two's complement of 3 → 11111101. Add: 00000101 + 11111101 = (1)00000010. The 9th bit (the carry‑out) is discarded, leaving 00000010 = 2. Correct.

5.6IEEE 754 floating point

An integer is a whole number with no fractional part. A floating‑point number represents real numbers — ones with a fractional component, like 5.5 or −2345.6789 — using a fixed number of bits split into three fields, standardised by IEEE 754 so every compliant system computes the same result:

  • Sign bit (S) — 0 for positive, 1 for negative.
  • Exponent (E) — the scale of the number, stored with a bias.
  • Mantissa / fraction (F) — the significant digits.

This is why floating‑point arithmetic can introduce small rounding errors: a fixed number of bits can't exactly represent every possible real number, the same way ⅓ can't be written exactly as a finite decimal.

5.7Logic gates & Boolean algebra

Every digital circuit — including the entire CPU — is built from combinations of a handful of logic gates, each implementing one Boolean operation.

AND — output true only if both inputs are true

ABA·B
000
010
100
111

OR — output true if either input is true

ABA+B
000
011
101
111

NOT — inverts a single input

AĀ
01
10

NAND — the inverse of AND

ABOut
001
011
101
110

NOR — the inverse of OR

ABOut
001
010
100
110

XOR — true only if the inputs differ

ABA⊕B
000
011
101
110

XNOR — true only if the inputs match

ABOut
001
010
100
111

NAND and NOR are called universal gates — either one, on its own, can be wired together to reproduce every other logic gate, which is why real chips are often built almost entirely from just one of them.

5.8Karnaugh maps

A Karnaugh map (K‑map), developed by Maurice Karnaugh in 1953, is a grid‑based way to simplify a Boolean expression without grinding through algebraic manipulation. Each cell represents one possible combination of input values, arranged so that only a single bit changes between any two adjacent cells (Gray code order) — that arrangement makes groups of neighbouring 1s easy to spot visually, and each group you circle corresponds to a simplified term in the final expression. It's essentially a specially laid‑out truth table designed to make simplification visual rather than algebraic.

CHAPTER 06

Practical System Skills

The hands‑on Windows counterpart to the theory above — how to actually go and look at your CPU, memory, and disk configuration.

6.1Task Manager

Open it with Ctrl + Shift + Esc, or right‑click the taskbar and choose Task Manager, or run taskmgr from the Run dialog (Win + R).

Processes

Running apps and background tasks, with live CPU, memory, disk, and network usage per process.

Performance

Real‑time graphs for CPU, memory, disk, and network — click "CPU" to see core count and clock speed.

Startup

Programs that launch automatically with Windows; disable ones you don't need to speed up boot.

Users / Details / Services

Per‑user resource use, fine‑grained process control, and the underlying Windows services.

6.2Performance Monitor

Open it by typing perfmon into the Run dialog (Win + R). It goes beyond Task Manager's live view by letting you track specific counters (like % Processor Time or Available MBytes) over time, and save that history as a Data Collector Set you can revisit later — useful for diagnosing intermittent performance problems rather than just glancing at a snapshot.

6.3Partitioning & virtual memory settings

Disk partitioning divides one physical drive into separate logical sections, each behaving like an independent disk — useful for keeping the operating system, data, and multiple OS installs separate. On Windows this is done through Disk Management (search for it in the Start menu).

Virtual memory (page file) settings are found under System Properties → Advanced → Performance → Settings → Advanced → Virtual Memory, where you can let Windows manage the paging file automatically or set a custom size per drive.