Explain why data is divided into packets for transmission, describe the structure of a packet, and identify the methods, hardware and technologies specified in the Cambridge IGCSE 0478 syllabus.
A data packet consists of three parts.
| Section | Key fields / purpose | Typical size (bytes) |
|---|---|---|
| Header |
|
20 – 60 |
| Payload (Data) | The user information being transferred. | Variable (up to 1500 bytes for standard Ethernet) |
| Trailer |
|
4 – 8 |
| Mode | Definition | Typical example |
|---|---|---|
| Simplex | Data flows in only one direction. | Television broadcast, keyboard → PC. |
| Half‑duplex | Data can travel both ways, but not at the same time. | Walkie‑talkie, Ethernet hub (old). |
| Full‑duplex | Data can travel simultaneously in both directions. | Modern Ethernet switch, USB. |
USB sends data in packets, includes error checking, supplies power, and supports hot‑plugging. It therefore illustrates many of the concepts above (packet structure, serial transmission, full‑duplex).
The data rate (often called bandwidth) of a link is:
\( R = \dfrac{N}{t} \)
where R = bits per second (bps), N = number of bits transmitted, t = transmission time (seconds).
Worked example: A 2 Mb file is sent in 4 s.
\( R = \dfrac{2\,000\,000\ \text{bits}}{4\ \text{s}} = 500\,000\ \text{bps} = 500\ \text{kbit/s} \)
| Method | How it works | Numeric example |
|---|---|---|
| Parity (even/odd) | Add a single parity bit so that the total number of 1‑bits is even (or odd). | Data = 1011001 (four 1’s). Even parity → parity bit = 0 (total still even). |
| Checksum | Sum all data bytes (usually using 1’s‑complement) and send the result; receiver recomputes and compares. | Bytes: 0x14, 0x3A, 0x07 → sum = 0x55. Send 0x55 as checksum. |
| Echo check (loopback) | Sender transmits a test pattern; receiver immediately echoes it back for verification. | Send 0xAA; if the returned pattern is 0xAA the link is OK. |
| Check digit (e.g., ISBN, barcode) | Weighted sum of digits; the remainder determines a final digit used for validation. | ISBN‑13 978030640615? → weighted sum = 112; 112 mod 10 = 2 → check digit = 10‑2 = 8. |
| ARQ (Automatic Repeat reQuest) | Receiver detects an error (via CRC, parity, etc.) and asks the sender to resend the corrupted packet. | Stop‑and‑wait ARQ – send packet, wait for ACK; if NACK or timeout, resend the packet. |
| Component | Function / key details |
|---|---|
| Network Interface Card (NIC) | Provides the physical connection to a network; contains a unique MAC address (48‑bit hexadecimal, e.g., 00:1A:2B:3C:4D:5E). |
| MAC address | Layer‑2 (Data‑link) identifier, written as six pairs of hexadecimal digits separated by colons. |
| IP address | Layer‑3 (Network) identifier. IPv4: 32‑bit, dotted‑decimal (e.g., 192.168.1.10). IPv6: 128‑bit, hexadecimal groups (e.g., 2001:0db8::1). |
| Router | Forwards packets between different networks using the destination IP address to decide the next hop. |
Create an account or Login to take a Quiz
Log in to suggest improvements to this note.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.