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

Computer A→Middle device→Computers B, C and D
Round=1 of 2Sent by=Computer AMeant for=Computer CMiddle device=Hub

Output

 

Step 1: Round 1, with a hub in the middle. Computer A sends a message that is meant for Computer C only.

1 / 6

Press Next to move along. Round 1 uses a hub, round 2 uses a switch.

Step 1 of 6: Round 1, with a hub in the middle. Computer A sends a message that is meant for Computer C only..

Watch out: Both devices get the message to Computer C. The difference is who else gets it.

Hub trouble

?

Reason it through

Why is a hub worse than a switch for passing data around a wired network?

Link 1 of 4

First link · your turn

Computer A sends one message into a hub. What does the hub do with it?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

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?

Your turn

Make the case for the switch

Explain why a switch is used instead of a hub in a wired network. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

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

1A switch sends data only to the device that needs it.
2A switch is required when there are multiple wired connections, and only if there are wired devices.
3A hub broadcasts (copies and sends) incoming data to all the other connected devices.
4Broadcasting is less efficient and a security risk. A switch directs data precisely to its destination.

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?
It sends data only to the device that needs it.
A network has no wired devices. Is a switch needed?
No. Switches are for wired devices, so with none, nothing needs one. Multiple wired connections? Then it is required.
What does a hub do with incoming data?
It broadcasts it: it copies the data and sends it to all the other connected devices.
Why is a hub less efficient than a switch?
Its extra copies go to devices with no use for them.
Why is a hub a security risk?
Devices that the data was never meant for still receive a copy of it.
Which one directs data precisely to its destination: a hub or a switch?
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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

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.