Computer ScienceExam code: 0984

Types and Methods of Data Transmission

Data Transmission

When a large piece of data travels across a network, it is rarely sent in one go. Instead, the data is divided into small that travel across the network independently and are reassembled at the far end. Breaking data into packets and routing each one is handled generically by the network: on the internet the packets carry IP addresses and are routed at the IP layer, not by any single protocol on its own.

Small packets are easier to route, because each one can take the quickest available path through the network rather than waiting for one huge chunk to find an uncongested route.

Inside a packet

Every packet contains three sections:

SectionWhat it holds
HeaderThe source IP address (which device sent it), the destination IP address (where it is going), and the packet number (e.g. "packet 3 of 5") so the pieces can be put back in order
PayloadThe actual data being transported (part of an email, part of a web page, part of a video, etc.)
TrailerAn end-of-packet marker and an error-check value (a checksum or parity bit) so the receiver can detect corruption

If a packet is corrupted in transit, the receiver can ask the sender to resend just that one packet rather than the whole message.

The message "DATA: THIS IS A MESSAGE :)" split into four data packets. Each packet shows the same source IP address (197.34.213.4) and destination IP address (185.124.20.1) from the header, its own portion of the data ("THIS", "IS A", "MESSAGE", ":)") as the payload, and its packet number (1, 2, 3, 4) so the pieces can be reassembled in order
Source: Data Packets by Save My Exams

Common exam question

Describing the structure of a data packet

Question: Describe the structure of a data packet, identify the items of data held in its header, or complete statements about packets with terms from a list (2–4 marks).

Asked in 4 of the 17 papers. A full description is marked from a list of seven points, one mark each: the packet has three sections; a header, which holds the destination address (with the packet number and the originator's address); a payload, which holds the actual data being sent; and a trailer, which holds the error-detection data. Name each section and say what it holds, because the section and its contents are separate points.

When only the header items are wanted, destination address, packet number and originator's (sender's) address are the credited three; "payload" and "trailer" sit in the list as distractors. The error check belongs in the trailer, never in the header.

Quick check

4 short questions on this note. See what has stuck, and where to look if something hasn't.

About 2 minutes

Build on this topic