๐Ÿ“ก How Does Data Travel?

Data Transmission Visualiser

When you send a message or load a webpage, the data has to physically travel from one device to another. But how? Watch it happen.

CS GCSE ยง1.3 CS A-Level Unit 3 DigiTech A-Level Unit 3

๐Ÿค” How does a message get from your phone to your friend's?

Data is sent as electrical signals (through wires), light pulses (through fibre optic), or radio waves (WiFi/4G). But there are rules about how it's sent โ€” one bit at a time? All at once? Can both sides talk at the same time?

1๏ธโƒฃ

Serial vs Parallel Transmission

Should we send bits one at a time, or several at once?

๐Ÿ“ Serial โ€” one lane road

Bits travel one at a time down a single wire. Like a single-lane road โ€” cars go one behind the other.

  • โœ… Reliable โ€” bits arrive in order
  • โœ… Works over long distances โ€” USB, internet
  • โŒ Slower โ€” one bit at a time
  • ๐Ÿ“Œ Examples: USB, SATA, Ethernet
๐Ÿ›ฃ๏ธ Parallel โ€” motorway

Multiple bits travel at the same time on separate wires. Like a motorway โ€” 8 lanes at once.

  • โœ… Faster โ€” 8 bits at once
  • โŒ Skew โ€” bits may arrive at different times
  • โŒ Short distances only โ€” wires interfere
  • ๐Ÿ“Œ Examples: Internal CPU buses, old printer cables
2๏ธโƒฃ

Direction of Transmission

Can both sides send at the same time, or do they take turns?

๐Ÿ“บ
Simplex
One direction only
A โ†’ โ†’ โ†’ B
TV broadcast, keyboard to PC, radio
๐Ÿ”„
Half Duplex
Both directions, but take turns
A โ†’ โ†’ B
A โ† โ† B
Walkie-talkies ("over!")
๐Ÿ“ž
Full Duplex
Both directions at the same time
A โ‡„ B
Phone call, video chat
3๏ธโƒฃ

Packet Switching

When you send a large file, it gets broken into small packets. Each packet finds its own route and they're reassembled at the other end. Like sending a jigsaw puzzle โ€” one piece per envelope, different routes, put together when they all arrive.

๐Ÿ’ป
Your PC
๐ŸŒ
Internet
๐Ÿ—„๏ธ
Server
๐Ÿ“ฆ What's inside a packet?
Source IP
Where it's from
Dest IP
Where it's going
Seq #
Packet order (1 of 3)
Payload
The actual data
๐Ÿ“ Exam tip: Packets may arrive out of order (they took different routes). The sequence number tells the receiving computer how to put them back in the right order. If a packet goes missing, the receiver asks for it to be re-sent โ€” this is part of the TCP protocol.