Wimzee Cambridge Academy
← All Revision Notes← IGCSE Computer Science

Data Transmission

Revision Notes — IGCSE
CAIE IGCSE Computer Science (0478) • Topic 2 of 10 • Paper 1 & Paper 2
Mastered: 0 / 2

2.1 Types and Methods of Data Transmission

Data is broken into packets before it is sent across a network. Sending small packets means many users can share the same connection, a failed packet can be resent on its own, and traffic can be routed around congestion.

Part of packetContents
HeaderDestination IP address, source IP address, packet number (so packets can be reassembled in order), protocol being used
PayloadThe actual data being transmitted
TrailerA method of error checking, such as a checksum, so the receiver can tell whether the packet was corrupted

Packet switching

  1. Data is broken into packets, each with a header containing the destination address and a packet number.
  2. Each packet is sent independently and may take a different route.
  3. Routers read the destination address in each header and forward the packet along the best available route.
  4. Packets may arrive out of order; the receiving device reassembles them using the packet numbers.
  5. If a packet is corrupted or missing, the receiver requests it again.

Serial and parallel

MethodDescriptionAdvantagesDisadvantages
SerialBits sent one at a time down a single wireReliable over long distances; cheaper cable; no skew between bitsSlower than parallel over very short distances
ParallelSeveral bits sent simultaneously down multiple wiresFast over very short distancesBits can arrive skewed; crosstalk; only suitable for short runs

Direction of transmission

2.2 Transmission Media

MediumHow it worksNotes
Copper cable (UTP / coaxial)Electrical pulses along a metal conductorCheap and easy to install, but suffers from interference and attenuation over distance
Fibre opticPulses of light reflected along a glass coreVery high bandwidth, immune to electrical interference, secure, works over long distances; more expensive and fragile
Radio wavesElectromagnetic waves through the airUsed for Wi-Fi, Bluetooth and mobile networks; no cable needed but can be intercepted and affected by other signals
MicrowavesHigh-frequency radio waves, line of sightUsed for point-to-point links between buildings; affected by weather and obstacles
SatelliteMicrowaves to and from an orbiting satelliteCovers remote areas; high latency and expensive

Bandwidth and speed

2.3 IP and MAC Addresses

AddressWhat it isKey points
IP addressA unique address given to a device on a networkCan be static (fixed, needed for servers and printers) or dynamic (assigned by DHCP and can change). Public IPs are visible on the internet; private IPs are used inside a LAN.
MAC addressA 48-bit hardware address burned into the network interface cardFixed by the manufacturer, written in hexadecimal, used to identify a device on a LAN. Cannot normally be changed by the user.

A router forwards packets between networks using IP addresses. A switch forwards frames within a LAN using MAC addresses. A NIC (network interface card) connects a device to a network and holds its MAC address.

2.4 Error Detection

MethodHow it worksLimitation
ParityAn extra parity bit is added so the number of 1s is always odd (or always even). On arrival the receiver counts the 1s.Only detects an odd number of errors; cannot detect two bits changing
ChecksumThe sender calculates a value from the data and sends it with the data; the receiver recalculates and comparesSome errors can still produce the same checksum
Echo checkThe receiver sends the data back and the sender compares it with the originalDoubles the traffic; slow
Check digitAn extra digit calculated from the others (ISBN, barcode) validates the whole numberOnly suitable for numbers such as codes and identifiers
ARQAutomatic repeat request: the receiver acknowledges good packets and asks for damaged ones to be resent, using a timeoutAdds delay and extra traffic

2.5 Encryption

Encryption scrambles data using a key so that anyone intercepting it cannot read it. It protects data during transmission, for example on banking and shopping websites.

TypeHow it worksUse
SymmetricThe same key encrypts and decryptsFast, but the key must be shared securely with the receiver
AsymmetricA public key encrypts and a matching private key decryptsUsed to exchange keys safely; slower, so used for small amounts of data

SSL/TLS combines both: asymmetric encryption is used to agree a shared session key, then symmetric encryption protects the actual data. A padlock and https in the address bar show this is in use.

Exam trap

Do not say a MAC address is used to route packets across the internet — that is the IP address. MAC addresses only work inside a local network.

Five-minute drill

  1. State three items of information stored in a packet header.
  2. Explain why fibre optic cable is used for undersea links.
  3. Give one difference between a static and a dynamic IP address.
  4. A byte 1011 0011 is sent with even parity. What parity bit is added?
  5. Explain the difference between half-duplex and full-duplex.
Exam practice 1[6]

A video is streamed from a server to a student's laptop. Describe how packet switching is used to deliver the video.

Mark scheme
  • The video file is broken into packets (1).
  • Each packet has a header containing the destination IP address and a packet number (1).
  • Routers read the destination address and forward each packet along the best available route (1).
  • Packets may take different routes and arrive out of order (1).
  • The laptop reassembles the packets in the correct order using the packet numbers (1).
  • Missing or corrupted packets are requested again (1).
Exam practice 2[4]

A school sends exam results to another school over the internet. Explain two ways the school can keep the data secure during transmission.

Mark scheme
  • Encryption (1): data is scrambled using a key so that if it is intercepted it cannot be understood (1).
  • Password protection / access rights (1): only authorised staff can open the file (1).
  • Also accept: a secure protocol such as HTTPS/TLS (1); sending over a private network or VPN (1).

Quick Reference

Packet = header (dest IP, source IP, packet no., protocol) + payload + trailer (checksum) Serial = 1 bit at a time, long distance; Parallel = many bits, short distance Simplex = one way; Half-duplex = both ways, not at once; Full-duplex = both ways at once IP = logical, can change; MAC = physical, fixed by manufacturer Parity detects odd numbers of errors only Symmetric = one shared key; Asymmetric = public + private key pair