Which protocol is used to prevent loops in a switched network? MCQ with Answer and Explanation

Which protocol is used to prevent loops in a switched network?
A. RIP
B. STP (Spanning Tree Protocol)
C. OSPF
D. BGP
Answer: Option B
Solution (By JKSSB Mock Tests)
Spanning Tree Protocol (STP) prevents loops in networks with redundant links.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Networking Questions

Question #1
Which OSI layer is responsible for error detection and correction at the data link layer?
A. Physical layer
B. Transport layer
C. Network layer
D. Data link layer

Correct Answer: Option D


Explanation:
The data link layer performs error detection (and sometimes correction) using frame check sequences.

This question belongs to: Computer Computer Networking
Question #2
Which of the following is a key operational drawback of using a basic hardware hub instead of a network switch?
A. Hubs alter the physical MAC addresses of packets.
B. Hubs cannot interface with Ethernet cabling.
C. Hubs require manual IP allocation steps.
D. Hubs broadcast all incoming traffic to every connected port, which reduces available bandwidth and increases data collision risks.

Correct Answer: Option D


Explanation:
Because a hub lacks forwarding logic, it repeats incoming data to all ports, creating a single shared collision domain that reduces performance.

This question belongs to: Computer Computer Networking
Question #3
Which IP address range indicates a Class A network identity under traditional routing rules?
A. 1.0.0.0 to 126.255.255.255
B. 224.0.0.0 to 239.255.255.255
C. 128.0.0.0 to 191.255.255.255
D. 192.0.0.0 to 223.255.255.255

Correct Answer: Option A


Explanation:
Class A IP addresses utilize the first octet range from 1 to 126 (excluding 127 which is reserved for loopback diagnostics).

This question belongs to: Computer Computer Networking