Bird
Raised Fist0
Computer Networksknowledge~20 mins

Network topologies (star, bus, ring, mesh) in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Network Topology Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Star Topology
In a star network topology, what happens if the central device fails?
AAll devices lose communication because the central device controls all connections.
BThe devices continue communicating directly without the central device.
CThe network automatically reroutes data through other devices to maintain communication.
DOnly the device connected to the failed central device loses communication.
Attempts:
2 left
💡 Hint
Think about the role of the central device in a star topology.
📋 Factual
intermediate
2:00remaining
Identifying Bus Topology Characteristics
Which of the following is a key characteristic of a bus topology?
AEach device is connected to a single central cable called the bus.
BDevices are connected in a closed loop forming a ring.
CEvery device is connected to every other device directly.
DDevices connect to a central hub or switch.
Attempts:
2 left
💡 Hint
Recall the physical layout of a bus topology.
🔍 Analysis
advanced
2:00remaining
Comparing Ring and Mesh Topologies
Which statement correctly compares ring and mesh topologies in terms of fault tolerance?
ARing topology can continue working if one connection breaks, but mesh topology cannot.
BMesh topology provides higher fault tolerance because devices have multiple paths to communicate.
CBoth topologies fail completely if any single device fails.
DRing topology has better fault tolerance because data travels in both directions simultaneously.
Attempts:
2 left
💡 Hint
Consider how many connections each device has in both topologies.
🚀 Application
advanced
2:00remaining
Choosing a Topology for a Small Office
A small office wants a network that is easy to set up, cost-effective, and simple to troubleshoot. Which topology is the best choice?
AMesh topology because it offers multiple paths for data.
BBus topology because it requires a central device.
CRing topology because it uses less cable than star.
DStar topology because it is easy to manage and troubleshoot.
Attempts:
2 left
💡 Hint
Think about ease of troubleshooting and setup simplicity.
❓ Reasoning
expert
2:00remaining
Impact of Adding Devices in Mesh Topology
In a fully connected mesh topology with 5 devices, how many direct connections exist? What happens to the number of connections if one more device is added?
AThere are 5 connections with 5 devices; adding one device increases connections to 6.
BThere are 20 connections with 5 devices; adding one device increases connections to 25.
CThere are 10 connections with 5 devices; adding one device increases connections to 15.
DThere are 15 connections with 5 devices; adding one device increases connections to 21.
Attempts:
2 left
💡 Hint
Use the formula for connections in a fully connected mesh: n(n-1)/2.

Practice

(1/5)
1. Which network topology connects all devices to a single central device like a switch or hub?
easy
A. Bus topology
B. Star topology
C. Ring topology
D. Mesh topology

Solution

  1. Step 1: Understand the central device concept

    Star topology connects all devices to one central device, which manages communication.
  2. Step 2: Compare with other topologies

    Bus uses a single cable, ring connects devices in a circle, mesh connects devices directly to many others.
  3. Final Answer:

    Star topology -> Option B
  4. Quick Check:

    Central device = Star topology [OK]
Hint: Central device means star topology [OK]
Common Mistakes:
  • Confusing bus with star because both use cables
  • Thinking ring has a central device
  • Mixing mesh with star due to multiple connections
2. Which of the following is the correct description of a bus topology?
easy
A. Devices connected in a closed loop
B. Devices connected to a central hub
C. All devices connected to a single cable
D. Each device connected to every other device

Solution

  1. Step 1: Recall bus topology structure

    Bus topology connects all devices along a single communication cable.
  2. Step 2: Eliminate other options

    Closed loop is ring, every device connected is mesh, central hub is star.
  3. Final Answer:

    All devices connected to a single cable -> Option C
  4. Quick Check:

    Single cable = Bus topology [OK]
Hint: Bus means one main cable for all devices [OK]
Common Mistakes:
  • Confusing ring (closed loop) with bus
  • Thinking mesh is a single cable
  • Mixing star's central hub with bus
3. In a ring topology with 5 devices, if one device fails, what happens to the network communication?
medium
A. Communication switches to a central hub
B. Only the failed device loses connection
C. Communication continues normally
D. The entire network communication is disrupted

Solution

  1. Step 1: Understand ring topology communication

    Devices are connected in a closed loop; data passes through each device.
  2. Step 2: Analyze failure impact

    If one device fails, the loop breaks, stopping communication for all devices.
  3. Final Answer:

    The entire network communication is disrupted -> Option D
  4. Quick Check:

    One failure breaks ring loop = disruption [OK]
Hint: Ring breaks if one device fails [OK]
Common Mistakes:
  • Assuming only failed device loses connection
  • Thinking ring has a backup path like mesh
  • Confusing with star topology behavior
4. A network uses a mesh topology but experiences frequent data collisions. What is the most likely cause?
medium
A. There is no central device to control traffic
B. Devices are connected in a ring causing loops
C. Devices are connected in a single cable
D. Only one device is connected to the network

Solution

  1. Step 1: Understand mesh topology traffic

    Mesh connects devices directly; without control, many devices send data simultaneously.
  2. Step 2: Identify cause of collisions

    Without a central controller or protocol, data packets collide causing errors.
  3. Final Answer:

    There is no central device to control traffic -> Option A
  4. Quick Check:

    No traffic control = collisions in mesh [OK]
Hint: No controller causes collisions in mesh [OK]
Common Mistakes:
  • Confusing mesh with bus single cable
  • Thinking ring causes collisions here
  • Assuming one device can't cause collisions
5. A company wants a network where each device connects to every other device directly for maximum reliability. Which topology should they choose and why?
hard
A. Mesh, because every device connects directly to all others
B. Star, because it uses a central hub for easy management
C. Bus, because it uses a single cable to connect all devices
D. Ring, because devices form a closed loop for data flow

Solution

  1. Step 1: Identify topology with direct device-to-device connections

    Mesh topology connects every device directly to all others, ensuring reliability.
  2. Step 2: Compare other topologies for reliability

    Star depends on central hub, bus uses one cable, ring forms a loop but not all direct connections.
  3. Final Answer:

    Mesh, because every device connects directly to all others -> Option A
  4. Quick Check:

    Direct connections = Mesh topology [OK]
Hint: Direct all-to-all connections mean mesh [OK]
Common Mistakes:
  • Choosing star for reliability ignoring central point failure
  • Thinking bus provides direct connections
  • Confusing ring loop with full direct connections
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard