Syllabus coverage
- Describe how data is transmitted from one device to another using different methods of data transmission, including serial and parallel
- Describe the transmission modes simplex, half-duplex and full-duplex, including the advantages and disadvantages of each method
- Explain the suitability of each method of data transmission for a given scenario
- Understand the universal serial bus (USB) interface and explain how it is used to transmit data
- Explain the benefits and drawbacks of the USB interface
Part of the O Level Computer Science syllabus 2210.
Two questions every connection has to answer
When one device sends data to another, two separate decisions have been made about the link. The first is how the bits travel along the wires: either one bit at a time, which is serial, or several bits side by side, which is parallel. The second is which direction the data is allowed to move: one way only, both ways in turn, or both ways at once.
These two decisions are independent of each other. A parallel cable can still be simplex, and a serial cable can be full-duplex. Exam questions often mix them up, so keep the two ideas in separate boxes in your mind: the type of transmission describes the shape of the signal, and the method, or mode, describes its direction.
The choice is not about which method is 'best'. It is about what the link has to do. A connection that must send a large amount of data a short distance has different needs from one that must send a few characters a long way, and a link that must carry a conversation in both directions has different needs again.
Serial transmission
In serial transmission the bits of each byte are sent one after another down a single channel. The eight bits of a byte leave the sender in order and arrive in the same order, one clock tick apart.
The strength of serial transmission is that there is nothing to keep in step apart from a single stream. Because all the bits follow the same path, they cannot drift apart from one another, so the method stays accurate over long distances. A single wire or pair of wires is also cheap to make and less exposed to interference than a wide cable, and it is easy to run through a long cable or a telephone line.
The weakness is speed per wire: only one bit arrives per clock tick, so for a given clock speed serial is slower than a parallel link of the same width. Modern serial standards compensate with very high clock rates, which is why almost every cable in current use, including network cable and USB, is serial.
- One bit is sent at a time along one channel.
- The bits cannot become skewed, because they all travel the same path.
- Cheap cable, and reliable over long distances.
- Slower than parallel for the same clock speed.
Parallel transmission
In parallel transmission several bits are sent at the same moment, each on its own wire. An eight-bit parallel link has eight data wires, so a whole byte leaves the sender in one clock tick and the transfer is roughly eight times faster than a serial link running at the same clock speed.
That advantage only survives over short distances. The wires in the cable are never perfectly identical, so bits that left together arrive at slightly different moments; this is called skew. If the difference grows larger than one clock tick, the receiver samples the wires while some bits of the byte are still arriving and reads the wrong value. Crosstalk between the closely packed wires adds interference on top of this.
Parallel links are therefore found inside a machine and over short external runs, such as the old printer ports and the ribbon cables inside a computer case, rather than between buildings. The wide cable is also bulkier and more expensive than a single serial pair.
| Serial | Parallel | |
|---|---|---|
| Bits per clock tick | One | Several, one per wire |
| Cable | One channel, thin and cheap | Many wires, thick and more expensive |
| Behaviour over distance | Reliable, because the bits cannot become skewed | Unreliable, because skew and crosstalk grow with length |
| Typical use | Long-distance links, networks, USB | Short internal runs and older short external cables |
| Speed at the same clock rate | Slower | Faster |
Simplex: data in one direction only
Simplex allows data to travel in one direction only. One device is permanently the sender and the other is permanently the receiver; the receiver has no way of sending anything back along that link.
Because only one direction is ever used, the link needs only one channel and the circuitry at each end is simple, so simplex is the cheapest mode to build. The obvious cost is that the receiver can never reply: it cannot ask for a lost item to be sent again, cannot confirm that the data arrived, and cannot report an error.
Simplex suits one-way flows of information where a reply would be pointless. A keyboard sends each keypress to the computer and never needs an answer, a computer sends the picture to a monitor, and a sensor in a weather station sends readings to a logger. A television broadcast is simplex for the same reason: the transmitter has no interest in what any individual receiver wants to say.
Half-duplex: both directions, taking turns
Half-duplex allows data to travel in both directions, but only one direction at a time. The two devices take turns: while one is transmitting the other listens, and then the roles swap.
This is cheaper than a full-duplex link because the same channel is reused for both directions rather than being duplicated. The cost is the delay while the link changes direction, and the need for the two ends to agree whose turn it is; if both transmit at once, the signals collide and both are lost.
A walkie-talkie is the standard example, and it shows the turn-taking clearly: you hold the button to speak and release it to listen, which is why people say 'over' when they finish. Older network hubs and some radio links also work in half-duplex, sharing one channel between devices in both directions.
Full-duplex: both directions at once
Full-duplex allows data to travel in both directions at the same time. Each end can transmit while it is receiving, so no time is wasted waiting for the channel to be handed over and no turn-taking rules are needed.
A telephone call is the everyday example, because both people can talk and listen simultaneously without pressing anything. Full-duplex is the fastest and most convenient of the three modes, but it needs a link that can carry two signals at once, either as two separate channels or by splitting the bandwidth, so the hardware is more expensive than a simplex or half-duplex link.
Modern network connections are commonly full-duplex for exactly this reason: a computer can be sending a request to a server while the reply to the previous request is still arriving, which keeps the link busy in both directions.
| Mode | Direction | Example | Advantage | Disadvantage |
|---|---|---|---|---|
| Simplex | One way only | Keyboard to computer; computer to monitor | Cheapest, simplest link; the whole capacity is used in one direction | The receiver can never reply, confirm or request a re-send |
| Half-duplex | Both ways, one at a time | Walkie-talkie | One channel serves both directions, so it costs less than full-duplex | There is a delay while the direction changes, and both ends must take turns |
| Full-duplex | Both ways at the same time | Telephone call | Fastest and most convenient; no waiting to change direction | Needs two channels or split bandwidth, so the hardware costs more |
The USB interface
USB (universal serial bus) is a standard interface for connecting devices to a computer and carrying data between them. As the name says, it uses serial transmission: the bits of each packet travel one at a time along a twisted pair inside the cable rather than side by side on many wires.
The word 'universal' describes the real benefit. USB is a published standard, so a port built by one manufacturer accepts a device made by another with no adapter and no special card. The host computer detects the device when it is connected, identifies it and loads the correct driver automatically, which is what plug and play means. The connection is also hot-swappable: devices can be attached and removed while the computer is running, without restarting it. A hub lets several devices share one port, and the same cable can supply power to the device as well as carry data, which is why a single lead is enough for many peripherals.
Data is transferred in one direction at a time on each of the two data wires, with the host controlling when each device may send. The host polls the devices in turn, so no two devices transmit at once and the data does not collide.
USB is not without limits. A standard cable is short, typically a few metres, so it cannot connect a device in another room without an active extension. The achievable speed depends on the USB version supported at both ends, so an old device in a new port runs at the older, slower rate. Earlier versions also share bandwidth between all the devices on one host controller, so many busy devices on one hub can slow each other down.
- Uses serial transmission, one bit at a time, along a twisted pair.
- A standard connector, so devices from different manufacturers fit the same port.
- Plug and play: the driver is detected and installed automatically.
- Hot-swappable: devices can be connected and removed while the computer is on.
- Carries power as well as data, and a hub allows several devices on one port.
- Drawbacks: limited cable length, and speed set by the oldest USB version in the link.
Choosing a method: worked reasoning
Suitability questions give you a scenario and expect a method, a reason drawn from the properties of the method, and a link to the scenario. Three short examples show the pattern.
A security camera fixed to a wall sends video to a recorder a few metres away and never receives data. Simplex would match the one-way flow, but USB is normally chosen because the same cable supplies power and the standard connector means any recorder accepts it.
A desktop computer sending print data to a printer beside it on an old wide cable is parallel: the distance is short, so skew does not have time to build up, and the extra width buys speed. The same printer today would use USB, because serial links now run fast enough for the short run and the cable is cheaper.
A radio link between two handheld units where each operator speaks in turn is half-duplex: one channel is shared, the operators take turns, and the delay when the direction changes is accepted because a second channel would cost more.
Key terms you must be able to define
- Serial transmission
- A method of transmission in which the bits are sent one at a time along a single channel. It is reliable over long distances because the bits cannot become skewed.
- Parallel transmission
- A method of transmission in which several bits are sent at the same time, each on its own wire. It is faster than serial at the same clock speed but suffers from skew over distance.
- Skew
- The effect in parallel transmission where bits sent together arrive at slightly different times because the wires are not identical, so the receiver may read them in the wrong order.
- Simplex
- A transmission mode in which data travels in one direction only, for example from a keyboard to a computer.
- Half-duplex
- A transmission mode in which data can travel in both directions, but only one direction at a time, for example a walkie-talkie.
- Full-duplex
- A transmission mode in which data can travel in both directions at the same time, for example a telephone call.
- USB (universal serial bus)
- A standard serial interface for connecting devices to a computer. It is plug and play, hot-swappable, can supply power, and allows several devices to share a port through a hub.
- Plug and play
- The property of an interface such as USB by which the computer recognises a newly connected device and installs the driver for it automatically, with no setup by the user.
- Hot-swappable
- The property of an interface such as USB by which a device can be connected or disconnected while the computer is running, without restarting it.
- Interface
- The hardware and rules that let two devices connect and exchange data, such as the USB port, plug and cable standard.
In context
2210 sets its questions inside systems a student already uses - a school network, a phone, a supermarket till, a vending machine, a website. These show how the theory is applied to a context you have not seen before, then you answer for the system you are given.
Each machine connects to its keyboard and mouse by USB. The link is serial and, in practice, half-duplex on the shared data pair: the host asks a device to send, the device replies, and then the next device is polled. The standard connector means a replacement keyboard from any manufacturer works in any machine without an adapter, and no one has to restart the computer to swap it.
The barcode scanner sits on the counter and sends each scanned code to the till. Only one direction matters on that link, so simplex would be enough to describe the flow. USB is used because it also powers the scanner, and because the scanner can be unplugged and replaced mid-shift without switching the till off.
The presenter's laptop drives a projector across the room. The cable run is long enough that a wide parallel cable would suffer from skew, so a serial connection is used instead: one stream of bits, no wires to keep in step, and a thinner cable that is easier to route. The projector never sends picture data back, so that part of the link is one-way.
Staff speak to a controller over handheld radios on one shared channel. Both directions are needed, but only one person can speak at a time, so the system is half-duplex. The operators take turns and accept the short pause when the channel changes hands, which is cheaper than providing a separate channel for each direction.
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
6 questions, 19 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Exam technique for this topic
- Answer the question that was asked. 'How many bits travel at once' is serial versus parallel; 'which way may the data go' is simplex, half-duplex or full-duplex. Mixing the two loses marks even when both facts are correct.
- For parallel, the phrase that scores is 'the bits can become skewed', followed by the consequence: they arrive at different times and the receiver reads them in the wrong order.
- For a suitability question, structure the answer as method, property, scenario. Name the method, state the property that matters, and say why that matters here; a list of advantages with no choice will not reach the top band.
- For USB, the exam expects the mechanism and the properties: serial transmission, a standard connector, plug and play, hot-swappable, power over the same cable, and the drawbacks of cable length and version-dependent speed.
- Do not write that USB is 'faster because it is newer'. The speed of a USB link is set by the slowest version in the chain, and the reason it is widely used is that it is a standard, not that it is the fastest option available.
Why students lose marks here
Where this fits in O Level Computer Science 2210
This page is one topic of Cambridge O Level Computer Science 2210. O Level Computer Science 2210 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Computer Science 2210 syllabus page.