CS FundamentalsVery hardGATE CS · Cisco/networking placement
A new learning switch has hosts A, B, C and D on ports 1–4. These frames are sent in order: A→B, C→D, B→A, D→C, A→D, then B sends a broadcast. How many of the six frames does the switch flood out of all other ports?
- A. 2
- B. 4
- C. 5
- D. 3
Correct answer: D. 3
A→B and C→D are flooded because B and D are unknown. B→A, D→C and A→D go out one port, since A, C, B and D were learned from the source addresses of earlier frames. The broadcast is always flooded: 3 in total. A switch learns from source, never destination, addresses.
More Computer Networks questions
- Assertion (A): Split horizon with poisoned reverse does not always prevent count-to-infinity in distance-vector routing. Reason (R): It…
- A token bucket has capacity 1 MB, fills at 2 MB/s, and is full at t = 0, when a host starts sending a long burst. The host's link runs at…
- A 100 Mbps link is 3000 km long and signals travel at 2 × 10⁸ m/s. For what packet size does the transmission delay equal the propagation…
- A home router does port address translation using one public IPv4 address and source ports 1024–65535. Ten PCs behind it all open TCP…
- A form sends a POST to /old, and the server must redirect it to /new so that the browser repeats the POST with the same body, and the move…
- A TLS 1.3 client resumes a session and sends application data in 0-RTT (early data). Which statement is correct?