75 exam-style questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and past-paper booklets are open to everyone. Practice needs a free account.
Or take a quick quiz: 10 questions on this subtopic in GCSE Computer Science (OCR), marked as you tap.
Why network protocols are organised into layers, each with its own job, and the benefits this brings. Questions ask what a layer is and why layering is useful, often by applying the idea to a change such as new hardware; the 4-layer TCP/IP model is a helpful example to base your answers on.
Key facts
Layer = a division of network communication with its own job and protocols
Each layer only communicates with the layers directly above and below it
TCP/IP model: application, transport, internet, link
Benefits: change one layer without affecting others; simpler to develop; products from different manufacturers work together; easier to find faults
Notes
What a layer is
Network communication is complicated, so it is divided into layers. Each layer has a specific job and its own protocols for that job.
A layer only communicates with the layers directly above and below it. It uses the services of the layer below and provides a service to the layer above.
A layer does not need to know how the other layers do their jobs. This is an example of abstraction.
An example: the TCP/IP model
diagram
Application layer: provides network services to applications, e.g. HTTP, HTTPS, FTP, SMTP, POP and IMAP.
Transport layer: splits data into packets and makes sure they arrive correctly, e.g. TCP.
Internet layer: adds IP addresses and routes packets between networks, e.g. IP.
Link layer: sends data across the physical network hardware, e.g. Ethernet or Wi-Fi.
Data goes down the layers at the sender and up the layers at the receiver
When data is sent, it passes down the layers and each layer adds its own header. At the receiver it passes up the layers and each layer reads and removes its header. Grade 8+ only
Benefits of layers
Self-contained: one layer can be changed or improved without affecting the others, e.g. a new type of cable (link layer) does not need new web browsers (application layer).
Breaks a complex problem into smaller parts, so developers can concentrate on one layer without needing to know how the others work.
Products work together: hardware and software from different manufacturers can be combined, as long as each follows the standards and protocols for its layer.
Easier to find and fix faults, because each layer has a clearly defined job.
How to answer each type of question
State what a layer is and one benefit
1 to 2 marksGrade 4
Layer: a division of network communication with a specific job.
Benefit: give a clear, specific benefit, e.g. 'one layer can be changed without affecting the others'.
Example. (a) State what is meant by a layer in networking. [1] (b) State one benefit of dividing network communication into layers. [1]
Show the model answerHide the model answer
(a) A division of network communication (a group of protocols) that has a specific job
(1)
(b) One layer can be changed without affecting the other layers
(1)
Explain two benefits of layers
4 marksGrade 6
Name the benefit (1 mark).
Explain its effect, ideally with an example (1 mark).
Choose two clearly different benefits.
Example. Explain two benefits of using layers in network protocols. [4]
Show the model answerHide the model answer
Each layer is self-contained (1), so a layer can be updated, e.g. to use a new type of cable, without changing the other layers (1). Hardware and software from different manufacturers can work together (1), as long as each follows the protocols for its layer (1).
Apply layers to a scenario
2 to 3 marksGrade 7
Decide which layer the change belongs to: connections and cables are at the bottom, apps at the top.
Say that the layers are independent and each only communicates with the layers next to it.
Conclude what does, or does not, need to change.
Example. A laptop is running a video call app. The laptop is unplugged from an Ethernet cable and connects to Wi-Fi instead. Explain how the use of layers means the app does not need to be changed to work over either connection. [3]
Show the model answerHide the model answer
The type of connection is handled by the lowest (link) layer, while the app works at the top (application) layer (1). The layers are independent and each only communicates with the layers next to it (1), so the app uses the same services from the layer below whichever connection is used, and does not need to know which one it is (1).
Don’t lose marks
Saying layers make data travel faster. The benefits are about design, compatibility and maintenance.
Writing 'it is easier' with no explanation. Say what is easier and why, e.g. faults are easier to find because each layer has one job.
Saying every layer communicates with every other layer. Each only uses the layer directly below it and serves the layer directly above it.
More tips
Memory tricks
TCP/IP layers from top to bottom: 'All Trains In London' = Application, Transport, Internet, Link.
Layers are like a parcel service: the sender packs, the depot sorts, the van delivers. Each does its own job, and one can change without the others changing.
Top layers are about apps; bottom layers are about hardware.
Exam technique
Link each benefit to an example: a new cable, a new app, or equipment from a different manufacturer.
Questions often describe an unfamiliar change: decide which layer it affects first.
Use the words 'independent', 'self-contained' and 'protocols for each layer'.
OCR will not ask you to name the TCP/IP layers or say what each one does. Learn what a layer is and the benefits of layering; use the TCP/IP model only as your example.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 4
Describe what a layer isA division of network communication with a specific job, which uses the layer below and serves the layer above.
Grade 5
State benefits of using layersLayers are self-contained, so they can be changed or developed separately.
Grade 6
Explain two benefits of layers in detailE.g. a change to one layer does not affect the others, so new hardware works without changing applications.
Grade 7
Apply layers to an unfamiliar scenarioE.g. explain why a browser still works when a laptop switches from Ethernet to Wi-Fi.
Grade 8
Explain how data passes through the layersAt the sender each layer adds its header on the way down; at the receiver each layer removes its header on the way up.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
A student opens a web page using the HTTP protocol. State the layer that HTTP belongs to.
The application layer.
The four layers are the application layer, the transport layer, the internet layer and the link layer. Write down the layer that each protocol works in. FTP
Application
A layer is a group of protocols that carries out one ______ job.
specific
Write down the layer that does each job. Choose from: application, transport, internet, link. Adds the IP address of the destination to the data.
Internet
Give the name of one protocol that works at the application layer.
HTTP
The four layers of the TCP/IP model are listed from top to bottom. Write the name of the missing layer in each gap. The list is: Application, ______ (a), Internet, ______ (b). Gap (a)
Transport
Sample questions
Written for this site in the style of OCR exam questions. They are not taken from real past papers.
Question 1Easy3 marks
(a) State what is meant by a layer in a network model.
[1]
(b) State one benefit of dividing network communication into layers.
[1]
(c) Which one of these statements about network layers is true? Tick (✓) one box.
[1]
Each layer only communicates with the layers directly above and below it
Every layer carries out every job
Layers are only used on wireless networks
All of the layers must be made by the same company
Show the answer and mark scheme
(a)
a division of the network’s protocols / functions, where each layer has a specific job
(b)
a change to one layer does not affect the others / developers can focus on one layer / hardware and software from different manufacturers can work together / problems are easier to find
(c)Answer: Each layer only communicates with the layers directly above and below it
Question 2Medium4 marks
Explain two benefits of dividing network protocols into layers.
[4]
Show the answer and mark scheme
each layer is self-contained
so a change / improvement to one layer does not affect the other layers
developers can concentrate on one layer / area of the network
without needing to know how every other layer works
hardware and software from different manufacturers can work together
as long as each follows the standards / protocols for its layer
it is easier to find and fix problems
because each layer has a clearly defined job
Question 3Hard4 marks
A company designs a new, faster type of network cable.
(a) Explain how layering means that email software and web browsers do not need to be rewritten to use the new cable.
[3]
(b) State one other benefit of layers for the company that makes the cable.
[1]
Show the answer and mark scheme
(a)
the cable belongs to the lowest (link) layer
email software and browsers work at the highest (application) layer
layers are independent and communicate through standard interfaces / protocols
so as long as the new cable follows the rules for its layer, the layers above are not affected
(b)
it only has to design hardware for one layer / its cable will work with other manufacturers’ equipment that follows the same standards
More in Wired and wireless networks, protocols and layers