GCSE · Computer Science · OCR · Spec J277
Switches
One computer sends one message to one other computer. Whether the rest of the wired network gets a copy depends on one device in the middle.
Computer Science · Networks
One message, two journeys
The same message crosses the same wired network twice. Round 1 has a hub in the middle, round 2 has a switch. Watch who ends up holding it.
Computer A sends a message meant for Computer C only. Step through both rounds and keep an eye on the output box.
Message: from Computer A, meant for Computer C only
Output
Step 1: Round 1, with a hub in the middle. Computer A sends a message that is meant for Computer C only.
Press Next to move along. Round 1 uses a hub, round 2 uses a switch.
Hub trouble
Reason it through
Why is a hub worse than a switch for passing data around a wired network?
First link · your turn
Computer A sends one message into a hub. What does the hub do with it?
Does it need a switch?
Think about how the devices are connected, not just how many there are.
A family's home network has a phone, two tablets and a laptop. All four connect without any cables. Does this network need a switch?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
One computer sends one message to one other computer. So why might every computer on the wired network end up with a copy?
What you need to know
- A switch is a device in a wired network that sends data only to the device that needs it.
- Say Computer A sends a message meant for Computer C. A switch passes it to C and to no other device.
- A switch is required if a network has multiple wired connections. It connects the data to the correct wired device.
Have a goA classroom has lots of computers and every one is joined to the network by a cable. Which device connects each message to the correct computer?
A switch.
With multiple wired connections on a network, the switch is the device responsible for connecting data to the correct wired device.
- No wired devices on the network? Then a switch is not required.
- A hub can also connect multiple wired devices together.
- But a hub broadcasts: it copies any incoming data and sends it to all the other connected devices.
- That makes a hub less efficient than a switch.
- It is also a security risk, because devices the data was never meant for get a copy.
Have a goYour friend says: 'Hubs are fine. The message still reaches the computer it was meant for, so who cares about the others?' What would you tell her?
The others get a copy too, which makes the network less efficient and is a security risk.
Reaching the right device is not the whole story: a hub also copies the data to devices that never needed it.
- A switch directs data precisely to its destination, so it avoids both problems.
The big picture
A switch sends data only to the device that needs it, and it is required when a network has multiple wired connections. A hub broadcasts data to all the other connected devices, which is less efficient and a security risk.
Key points
Worked example
Problem
Network 1: computers P, Q, R and S are all connected with cables. Network 2: a few phones and tablets, all connected without cables. Which network needs a switch? For Network 1, why choose a switch rather than a hub?
⚠ Watch out
Thinking a hub and a switch do the same job. A hub copies incoming data to all the other connected devices. A switch sends it only to the device that needs it.
Memory hook
A hub shouts the message to the whole room. A switch hands it to the one person it is for.
Check yourself
Computer A sends a message meant for Computer C. Without looking back, say which computers get a copy through a hub, which get it through a switch, and what the hub's answer costs the network.
Flashcards
(6)What does a switch do in a wired network?
A network has no wired devices. Is a switch needed?
What does a hub do with incoming data?
Why is a hub less efficient than a switch?
Why is a hub a security risk?
Which one directs data precisely to its destination: a hub or a switch?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.