69 exam-style questions plus unlimited generated ones 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 (OCR), marked as you tap.
How the devices in a network are connected. OCR asks about the star topology (every device connected to a central switch) and the mesh topology (devices connected to several others, as a full or partial mesh). Expect questions asking you to identify or draw a topology, give advantages and disadvantages, and recommend one for a scenario.
Key facts
Star: each device has its own cable to a central switch
Star +: one cable failing affects only one device; easy to add devices; good performance
Star −: if the switch fails, the whole network fails; lots of cable
Full mesh: every device connected directly to every other device
Partial mesh: devices connected to several others, but not all
Mesh +: several routes, data re-routed, no single point of failure
Mesh −: many connections, so expensive and complex (less cabling if wireless)
Grade 7+ only Full mesh connections = n(n − 1) ÷ 2
Notes
Star topology
diagram
Every device is connected by its own cable to a central switch.
Star: every device has its own cable to the central switch
If one cable or device fails, only that device is affected; the rest of the network keeps working.
Easy to add or remove devices, and easy to find faults, because each device has its own cable.
Good performance: the switch sends data only to the device it is intended for, so there is less unnecessary traffic.
But if the central switch fails, the whole network stops. A lot of cable is needed, and the switch is an extra cost.
Mesh topology
diagram
In a full mesh, every device is connected directly to every other device. In a partial mesh, devices are connected to several others, but not to all of them.
Full mesh: every device links to every other, so data can be re-routed if a link fails
Data can travel along more than one route. If a link or device fails, the data is re-routed, so there is no single point of failure.
Very reliable (fault tolerant), and data can often take a direct route between devices.
A full mesh needs a lot of cables or connections, so it is expensive and complex to set up and manage. A wireless mesh avoids most of the cabling.
The Internet itself is a partial mesh of routers.
A full mesh of n devices needs n(n − 1) ÷ 2 connections. For 6 devices: 6 × 5 ÷ 2 = 15 connections, compared with 6 cables for a star. Grade 7+ only
How to answer each type of question
Identify or draw a topology
1 to 2 marksGrade 3
Star: look for one central device with a separate line to every other device.
Mesh: look for devices joined to several others, giving more than one route between them.
When drawing, label the central device as a switch and draw one clear line for each connection.
Example. Draw a diagram of a star network with four computers and a switch. Label the switch. [2]
Show the model answerHide the model answer
Four computers, each joined by its own line to one central device (1), with the central device labelled 'switch' (1). For example:
Describe advantages and disadvantages
2 to 4 marksGrade 5
State the advantage or disadvantage.
Explain the effect, e.g. 'so the other computers keep working'.
Keep star and mesh points separate unless the question asks you to compare.
Example. Describe one advantage and one disadvantage of a star topology. [4]
Show the model answerHide the model answer
Advantage: if one cable fails, only the device on that cable loses its connection (1), so the rest of the network keeps working (1). Disadvantage: if the central switch fails (1), every device loses its connection and the whole network stops (1).
Calculate the number of connections
1 to 3 marksGrade 7
Full mesh: each of the n devices connects to n − 1 others.
Multiply n × (n − 1), then divide by 2 because each cable joins two devices.
Star: one cable per device, so n cables.
Example. A network has 8 devices. (a) Calculate the number of cables needed to connect them in a full mesh. [2] (b) State how many cables would be needed in a star topology with one central switch. [1]
Show the model answerHide the model answer
(a) 8 × 7 = 56 (1), 56 ÷ 2 = 28 cables
(1)
(b) 8 cables
(1)
Recommend a topology for a scenario
4 to 6 marksGrade 7
Find what matters most in the scenario: reliability, or low cost and simplicity.
Recommend one topology and explain how it meets that need.
Compare with the other topology and deal with the drawback of your choice.
Example. A hospital is choosing a topology for the network that links its intensive care monitors to the nurses' station. The network must keep working at all times. Recommend a star or mesh topology. Justify your recommendation. [4]
Show the model answerHide the model answer
Mesh (1). There are several routes between devices, so if one cable or device fails, data is re-routed (1). There is no single point of failure, whereas in a star the whole network stops if the central switch fails (1). The extra cost and complexity of a mesh is justified because patients' safety depends on the monitors staying connected (1).
Don’t lose marks
Saying a star network fails if any cable breaks. Only the device on that cable is affected.
Saying a mesh is 'faster' with no reason. Explain that data can take direct or alternative routes.
Forgetting to divide by 2 when counting the connections in a full mesh.
Calling a network a full mesh when some devices are not connected directly to every other device.
More tips
Memory tricks
Star = the hub and spokes of a wheel. Mesh = a fishing net: cut one string and you can still get round.
Single point of failure? Star: yes (the switch). Mesh: no.
Full mesh sense check: 4 devices → 6 connections; 5 → 10; 6 → 15.
Exam technique
Always name the central device in a star as a switch.
In recommendation questions, the scenario tells you what matters most: reliability (mesh) or low cost and simplicity (star).
Show your working in connection calculations: n × (n − 1) ÷ 2.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 3
Identify a star or mesh network diagramStar: all devices connected to one central device. Mesh: devices connected to several other devices.
Grade 4
Draw a star or mesh topologyDraw each device linked to a labelled central switch, or linked to several other devices.
Grade 5
Give advantages and disadvantages of each topologyE.g. a star is easy to add to but fails if the switch fails; a mesh is reliable but expensive.
Grade 6
Explain how a mesh network re-routes dataThere are several routes between devices, so if one link fails the data is sent a different way.
Grade 7
Calculate the connections in a full meshA full mesh of n devices needs n(n − 1) ÷ 2 connections; a star needs n cables.
Grade 7
Recommend a topology for a scenarioWeigh reliability against cost for the organisation, and justify your choice.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
A ………… topology has a direct link between every pair of devices. Choose a word from the box: mesh, star, switch.
mesh
What name is given to a mesh network in which only some of the devices are connected directly to each other?
partial mesh
Name the device in a star network that receives data from one computer and sends it only to the computer it is meant for.
switch
State one advantage of a mesh topology.
Data can take another route if a cable fails.
All the ports on the switch in a company’s star network are in use. Give one way the company could connect more computers.
Add a second switch or replace it with a larger one.
A family’s home network has a router in the hall. A laptop, a phone and a smart TV each connect to the router using Wi-Fi. Name the topology of this network.
star
Sample questions
Written for this site in the style of OCR exam questions. They are not taken from real past papers.
Question 1Easy3 marks
(a) Which topology connects every device to a central switch? Tick (✓) one box.
[1]
Full mesh
Partial mesh
Peer-to-peer
Star
(b) State one advantage of a star topology.
[1]
(c) State one disadvantage of a full mesh topology.
[1]
Show the answer and mark scheme
(a)Answer: Star
(b)
if one cable fails only that device is affected / it is easy to add new devices / good performance because the switch sends data only to the intended device
(c)
expensive / a lot of cabling is needed / complex to set up and manage
Question 2Medium4 marks
Describe two advantages of a star topology.
[4]
Show the answer and mark scheme
reliable
if one cable / device fails, only that device loses its connection
easy to add or remove devices
without disrupting the rest of the network
good performance
the switch sends data only to the intended device, so there are fewer collisions
easy to find faults
because each device has its own cable to the switch
Question 3Hard6 marks
A factory is installing a network to connect its computers and the sensors on its production line. If the network stops working, production has to stop.
Evaluate the use of a star topology and a mesh topology for the factory’s network, and recommend which topology the factory should use.
[6]
Show the answer and mark scheme
mesh: there are several routes between devices, so there is no single point of failure
mesh: if a cable or device fails, data is sent along another route, so production can continue
mesh: needs far more cables / connections (in a full mesh), so it is expensive and complex to install and manage (a wireless mesh reduces the cabling)
star: cheaper and simpler, with one cable from each device to the central switch
star: a failed cable only affects one sensor or computer, and faults are easy to find
star: if the central switch fails, the whole network stops, so production stops
star: good performance, because the switch sends data only to the device it is meant for
recommends a (partial) mesh, justified by the cost of production stopping being greater than the extra cost of the network