AS Level · Topic 4.1
A-Level Computer Science 9618 / Topic 4 / AS

Wider, faster, more.

Data moves around a computer along three buses, and the width of each one sets limits on what the system can do. Add the number of cores, the clock speed and the cache, and you have the factors that decide how fast a computer really is. Then look at the ports that connect it to the outside world.

The key idea

The address bus carries addresses one way, from the processor to memory; with n address lines it can address 2n locations. The data bus carries data and instructions both ways; a wider data bus moves more bits in each transfer. The control bus carries signals such as read, write, clock and interrupt, both ways. Performance depends on the processor type, the number of cores, the bus width, the clock speed and the size of the cache. Ports such as USB, HDMI and VGA connect peripheral devices.

CPU memory and I/O ports address bus: one way data bus: two way control bus: two way the system bus n address lines can address 2ⁿ locations a wider data bus moves more bits in each transfer
Fig. 1: the address, data and control buses that make up the system bus
Section 01

Three buses.

A bus is a set of parallel wires connecting the components of a computer. The width of a bus is the number of wires, which is the number of bits it carries at once.

BusCarriesDirectionEffect of width
Address busThe address of the memory location (or I/O port) to be accessed, from the MAROne way: processor to memoryn lines can address 2n locations
Data busData and instructions, to and from the MDRTwo wayMore bits moved in one transfer
Control busControl and timing signals: memory read, memory write, clock, interrupt request, bus requestTwo wayNot usually asked
Worked example Address bus width
A processor has a 24-bit address bus. How many memory locations can it address?
  1. Each address line is one bit, so there are 224 different addresses.
  2. 224 = 210 × 210 × 24 = 1024 × 1024 × 16 = 16 777 216.
  3. If every location holds one byte, that is 16 MiB of addressable memory.
Answer: 16 777 216 locations (16 MiB)
Your turn
A data bus is increased from 32 bits to 64 bits. How many transfers are now needed to move 256 bytes, and how many were needed before?
Examiner trap

Widening the address bus does not make each transfer bigger: it increases how many memory locations can be addressed. It is the data bus width that sets how many bits move per transfer.

Section 02

What makes it fast.

In the lab, change the number of cores, the cache size and the clock speed, and watch how long the same work takes. Then learn the reason behind each factor: marks are given for the explanation, not just the name.

FactorWhy it improves performanceLimit
Processor typeDifferent designs (architectures and instruction sets) complete different amounts of work in each clock cycle.Software must be written or compiled for that type.
Number of coresEach core can fetch, decode and execute its own instructions, so several tasks or threads run at the same time.Only helps if the software can be split into parts that run in parallel; cores must also communicate.
Bus widthA wider data bus moves more bits per transfer; a wider address bus allows more memory to be addressed.Must be matched by the processor and memory.
Clock speedMore clock pulses per second means more F-E cycles, so more instructions per second.More heat; other parts (such as memory) may not keep up.
Cache memoryVery fast memory close to the processor holds frequently used instructions and data, so fewer slow accesses to main memory are needed.Expensive; a bigger cache takes longer to search.
Examiner trap

Doubling the cores does not double the speed. Say that some tasks cannot be split up to run in parallel, and that time is spent coordinating the cores.

Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

Which bus carries addresses, and in which direction?

Quick check+10 XP

In the lab, what does a larger cache do?

Quick check+10 XP

A processor has a 16-bit address bus. How many locations can it address?

Quick check+10 XP

Which port carries both high-definition video and audio in one digital cable?

Section 03

Three ports.

A port is the socket on a computer where a peripheral device is plugged in. Each one follows a standard so that any matching device works with it.

PortWhat it carriesTypical devices
Universal Serial Bus (USB)Serial data both ways. Device is identified automatically and the right driver is loaded; supplies power to the device; can be connected while the computer is running.Keyboard, mouse, flash drive, printer, phone charging and syncing
High Definition Multimedia Interface (HDMI)Digital signal carrying high-definition video and audio together in one cable; supports copy protection (HDCP).Monitor, television, projector
Video Graphics Array (VGA)Analogue video signal only (no audio); an older standard that gives lower quality at high resolutions.Older monitors and projectors
Your turn
A school wants to connect a laptop to a projector and play a video with sound through the projector's speakers. Which port should it use, and why not VGA?
Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS Paper 1 and Paper 2 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Why might a quad-core processor not run a program four times faster than a single-core one?

Exam style+20 XP

What is the effect of increasing the width of the data bus?

Exam style+20 XP

Which signal is carried on the control bus?

Exam style+20 XP

Which is a feature of a USB port?

Skill unlocked

Buses, ports and processor performance, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
The three buses and their widths, the factors that affect processor performance, and the USB, HDMI and VGA ports.