Data Communication MCQs with Answers
Practice important Data Communication MCQs with answers and explanations.
Multiple Choice Questions
Q3421: Which of the following best describes the purpose of a spanning tree in a switched LAN?
- A: Increase loops
- B: Prevent routing errors
- C: Eliminate loops and redundancy
- D: Introduce multiple paths
View Answer
C
Q3422: Which value is assigned to LAN links when determining a spanning tree?
- A: Weight
- B: Delay
- C: Cost
- D: Port number
View Answer
C
Q3423: Fill in the blank: The ______ is calculated to determine the spanning tree in a network.
- A: port number
- B: spanning distance
- C: link cost
- D: connection path
View Answer
C
Q3424: What is the role of the cost (metric) in spanning tree algorithms?
- A: To detect loops
- B: To choose shortest paths
- C: To increase redundancy
- D: To bypass switches
View Answer
B
Q3425: Fill in the blank: In the spanning tree algorithm, the port that remains active is called the ______ port.
- A: blocking
- B: forwarding
- C: transmitting
- D: receiving
View Answer
B
Q3426: Which ports are disabled to avoid loops in a spanning tree?
- A: Root ports
- B: Forwarding ports
- C: Blocking ports
- D: Active ports
View Answer
C
Q3427: What does a spanning tree algorithm do in a LAN environment?
- A: Adds redundancy
- B: Improves transmission speed
- C: Creates loop-free topology
- D: Reduces bandwidth
View Answer
C
Q3428: Which algorithm is commonly used to create a loop-free topology in LANs?
- A: Distance Vector Algorithm
- B: Flooding Algorithm
- C: Spanning Tree Algorithm
- D: Dijkstra’s Algorithm
View Answer
C
Q3429: What happens to non-forwarding ports in a switch after applying the spanning tree protocol?
- A: They are disabled
- B: They remain active
- C: They duplicate data
- D: They act as root ports
View Answer
A
Q3430: Fill in the blank: A ______ tree is a special type of graph used in networking to eliminate loops.
- A: connected
- B: distributed
- C: spanning
- D: root
View Answer
C