CIE IGCSE | 2.1.1 Data Packets

Lesson objective

Describe how data is divided into packets, identify the purpose of each packet component and explain how packet switching delivers and reorders data.

Learn

2.1.1 | DATA PACKETS

01 | ONE MESSAGE, MANY PACKETS

You send a photograph to a friend. It feels like one item travelling across the internet, but its data is divided into smaller units called packets.

A packet carries part of the original data together with control information used during transmission. Text, images, sound and video can all be transmitted as packets because they are represented as digital data.

Packetisation divides data; it does not compress it. Adding packet control information introduces overhead. Smaller pieces also allow network links to be shared by packets from different users, rather than reserving a complete end-to-end path for one whole message.

02 | INSIDE A DATA PACKET

For this syllabus, describe three main components: header, payload and trailer.

HEADER

Addresses and packet number

PAYLOAD

The data being carried

TRAILER

End information and error-checking information

Simplified syllabus model of a packet
ComponentPurposeExample
HeaderControl information identifying where the packet comes from, where it is going and its place in the dataOriginator: A; destination: B; packet number: 2
PayloadPart of the actual transmitted message / fileA block of image data or part of a text message
TrailerInformation following the payload; commonly described as marking the end and carrying an error-checking valueAn error-check value used to detect possible corruption

Real network protocols place information in different fields and layers. This diagram is the model to learn for the course, not a claim that every internet packet has an identical format.

03 | THE HEADER: WHERE, WHO AND WHICH PIECE?

The three header fields named in the Cambridge specification
Header fieldQuestion it answersWhy it matters
Destination addressWhere should this packet go?Routers use destination information when forwarding it
Originator’s addressWhere did it come from?Identifies the sender; can be used when replying
Packet numberWhere does this piece belong?Helps reconstruct the original order

Imagine posting several numbered envelopes to the same person. The destination address gets them to the recipient; the sender’s address identifies their origin; the number tells the recipient their intended order.

The packet number does not tell a router which route to use. Addresses guide delivery; numbers guide reconstruction.

04 | PAYLOAD AND TRAILER

The payload is the useful message data. If packet 2 carries the text “SCIENCE ”, those characters form its payload. The addresses and packet number are not part of that message text.

The trailer follows the payload in this teaching model. Error-checking information can help the receiver detect changes during transmission. An error check does not guarantee detection of every possible error and does not automatically repair the data.

If a transfer requires reliable delivery, additional protocol mechanisms can request missing or damaged data again. Packet switching alone does not guarantee that every packet arrives. You will study error detection and retransmission separately.

05 | PACKET SWITCHING: CHOOSE A ROUTE AT EACH STEP

Packet switching sends data as separate packets through a network. Routers forward packets towards their destination using routing information.

  1. The sender divides the data into packets and adds control information.
  2. A router examines destination information and chooses a suitable next hop.
  3. Other routers forward the packet onwards.
  4. Different packets from the same message may take different routes.
  5. The destination receives the packets, which may arrive out of order.
  6. Once all required packets have arrived, their numbers are used to reorder and reassemble the original data.

Packets do not have to take different routes: some or all may follow the same path. Routing can respond to available paths and network conditions; it is not simply choosing the fewest routers or guaranteeing the fastest route.

06 | FOLLOW THREE PACKETS

Suppose a message is divided into the three packets below. All have the same originator and destination addresses.

The routes are examples, not fixed instructions stored in the header
Packet numberPayloadIllustrative route
1COMPUTER Sender → router A → router C → receiver
2SCIENCE Sender → router A → router B → router C → receiver
3CAFESender → router A → router C → receiver

Packet 2 may be delayed on its route. The receiver might see 3, 1, 2. Arrival order is not message order.

Reordering by packet number gives 1, 2, 3, then joining the payloads reconstructs COMPUTER SCIENCE CAFE. The control information is used to manage the transfer; it is not inserted into the message.

07 | ACTIVITY: REBUILD THE MESSAGE

The packets arrived in the order 3, 1, 2. Choose the packet to place first, second and third. Each selection shows its payload.

In this example you are told that three packets are expected. Real transfer protocols provide rules for determining what data is required; a packet number by itself is not the whole reliability system.

08 | WHY USE PACKET SWITCHING?

Shared network capacity: packets from different senders can use the same links. One message does not need a dedicated end-to-end circuit reserved for its entire transfer.

Alternative routes: where the network has available alternatives, routing can send packets around an unavailable link. An alternative path is not guaranteed to exist.

Trade-offs: headers and trailers add overhead. Packets can be delayed, lost or arrive out of order. Reassembly and any required reliable-delivery mechanisms need extra processing.

A long delay between packets can matter in a live call even if all the data eventually arrives. Correct content and timely delivery are different requirements.

09 | COMMON MISTAKES

  • Calling the payload the address: the payload carries message data; the header carries addresses.
  • Using arrival order: reconstruct using packet numbers.
  • Saying every packet takes a different route: different routes are possible, not compulsory.
  • Saying the router reconstructs the message: routers forward; the destination reassembles.
  • Saying packets compress the file: splitting and compression are different processes.
  • Saying a checksum repairs errors: checking and recovery are separate functions.

MATCH THE PACKET TERM

Terminology

Terminology

Data packet

A unit carrying part of transmitted data and control information.

Header

Packet control information including destination address, originator’s address and packet number in the syllabus model.

Payload

The part of a packet containing the actual message data.

Trailer

Information after the payload in the syllabus model, such as end and error-checking information.

Destination address

The address of the intended receiver.

Originator’s address

The address identifying the sender.

Packet number

An identifier for the packet’s place in the original data sequence.

Packet switching

Transmission of data as packets that routers forward through a network.

Router

A device that forwards packets between networks using routing information.

Reassembly

Reordering and joining received packet payloads to reconstruct the original data.

Overhead

Additional transmitted control information beyond the useful payload.

Out-of-order arrival

Packets reaching the destination in a different order from their original sequence.

Questions

Questions

CHECK YOUR UNDERSTANDING

Select all correct choices. Each exact set earns one point.

1. Which components make up the syllabus packet model?
2. Which fields are in the header?
3. What is the payload?
4. Packets arrive 4, 2, 1, 3. What is the reconstruction order?
5. Which statements about routes are correct?
6. Which tasks belong to routers in packet switching?
7. Which statements are correct?
8. Why is a packet number useful?

EXPLAIN AND COMPARE

Write your answers before revealing each sample.

1. Describe the structure of a packet.

2. Explain why the destination address and packet number have different purposes.

3. Describe packet switching from sender to receiver.

4. Explain why packets may arrive out of order.

5. Packet 1 contains HEL, packet 2 contains LO and packet 3 contains !. They arrive 2, 3, 1. Reconstruct the message and explain your method.

6. A student says packet switching guarantees the complete message arrives. Explain why this is too strong.

APPLY IT | A MISSING PIECE

A receiver expects packets 1 to 4 but has only 1, 2 and 4. Explain why it cannot reconstruct the complete original message yet. What information can packet numbers reveal?

Reveal suggested answer

Packet 3’s payload is missing. The numbering identifies the gap, but does not recreate the missing content. A reliable-delivery protocol may arrange retransmission.

Flashcards

Flashcards

Click to flip. Select the ideas you need to revisit.

0 cards selected for revision.

    Selections are kept while this page is open.

    Workbook

    Workbook

    COMING SOON

    The workbook for 2.1.1 Data Packets is coming soon. Complete the packet activities and written questions in your exercise book.