Network Protocols and Layers - Worksheets, Questions and Revision
17 original exam-style questions - 6 pages of questions with a full mark scheme - free printable PDF.
Network Protocols and Layers revision guideMore GCSE Computer Science practiceMock exams
This topic is chapter 8 of GCSE Computer Science Topic Workbook 1 and chapter 8 of GCSE Computer Science 10-Minute Tests.
1.8 Network Protocols and Layers
- A) SMTP
- B) HTTP
- C) FTP
- D) IMAP
- A) HTTPS
- B) FTP
- C) TCP
- D) POP3
- A) SMTP
- B) HTTP
- C) FTP
- D) DNS
- A) FTP
- B) SMTP
- C) IMAP
- D) HTTPS
Question 1
- bandwidth is the maximum amount of data that can be transferred over a network connection in a given time, oeB1
- megabits per second (Mbps), or an equivalent unit (e.g. Gbps), oeB1
- Answer: Bandwidth is the maximum amount of data that can be transferred in a given time, usually measured in megabits per second (Mbps).
Question 2
- IMAP and POP3 are both protocols used to retrieve/receive email from a mail server, oeB1
- IMAP keeps a synchronised copy of email on the server, so the same mailbox can be viewed from multiple devices, oeB1
- POP3 typically downloads email from the server onto one device (and may then remove it from the server), oeB1
- Answer: Both retrieve email from a mail server; IMAP keeps mail synchronised on the server for viewing on multiple devices, while POP3 downloads mail onto a single device.
Question 3
- a MAC address is a unique identifier assigned to a network interface at the point of manufacture, and it never changes, oeB1
- an IP address identifies a device's location on a particular network, and can change (e.g. each time the device joins a different network), oeB1
- a MAC address alone cannot be used to route data across the internet, because it does not indicate which network the device is on, oeB1
- so the IP address is used to route data between networks, while the MAC address is used to deliver the data to the correct device once it reaches the destination network, oeB1
- Answer: A MAC address is a permanent, manufacturer-assigned identifier used to deliver data to the right device on a network; an IP address identifies the device's network location and can change, so it is used to route data across the internet.
Question 4
- DNS translates/converts a human-readable domain name (e.g. www.example.co.uk) into the numeric IP address of the web server hosting that site, oeB1
- it works like a directory/look-up service that the browser queries before it can connect to the correct server, oeB1
- it is needed because domain names are much easier for humans to remember and type than long numeric IP addresses, while computers still route data using IP addresses, oeB1
- Answer: DNS translates a human-readable domain name into the numeric IP address of the correct server, acting as a directory service, because domain names are easier for humans to remember than IP addresses.
Question 5
- Level 1 One or two layers, or one relevant protocol, are named with little explanation of what happens at each stage. Little relevant technical terminology is used.1-2
- Level 2 Several layers are named in a broadly sensible order, with some explanation of what happens at each one, but the description may be incomplete or lack detail in places. Relevant technical terminology is generally used correctly.3-4
- Level 3 A clear, well-ordered description covers all four layers, correctly names at least one relevant protocol at each of the application, transport and internet layers, and explains what each layer adds/does to the data. Relevant technical terminology is used correctly throughout.5-6
- Indicative content:
- Application layer: the email software uses a protocol such as SMTP to format the email message ready to be sent
- Transport layer: TCP breaks the message into smaller segments, adds sequence numbers, and will later request that any lost segments are resent
- Internet layer: IP adds the source and destination IP addresses to each segment (now called a packet), so it can be routed across networks
- Link layer: the packets are converted into a form (e.g. as frames with a MAC address) that can be transmitted over the laptop's physical connection, such as Wi-Fi or Ethernet
- The data then leaves the laptop and is passed on, hop by hop, across intermediate devices until it reaches the friend's network
- A strong answer explains that each layer adds its own information/header to the data before passing it down to the next layer
Question 6
- so that hardware made by different manufacturers can physically connect to, and correctly interpret signals from, the same network, oeB1
- without shared standards, a customer would be limited to buying every piece of networking hardware from a single manufacturer, which would be far more restrictive/expensive, oeB1
- Answer: Common standards let hardware from different manufacturers connect and communicate correctly; without them, customers would be locked into buying all their equipment from one manufacturer.
Question 7
- the browser (client) sends a request to the web server, specifying which page/resource it wants, oeB1
- the web server processes the request and sends back a response, which contains the requested page/data (or an error if it cannot be found), oeB1
- the browser then displays the page contained in the response to the user, oeB1
- Answer: The browser (client) sends a request for a page to the web server; the server sends back a response containing the page, which the browser then displays.
Question 8
- the destination IP address tells the router which network the packet needs to reach, oeB1
- the router uses this address to decide the best next step/route to forward the packet along, towards its destination, oeB1
- without reading the IP address, the router would not know where to send the packet next, so it could not be delivered to the correct network, oeB1
- Answer: The router reads the destination IP address to decide which network/route to forward the packet along; without it, the router could not deliver the packet to the correct destination.
Question 9
- (a) B caoB1
- (a) Answer: B) HTTP
- (b) A caoB1
- (b) Answer: A) HTTPS
- (c) A caoB1
- (c) Answer: A) SMTP
- (d) A caoB1
- (d) Answer: A) FTP
Question 10
- any one of: source port number, destination port number, sequence number, acknowledgement number, checksumB1
- a second, different item from the same listB1
- Answer: For example: sequence number and destination port number.
Question 11
- HTTPS encrypts the data sent between the browser and the web server, oeB1
- so that if the data is intercepted while travelling across the network, it cannot be read/understood by the attacker, oeB1
- this protects sensitive data, such as card details, from being stolen, whereas plain HTTP sends data unencrypted, oeB1
- Answer: HTTPS encrypts data sent between the browser and server, so intercepted card details cannot be read, unlike plain HTTP which sends data unencrypted.
Question 12
- (a) a valid application-layer protocol, e.g. HTTP, HTTPS, FTP, SMTP, IMAP, POP3B1
- (a) a correct purpose for the protocol named, matching its standard useB1
- (a) Answer: For example, HTTP - used to request and transfer web pages between a browser and a web server.
- (b) TCP, caoB1
- (b) Answer: TCP
- (c) IP, caoB1
- (c) Answer: IP
Question 13
- UDP, caoB1
- because it has less overhead/does not wait for acknowledgements or resend lost data, so it transmits data faster, oeB1
- for a live stream, keeping the video/audio smooth and close to real time matters more than every single packet arriving perfectly (a brief glitch is preferable to a delay), oeB1
- Answer: UDP, because it transmits with less delay than TCP, and for a live stream staying close to real time matters more than every packet arriving perfectly.
Question 14
- (a) 2400 / 6 shown as the method, oeM1
- (a) 400, caoA1
- (a) Answer: 400 bytes
- (b) total packet size = 400 + 40 = 440 bytes, oeM1
- (b) (40 / 440) x 100 shown as the method, oeM1
- (b) 9.1%, awrtA1
- (b) Answer: 440 bytes total; 9.1% is header data
Question 15
- 45 megabytes correctly converted to megabits: 45 x 8 = 360 megabits, oeM1
- 360 / 15 shown as the method, oeM1
- 24, caoA1
- correctly stated in seconds, caoB1
- Answer: 24 seconds
Question 16
- TCP is connection-oriented: it establishes a connection, numbers segments, and gets acknowledgements, resending any segment that is lost, so data always arrives complete and in order, oeB1
- this makes TCP reliable but adds overhead/delay, so it is used where accuracy matters more than speed, e.g. loading a web page or sending a file, oeB1
- UDP does not establish a connection, number segments or resend lost data, so some data may arrive out of order or be lost, oeB1
- this makes UDP faster with less overhead, so it is used where speed matters more than perfect accuracy, e.g. live video/voice calls or online gaming, oeB1
- Answer: TCP is connection-oriented and reliable (acknowledges and resends lost data) but slower; UDP has no connection or resending, so it is faster but less reliable, suiting real-time applications like video calls or gaming.
Question 17
- UDP, caoB1
- because it does not wait for acknowledgements or resend lost data, so updates are sent with the lowest possible delay, oeB1
- which suits this scenario, since a missing update is quickly replaced by the next one and does not need to be resent, whereas TCP's extra reliability would only add unnecessary delay, oeB1
- Answer: UDP, because its lower delay suits frequent, quickly-superseded updates, whereas TCP's reliability features would only add unwanted delay here.
Mark your answers
Check answers without an account. Some answers can be checked automatically; use the mark scheme to mark the rest.