Packet number in a packet header
A number in the packet header showing the packet's position in the whole message (e.g. packet 3 of 10), so packets that arrive out of order can be put back in the right order.
Understanding Packet number in a packet header in IGCSE Computer Science Paper 1
What it does: The packets arrive as 3, 1, 2 but sorting by packet number restores the correct order 1, 2, 3. The header holds control information such as the packet number, while the payload holds the actual data. The packet number shows where the packet belongs in the whole message, for example packet 3 of 10.
Common mistakes: A packet number shows the packet's position in the message, so it cannot be bigger than the total. In a 10-packet message the numbers run from 1 to 10. Packet 11 cannot exist, so the line should be packet_number ← 3. Every packet has the same destination address, so sorting by it cannot restore the order. The packets must be sorted by packet_number.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 110–120) and word search (Modules 86–120).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
packet numberFill in the Blanks
Spot the Error
Student with a class code? Join your class →