Skip to content
GATEiit

GATE CSE 2019 Q59: Minimum number of 8-port switches to connect 15 machines

Syllabus topic: Data link layer: error detection, medium access control and Ethernet

Question

Consider that 15 machines need to be connected in a LAN using 8-port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum number of switches needed is ________.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 3 (official GATE 2019 final answer key)

Concept used: Without dedicated uplink ports, every switch-to-switch link uses one ordinary port on each switch, so k switches joined in a tree lose 2(k−1) ports to interconnection.

Concept notes

Loading notes…

First step: Count the ports free for machines with k switches in a chain or tree, 8k−2(k−1), and find the smallest k that gives at least 15.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Data link layer: error detection, medium access control and Ethernet

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key