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: 11 questions on this subtopic in GCSE Computer Science (Edexcel), marked as you tap.
How the 4-layer TCP/IP model (application, transport, internet, link) handles sending data across a network, what each layer does, which protocols work at each layer and why a layered model is useful. Expect 'State', 'Describe the role of…' and 'Explain' questions, and occasionally a longer answer about how the layers work together.
Key facts
Layers, top to bottom: application, transport, internet, link
Internet: IP (IP addresses, routing); routers work at this layer
Link: Ethernet, Wi-Fi (sending signals across the physical network)
Sending: data goes down the layers and each layer adds a header
Receiving: data goes up the layers and each layer removes its header
Benefits: layers are independent and follow agreed standards
Notes
The four layers
The TCP/IP model splits the job of sending data into four layers. From the top: application, transport, internet, link.
Application layer: provides network services to the applications that the user runs, e.g. a web browser or an email client. Protocols: HTTP, HTTPS, FTP, SMTP, POP3, IMAP.
Transport layer: splits the data into packets and numbers them, makes sure every packet arrives (resending any that are lost) and puts the packets back in order. Protocol: TCP.
Internet layer: adds the source and destination IP addresses to each packet and routes the packets between networks. Protocol: IP. Routers work at this layer.
Link layer: sends the data across the physical network that the device is connected to, as electrical signals, light or radio waves, using the hardware addresses of the devices. Protocols: Ethernet, Wi-Fi.
How data moves through the layers
diagram
On the sending computer, data passes down the layers. Each layer adds its own header to the data it receives from the layer above.
The data travels across the network as signals. Each router on the way reads the destination IP address to decide where to forward the packet.
On the receiving computer, data passes up the layers. Each layer removes its header and passes the rest up, until the application receives the original data.
Data goes down the layers on the sending computer, across the network, then up the layers on the receiving computer.
Each layer only passes data to the layers directly above and below it.
Why use layers?
Each layer is independent, so one layer can be changed without changing the others. For example, moving from Ethernet to Wi-Fi changes only the link layer, and the web browser still works.
Each layer follows agreed standards, so hardware and software from different manufacturers can work together.
Splitting a complex job into smaller parts makes networks easier to design and develop, and faults easier to find.
How to answer each type of question
State the layers, or identify the layer for a protocol
1 to 2 marksGrade 3
Learn the order with a memory aid (see Shortcuts).
Match each protocol to its layer: the Internet Protocol works at the internet layer, and the Transmission Control Protocol at the transport layer.
Example. (a) State the four layers of the TCP/IP model, in order, starting with the top layer. (2) (b) State the layer at which the Internet Protocol (IP) operates. (1)
Show the model answerHide the model answer
(a) Application, transport, internet, link: all four layers named (1); in the correct order, from the top
(1)
(b) The internet layer
(1)
Describe the role of a layer
2 marksGrade 5
Say what the layer does to the data: splits, numbers, addresses, routes or transmits it.
Naming the protocol used at that layer adds useful detail.
Example. Describe the role of the transport layer in the TCP/IP model. (2)
Show the model answerHide the model answer
It splits the data into packets and gives each packet a sequence number (1). It checks that all the packets arrive, has any lost packets resent and puts the packets back in the correct order (1).
Explain the benefits of a layered model
2 to 4 marksGrade 6
State a benefit: independent layers, agreed standards, or easier development and fault finding.
Explain its effect with an example, e.g. changing to Wi-Fi does not need a new web browser.
Example. Explain two benefits of using a layered model such as the TCP/IP model. (4)
Show the model answerHide the model answer
Each layer is independent of the others (1), so one layer can be changed without changing the rest, e.g. changing from Ethernet to Wi-Fi does not need a new web browser (1). Each layer follows agreed standards (1), so hardware and software made by different manufacturers can work together (1).
Describe how data is sent through the layers
3 to 4 marksGrade 7
Start at the top on the sending computer and work down, saying what each layer does and adds.
Name the protocol at each layer.
If the question covers the receiver too, say that the headers are removed as the data passes back up.
Example. A user sends an email. Describe how the layers of the TCP/IP model handle the email on the user's computer. (4)
Show the model answerHide the model answer
At the application layer, the email client uses SMTP to send the email, passing it to the transport layer (1). The transport layer (TCP) splits it into packets and adds a header with a sequence number to each packet (1). The internet layer (IP) adds the source and destination IP addresses to each packet (1). The link layer adds the hardware addresses for the local network and sends the packets as signals, e.g. using Ethernet or Wi-Fi (1).
Don’t lose marks
Putting the layers in the wrong order, e.g. internet above transport.
Using names from other network models, such as 'physical layer' or 'network layer'. Use the four names in the specification.
Saying the transport layer adds IP addresses (the internet layer does), or that the internet layer resends lost packets (TCP at the transport layer does).
Explaining the benefit of layers as 'it is easier' without saying why or giving an example.
Forgetting that the process is reversed on the receiving computer.
More tips
Memory tricks
Top to bottom: 'All Trains In London' = application, transport, internet, link.
Each protocol's name gives its layer away: Transmission Control Protocol → transport; Internet Protocol → internet.
Down to send, up to receive. Headers go on in the order transport, internet, link, and come off in the order link, internet, transport.
Routers only need to look as far up as the internet layer, because the IP address is all they need.
Exam technique
Learn one key verb per layer: application provides services, transport splits and checks, internet addresses and routes, link transmits.
Name a protocol when you describe a layer: it shows that you understand what the layer does.
For the benefits of layers, the independence point with a concrete example (Ethernet to Wi-Fi, browser unchanged) is a reliable 2 marks.
In a longer answer, go through the layers in order: top to bottom on the sender, bottom to top on the receiver.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 3
Name the four layers in orderFrom the top: application, transport, internet, link.
Grade 4
Match protocols to the layersHTTP, HTTPS, FTP, SMTP, POP3 and IMAP are application; TCP is transport; IP is internet; Ethernet and Wi-Fi are link.
Grade 5
Describe the role of each layerSay what each layer does to the data, e.g. the internet layer adds IP addresses and routes packets.
Grade 6
Explain benefits of a layered modelLayers are independent, so one can change without affecting the others, and standards let products from different makers work together.
Grade 7
Describe how data passes through the layersDown the layers on the sender, with each adding a header, then up the layers on the receiver, with each removing one.
Grade 8
Apply the model to an unfamiliar situationFor example, switching from Ethernet to Wi-Fi changes only the link layer, so the web browser is unaffected.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
State the four layers of the TCP/IP model, in order, starting with the top layer.
Application, transport, internet, link
A website changes from HTTP to HTTPS. Name the layer of the TCP/IP model where the main change is made.
Application layer
State what the letter S stands for in HTTPS.
Secure
Complete the sentence. As data passes down through the layers, each layer adds extra information to the front of the data. This extra information is called a ………………….
header
The four layers of the TCP/IP model are the application layer, the transport layer, the internet layer and the link layer. Name the layer of the TCP/IP model at which FTP works.
Application layer
A computer receives data from a network. State the name of the layer that handles the data first.
Link layer
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy3 marks
(a) State the four layers of the TCP/IP model, in order, starting with the top layer.
[2]
(b) Identify the layer of the TCP/IP model at which HTTP operates.
[1]
Application
Transport
Internet
Link
Show the answer and mark scheme
(a)Answer: Application, transport, internet, link
application first and link last
transport and then internet in the middle, in that order
(b)Answer: Application
Question 2Medium4 marks
(a) Describe the role of the transport layer.
[2]
(b) Describe the role of the internet layer.
[2]
Show the answer and mark scheme
(a)Answer: It splits data into numbered packets and makes sure they all arrive and are reassembled in order.
it splits the data into packets (segments) and adds sequence numbers (and port numbers)
it makes sure that all the packets arrive, has lost packets resent and puts the packets back in order (TCP)
(b)Answer: It adds IP addresses and routes each packet towards its destination.
it adds the source and destination IP addresses to each packet
it routes the packets across networks towards their destination (via routers)
Question 3Hard4 marks
A user unplugs their laptop’s Ethernet cable and connects to the same network using Wi-Fi instead. Explain why the web browser does not need to be changed.
[4]
Show the answer and mark scheme
Answer: Only the link layer changes; the independent layers above it, including the browser's application layer, are unaffected.
the web browser works at the application layer
changing from Ethernet to Wi-Fi only changes the protocol used at the link layer
the layers are independent: each layer only passes data to and from the layers directly above and below it through standard interfaces
the transport and internet layers work in exactly the same way whatever link layer is used
so the browser carries on using HTTP/HTTPS as before