Cambridge IGCSE · Topic 2.1
IGCSE Computer Science 0478 / Topic 2 / IGCSE

Split it into packets.

When you send a photo across the internet it does not travel as one big lump. It is cut into small packets, each labelled with where it is going, and the packets find their own way there before being put back together.

The key idea

Data sent over a network is broken down into packets. Each packet has a header (destination address, originator's address and packet number), a payload (the actual data) and a trailer (marks the end of the packet and holds an error check). In packet switching each packet may take a different route, chosen by routers, so packets can arrive out of order; once the last packet arrives they are reordered using their packet numbers.

the structure of one packet HeaderPayloadTrailer destination addressoriginator's addresspacket number the actual data beingsent (part of the file) end of packeterror check(e.g. checksum) a file is split into many packets like this one
Fig. 1: every packet has a header, a payload and a trailer
Section 01

Why packets?

A large file is split into many small packets of data before it is sent. Small packets share the network fairly and are quick to resend if one goes wrong.

Examiner trap

Packets do not make the data itself smaller. The total amount of data is the same (in fact slightly more, because every packet adds a header and trailer).

Section 02

Inside a packet.

Look at a packet in the lab. Click each part to see what it holds.

PartWhat it contains
HeaderDestination address (where it is going), originator's address (where it came from), packet number (its place in the sequence)
PayloadThe actual data: one piece of the file or message
TrailerA marker showing the end of the packet and an error check, such as a checksum
Examiner trap

The packet number goes in the header, not the trailer. Learn the three header items exactly: destination address, originator's address, packet number.

Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

Which part of a packet holds the actual data being sent?

Quick check+10 XP

Which item is NOT stored in a packet header?

Quick check+10 XP

In the lab, why do some packets arrive before packets that were sent earlier?

Quick check+10 XP

What device decides the route a packet takes across the internet?

Section 03

Packet switching.

Packets from one file travel independently. Follow these five steps; each one is a mark point in a "describe packet switching" answer.

Worked example Reordering
Packets of an email arrive in the order 3, 1, 5, 2, 4. Explain what the receiving computer does.
  1. It waits until the last packet has arrived.
  2. It reads the packet number in each header.
  3. It reorders the packets as 1, 2, 3, 4, 5 and joins the payloads to rebuild the email.
Answer: Reorders the packets using their packet numbers once all have arrived
Your turn
Why might packet 2 arrive after packet 4?
Examiner trap

It is the router that controls the route a packet takes. A packet does not "choose" its own path.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 1 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

How does a receiving computer put packets back in the correct order?

Exam style+20 XP

Which is a benefit of sending data as packets?

Exam style+20 XP

Which statement about packet switching is correct?

Exam style+20 XP

What is the purpose of the trailer in a packet?

Skill unlocked

Packets and packet switching, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Why data is broken into packets, the header, payload and trailer, and how packet switching delivers packets that are then reordered.