aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 2.3Packet switching
Back to Computer Science HL Topics
2.3.34 min read

Packet switching (Computer Science HL)

IB Computer Science • Unit 2

Your first topic is free to keep

Know exactly what to write for full marks

Practice with exam questions and get AI feedback that shows you the perfect answer — what examiners want to see.

Start Free

Contents

  • Small pieces, sent separately
  • The header is what makes it work
  • What switches and routers do
  • Exam-style question
The big idea: Data is cut into small packets, each sent on its own, and joined back together at the far end.

Nothing reserves a line for the whole transfer, so many conversations share the same network at once.

One message split, routed two ways, arriving out of order, and reassembled. Step through it.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
Every packet carries its own instructions: A packet is a piece of the data plus a header.

The header says where it is going, where it came from, and which number in the sequence it is. Without that, a packet arriving alone would be meaningless.

Destination address

  • Lets every router along the way decide where to send it next
  • No router needs to know the whole path
  • Each one only chooses the next hop

Source address

  • Says where a reply should go
  • Also lets the receiver ask for a missing packet again
  • Needed even when nothing goes wrong

Sequence number

  • Says where this piece belongs in the message
  • Lets the receiver reorder packets that arrived jumbled
  • Lets it notice that one is missing at all
Out of order is normal: Different packets take different routes, and different routes take different times.

Arriving jumbled is not a fault. The sequence numbers exist precisely because it is expected.

Get feedback like a real examiner

Submit your answers and get instant feedback — what you did well, what's missing, and exactly what to write to score full marks.

Try AI Tutor FreeYour first topic is free to keep • No credit card required

Switch — inside one network

  • Delivers a frame to the one device it is addressed to
  • Works only within a single LAN
  • Does not read IP addresses, so cannot route between networks
  • Keeps traffic off devices it is not meant for, reducing collisions

Router — between networks

  • Reads the destination IP address in each packet's header
  • Chooses the next network to forward it to
  • Decides per packet, so two packets may go different ways
  • Knows only the next hop, never the whole path
Why packet switching beats reserving a line: Reserving a line for one conversation wastes it whenever nobody is talking, and a break in that line ends the call.

Packet switching fills gaps with other people's traffic and routes around breaks — which is why the internet works this way.
What it costs: Every packet carries a header, so some of the capacity goes on addresses rather than data.

Packets can also be delayed, reordered or lost, which is why TCP exists to check and resend.

How this is tested — you must name what the header carries and what each device does with it. It comes up two ways:

Paper 1 Section A

  • Explain packet switching, 3-5 marks
  • State what a packet header contains
  • Explain the role of switches and routers

Paper 1 Section B — case study

  • Trace data through the case study's network
  • Explain why packets may arrive out of order there
The classic trap: Saying "the data is split into packets and sent" and stopping. The marks are in the header contents and in what happens at the far end — reordering by sequence number, and requesting only what is missing.
IB-style questionExplain[5 marks]

Explain how a large file is sent from one computer to another across the internet using packet switching.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Packet switching. Write your answer and get instant AI feedback — just like a real IB examiner.

the term packet. [1 mark]

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

2.1.1What networks are for
2.1.2Digital infrastructures
2.1.3Network devices
2.1.4Network protocols
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
2.3.2Transmission media
Next
Static and dynamic routing2.3.4

21 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Computer Science HL Topics