Packet Switching
Packet switching breaks data into small packets that travel independently across a network and are reassembled at the end.
▶ Interact
Play with the controls to see the idea in action.
📘 Learn
Packet switching breaks data into small packets that travel independently across a network and are reassembled at the end.
- Each packet has a header
- Packets can take different routes
- Lost packets are re-sent
🧠 Quick quiz
Three questions. Score 2 or more to complete the topic.
What is Packet Switching?
Within Computer Science, which covers algorithms, programming, data, networks, hardware and safe, responsible use of technology, this topic explains Packet Switching. Computing topics explain how software, hardware and data work, with diagrams and models that show each step in order.
Check that you can explain Packet Switching in your own words and give one example from everyday life. If you can do that, you have understood the core idea.
Understanding Packet Switching helps you design, test and explain programs, websites and systems, from small projects to exam questions.
Packet Switching in detail
In packet switching, data is split into small packets, each containing part of the data, the source and destination IP addresses, a sequence number and error checking. Each packet may travel by a different route through routers, which choose the best path depending on congestion and availability, and the packets are reassembled in order at the destination.
It uses the network efficiently and is resilient, because if a path fails, packets take another. It contrasts with circuit switching, as in old phone calls, where a dedicated line is held for the whole conversation. Missing packets are requested again. Packet switching is the basis of the internet.
How the interactive helps you understand Packet Switching
Watch the network in the interactive. Use any sliders or buttons it offers to change the values and see how the network responds.
Before you change anything, predict the result. Then change one value at a time and check whether your prediction was right. This is a quick way to build a correct mental model of Packet Switching.
Real-life uses and examples
- Explain Packet Switching to someone new to computing by comparing it to a familiar process.
- Trace through a process that uses Packet Switching to check what it does step by step.
- Recognise Packet Switching in an app or device you use every day.
Common mistakes to avoid
- Using the term without being able to say what the computer actually does.
- Testing only the normal case and forgetting the edge cases.
- Learning the definition without testing it. Use the quiz and the interactive to check that you can apply the idea.
Frequently asked questions about Packet Switching
What is Packet Switching?
Packet switching breaks data into small packets that travel independently across a network and are reassembled at the end.
What are the most important points about Packet Switching?
The main points are: Each packet has a header; Packets can take different routes; Lost packets are re-sent.
Why is Packet Switching useful?
Understanding Packet Switching helps you design, test and explain programs, websites and systems, from small projects to exam questions.
How can I practise Packet Switching?
Open the interactive at the top of this page and change the controls one at a time. Predict the result before each change, then take the three-question quiz. A score of two or more marks the topic as complete on this device.
Which topics are related to Packet Switching?
Related topics in Computer Science include Cyber Security Threats, Firewalls and Antivirus, Cyberbullying and Respect Online.