← Teacher guides

Teacher guide: Networks

How data travels between computers and how it is kept safe: wired and wireless links, packets and the TCP protocol, why data needs encrypting on the way, and the whole journey of a message across the internet. Then a capture the flag on the club's own network.

Open the student course · How the ideas build

Each lesson works two ways. Students can work through the online tutorial at their own pace (it checks their answers and saves their progress in their browser), or you can teach it to the whole class from the slides, then send students into the tutorial for the Modify and Make steps.

Every lesson guide has plain-language notes, the answers to every check, a solution for every task, and slides and a worksheet for Waypoints Prepare. These guide pages are not linked from student pages, but they are not secret either: keep printed Teacher editions for answers you do not want students to find.

Whole-course cheat sheet: Open to print (every command, grouped by unit: a handout for the final challenge)

Moving data

Wired and wireless links, and how messages travel as numbered packets.

Moving data in 5 minutes (read before teaching this unit)

The idea in plain words

A network joins computers so they can send data. Links can be wired (cable, fibre) or wireless (Wi-Fi, mobile). Three properties decide how well a link works: bandwidth (how much data each second, in megabits a second), latency (the delay for one packet, in milliseconds) and reliability (how many packets get lost). Cables usually win on all three; wireless wins on freedom to move.

Data is not sent as one long stream. It is split into packets, each numbered and addressed. Routers pass each packet on, and packets may take different routes, arrive out of order, or get lost at a busy router. The TCP protocol has the receiver confirm each packet; anything not confirmed is sent again, and the numbers put the message back in order.

What students get wrong

  • Bandwidth and latency as the same thing. A faster plan (more bandwidth) does not fix lag (delay).
  • A lost packet means starting again. Only the missing packet is sent again.
  • Packets arrive in order. They often don't; the numbers fix it.

The words

bandwidth, latency, reliability, packet, router, protocol, TCP, acknowledgement.

Cheat sheet: Open to print (A4, with board pictures) · Open in Print · Markdown

Keeping it safe

Why data needs encrypting on its way, and the whole journey of a message across the internet.

Keeping data safe in 5 minutes (read before teaching this unit)

The idea in plain words

Packets pass through equipment you don't control: the café's Wi-Fi, your internet provider, routers in other countries. Anyone along the way can copy them, so anything sent as plain text (a password, a card number) can be read. Encryption scrambles the data with a key before it leaves your device; only someone with the key can reverse it. Encryption has to be reversible, or the receiver couldn't read it either.

On the web, HTTPS (the padlock) encrypts everything between your browser and the website. A purchase online is the whole chain at once: encrypted on your laptop, split into packets, sent over Wi-Fi then cables, routed, resent if lost (TCP), put back in order and decrypted by the shop.

Links

The Code pathway's Secret messages course builds ciphers (Caesar, XOR), cracks them and shares keys on micro:bits. These lessons show what encryption is for; that course shows how ciphers work.

What students get wrong

  • "Only the receiver sees my message." Every router on the path handles it.
  • Encryption happens at the router. It happens on your device, before the data leaves.

The words

encryption, decryption, key, plain text, cipher text, HTTPS, eavesdropper.

Cheat sheet: Open to print (A4, with board pictures) · Open in Print · Markdown

Network capture the flag

Find four flags in the club's own network traffic, then fix it.

Cheat sheet: Open to print (A4, with board pictures) · Open in Print · Markdown

Project briefs

Printable task sheets for assessment or extension: students make something, hand it in and explain their choices. The success criteria are the curriculum nodes' own. Open the briefs page

Map our Wi-Fi (after packets)

Where in your school is the network good, and where would a cable help?

Choose four places in the school and a real use at each one (for example a video call, a big download, or an online game). Measure how the network behaves in each place, then recommend where a wired connection would be worth adding and where Wi-Fi is enough.

Hand in:

  • A table: place, number of walls or distance from the router, download speed, and delay (ping), measured the same way each time.
  • A simple map or chart of your results.
  • A recommendation for each place: wired or Wi-Fi, and which property matters most for the use there (bandwidth, delay or reliability).
  • A short explanation of one result that surprised you, in terms of packets: what is lost or delayed on the way.

Evidences:

  • Wired vs wireless network properties (AC9TDI8K02 node 1): Correctly names at least two properties that differ between wired and wireless networks; Explains which network type is more suitable for a given use case and why
  • Packets and protocols (AC9TDI8K02 node 2): Explains that data is transmitted in packets, not as a continuous stream; Describes what happens when a packet is lost or delayed

Agree the speed test and the places with the IT team first: a speed test sends real data, so keep it to the school's network and to short tests, and students should never test other people's devices or accounts. Results vary from run to run, which is worth saying out loud: two tests in the same place are not identical, so one number is weak evidence. The strongest work matches the use to the property (delay for a game or call, bandwidth for a large download) rather than saying "more is better".

Look for students who blame the network for a slow site, when the slow part may be beyond the school: that is the difference between the Wi-Fi link and the whole journey.