Question:medium

In a ________ topology, if there are n devices in a network, each device has n-1 ports for cables.

Updated On: Jan 16, 2026
  • Mesh
  • Bus
  • Star
  • Ring
Show Solution

The Correct Option is A

Solution and Explanation

A mesh topology in computer networking establishes a complete interconnection between all devices. Consequently, each device must have a direct link to every other device. With n devices in the network, each device necessitates connections to n-1 other devices, requiring n-1 ports per device.

The following briefly describes the topologies presented in the options:

  • Mesh Topology: Every device connects to every other device, utilizing n(n-1)/2 total cables.
  • Bus Topology: A solitary communication line is shared among all devices.
  • Star Topology: Devices connect to a central hub, not to each other directly.
  • Ring Topology: Devices are arranged circularly, with each connected to two adjacent devices.

Thus, in a mesh topology, with n devices, the requirement for each device to connect to n-1 other devices aligns with the specified condition.

Was this answer helpful?
0