AQA 8525 GCSE Computer Science · 3.5 Fundamentals of Computer Networks
Stretch tasks Protocols and Layers
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each protocol card to its job card.
- 12 cards: each protocol has a job
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
Sort It
Sort each statement into the right box, like the tick-box tables in the exam.
- 12 cards to sort into 4 boxes
- Drag a card, tap a box or press its number
- Combo points for cards sorted in a row
12 cards, about 4 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: Protocols and Layers
Protocols and Layers: the questions
Quiz Challenge, round 1: Quiz Blitz
Which protocol sends email?
- SMTP
- IMAP
- FTP
- HTTP
Which protocol retrieves email, leaving it on the server?
What does TCP do that UDP does not?
- Addresses packets
- Encrypts web pages
- Sends email
- Checks every packet arrives and puts them back in order
Why is UDP used for a live video call?
- TCP cannot carry video
- A resent packet would arrive too late to be useful
- UDP encrypts the video
- UDP guarantees every frame arrives
Which layer do TCP and UDP belong to?
- Network
- Link
- Transport
- Application
Which layer adds addresses and routes packets between networks?
- Application
- Link
- Network
- Transport
HTTPS is HTTP with encryption added.
- True
- False
Layering makes a network faster.
- True
- False
Which TWO protocols belong to the link layer?
Tick 2.
- IP
- Ethernet
- Wi-Fi
- TCP
- HTTP
A laptop moves from Ethernet to Wi-Fi. Which layer changes?
- Only the link layer
- Every layer
- Only the application layer
- The transport and network layers
IP checks that every packet arrives.
- True
- False
What is a set of rules governing how devices communicate called?
Quiz Challenge, round 2: Quick Fire
Explain the difference between SMTP and IMAP. [2 marks]
Explain why a web page is sent using TCP rather than UDP. [2 marks]
Explain what each layer does to the data it passes down, and what the receiving computer does. [2 marks]
Explain why HTTPS should be used when logging in to a website. [2 marks]
Quiz Challenge, round 3: Big Think
A video streaming company sends live football matches and also lets customers download films to watch later. Discuss which transport protocol should be used for each service. [6 marks]
Explain why network protocols are organised into layers. Use an example in your answer. [6 marks]
This or That: tick the right answer
Sending an email from your phone: which protocol?
- IMAP
- SMTP
Reading your email on a second device: which protocol keeps the inbox in sync?
- SMTP
- IMAP
An online game sends each player's position many times a second. TCP or UDP?
- TCP
- UDP
A bank transfer: TCP or UDP?
- UDP
- TCP
Which layer does HTTP work at?
- Application
- Transport
Does IP guarantee that packets arrive?
- No: TCP does the checking
- Yes: that is its job
Is HTTPS a completely different protocol from HTTP?
- Yes: it shares nothing with HTTP
- No: it is HTTP with encryption
Which protocol is designed for moving files between computers?
- SMTP
- FTP
Memory Match: match each protocol to its job
| Protocol | Job |
|---|---|
| A TCP | 1 Addresses packets and routes them between networks |
| B UDP | 2 Checks delivery and reassembles packets in order |
| C IP | 3 Retrieves email, leaving it on the server |
| D SMTP | 4 Web pages, encrypted in transit |
| E IMAP | 5 Sends packets with no checking or resending |
| F HTTPS | 6 Sends email |
Sort It: tick one box in each row
Which layer does each protocol or job belong to?
| Statement | Application | Transport | Network | Link |
|---|---|---|---|---|
| TCP | ||||
| Wi-Fi | ||||
| HTTP | ||||
| Ethernet | ||||
| Splits data into packets and manages the connection | ||||
| Sends the data over the physical medium | ||||
| Provides services to the user's software | ||||
| IP | ||||
| IMAP | ||||
| SMTP | ||||
| Adds addresses and routes packets between networks | ||||
| UDP |
Answers
Round 1: Quiz Blitz
- SMTP SMTP sends, IMAP retrieves.
- imap Leaving mail on the server keeps every device in sync.
- Checks every packet arrives and puts them back in order TCP numbers, acknowledges and resends packets.
- A resent packet would arrive too late to be useful Waiting for resends would add delay to the whole call.
- Transport The transport layer splits data into packets and manages the connection.
- Network IP works at the network layer.
- True Intercepted HTTPS traffic cannot be read.
- False Layering makes networking manageable and lets products from different makers work together.
- Ethernet; Wi-Fi The link layer sends data over the physical medium.
- Only the link layer HTTP, TCP and IP carry on exactly as before.
- False IP addresses and routes packets. TCP checks delivery.
- protocol Both ends must follow the same rules.
Round 2: Quick Fire
- SMTP sends email
- IMAP retrieves email, leaving it on the server
Model answerSMTP is used to send email from a client to a mail server. IMAP is used to retrieve email, leaving it on the server so it stays in sync across devices.
- TCP acknowledges every packet and resends lost ones
- A missing part would leave the page incomplete or corrupt
Model answerTCP acknowledges every packet and resends any that are lost, then reassembles them in order. A web page needs every byte to arrive, because a missing part would leave the page incomplete or corrupt.
- Each layer wraps the data in its own header
- The receiver unwraps the headers in reverse order
Model answerEach layer wraps the data it receives from the layer above in its own header before passing it down. The receiving computer unwraps the headers in the reverse order, so each layer only deals with the header its counterpart added.
- HTTPS encrypts the data in transit
- So an intercepted password cannot be read
Model answerHTTPS encrypts the data travelling between the browser and the server, so if the username and password are intercepted, they cannot be read without the key.
Round 3: Big Think
- Live matches should use UDP
- A lost packet would arrive too late, and resending adds delay
- A few lost packets only cause a brief glitch
- UDP sends no acknowledgements, so it has less overhead
- Downloaded films should use TCP
- TCP acknowledges packets, resends lost ones and reassembles them in order
- Every byte must arrive, or the file would be corrupt
- A download is not time critical, so waiting for a resend is fine
Model answerThe live matches should use UDP. A lost packet would arrive too late to be useful, and waiting for it to be resent would add delay to the whole stream, whereas a few lost packets only cause a brief glitch. UDP also sends no acknowledgements, so it has less overhead. The downloaded films should use TCP, which acknowledges every packet, resends any that are lost and reassembles them in order. Every byte must arrive, or the file would be corrupt, and since nobody is watching it live, waiting a few seconds for a resend does not matter.
- It divides a huge problem into manageable parts
- Each layer handles one part of the job
- Layers can be changed independently
- For example, Ethernet to Wi-Fi changes only the link layer
- Different manufacturers can specialise in one layer
- Products work together if they follow the standard
- Faults are easier to isolate
- For example, a site loading by IP address but not by name
Model answerLayering divides the huge problem of networking into manageable parts, with each layer handling one part of the job. Each layer can be changed independently: moving a laptop from Ethernet to Wi-Fi changes only the link layer, while HTTP, TCP and IP carry on exactly as before. Different manufacturers can specialise in one layer, and as long as each follows the standard for its layer, their products work together. Faults are also easier to isolate: if a site loads by its IP address but not by its name, the problem is name resolution, not the cable.
This or That
- SMTP SMTP sends. IMAP retrieves, leaving the mail on the server.
- IMAP IMAP leaves the mail on the server, so every device sees the same inbox.
- UDP A late position is useless, so resending it would only add lag.
- TCP Every byte must arrive, so lost packets must be resent.
- Application HTTP provides a service to the browser, so it is an application layer protocol.
- No: TCP does the checking IP addresses and routes packets. TCP acknowledges them and resends any that are lost.
- No: it is HTTP with encryption HTTPS does the same job as HTTP, but intercepted traffic cannot be read.
- FTP FTP is the File Transfer Protocol. SMTP sends email.
Memory Match
- A 2 TCP: Checks delivery and reassembles packets in order
- B 5 UDP: Sends packets with no checking or resending
- C 1 IP: Addresses packets and routes them between networks
- D 6 SMTP: Sends email
- E 3 IMAP: Retrieves email, leaving it on the server
- F 4 HTTPS: Web pages, encrypted in transit
Sort It
- Transport TCP TCP splits data into packets and checks delivery: transport layer.
- Link Wi-Fi Wi-Fi carries frames over radio: link layer.
- Application HTTP HTTP delivers web pages to the browser: an application layer service.
- Link Ethernet Ethernet carries frames over cable: link layer.
- Transport Splits data into packets and manages the connection That is the transport layer's job.
- Link Sends the data over the physical medium That is the link layer's job.
- Application Provides services to the user's software That is the application layer's job.
- Network IP IP addresses and routes packets: network layer.
- Application IMAP IMAP retrieves email for the user's mail program: application layer.
- Application SMTP Email protocols serve the user's software, so they are application layer.
- Network Adds addresses and routes packets between networks That is the network layer's job.
- Transport UDP UDP is the transport layer's fast, unchecked option.