Phase 1: Prepare
Step 1 Warm-up recall
From Module 7: how often does each of 4 programs with 5 ms turns run?
Private: nothing you type here is sent or stored.
Step 2 Learning goal
By the end of this lesson you can:
- define a network and a packet (Foundation);
- calculate the number of packets for a message (Core);
- explain how packets are reassembled (Core).
Phase 2: Teach
Step 3 A familiar example
Post a long book as separate numbered envelopes. They may arrive by different routes and in the wrong order, but the numbers let the reader put them right.
Step 4 Clear explanation
A network is a set of computers joined so they can exchange data. The internet is a network of networks. Data is sent in small pieces called packets. Each packet carries part of the message, its destination and a number that gives its place.
| Message size (bytes) | Packet size (bytes, invented) | Packets needed |
|---|---|---|
| 10,000 | 1,000 | 10 |
| 25,000 | 1,000 | 25 |
| 2,500 | 1,000 | 3 (the last is part full) |
The number of packets is the message size divided by the packet size, rounded up, because a part-full last packet still has to be sent. Packets may take different routes, so they can arrive out of order; the receiver uses the numbers to rebuild the message, and asks for any that are missing to be sent again. Rules that all the computers agree on, called protocols, make this work. A client asks for a service, such as a web page, and a server provides it. Packets also take time to travel; this delay is called latency. The entry on the computer gives context for the machines at each end.
Step 5 Worked example (4 marks)
A file of 7,300 bytes is sent in packets of 1,000 bytes (invented). How many packets are needed?
- Divide: 7,300 ÷ 1,000 = 7.3. (1 mark)
- Round up, because part of the last packet is needed. (1 mark)
- The result is 8. (1 mark)
- Answer: 8 packets. (1 mark)
Phase 3: Practise
Step 6 Learner practice (instant-marked)
1. A packet is:
Messages are split into packets.
2. Why are packets numbered?
Packets may arrive out of order.
3. A message of 25,000 bytes in 1,000-byte packets needs:
25,000 ÷ 1,000.
4. A message of 2,500 bytes in 1,000-byte packets needs:
Round up.
Phase 4: Close
Step 7 Recap
- Data travels in numbered packets.
- Packets are reassembled by number.
- Round up when counting packets.
Step 8 Exit ticket (ungraded)
How many 1,000-byte packets does a 6,200-byte message need?
Private: nothing you type here is sent or stored.
Step 9 Go further (Extension)
Describe the difference between a client and a server for a web page.
Common mistakes
| Mistake | Why it fails |
|---|---|
| Rounding down | The last part still needs a packet. |
| Assuming packets arrive in order | They may not. |
| Confusing the internet with the web | The web runs on the internet. |
Limits. This is a simplified model; real networks use layers of protocols and variable packet sizes.