CS FundamentalsHardGATE CS · ISRO Scientist
Link-state routing runs Dijkstra from S on an undirected network with link costs S–A 3, S–B 1, B–A 1, A–C 2, B–C 5, C–D 1, B–D 7, A–D 6. In what order are nodes made permanent, and what is the cost to D?
- A. S B A D C; cost 6
- B. S B A C D; cost 6
- C. S A B C D; cost 5
- D. S B A C D; cost 5
Correct answer: D. S B A C D; cost 5
S (0), B (1), then A (2 via B, beating 3 direct), C (4 via A, beating 6 via B), D (5 via C, beating 7 via A and 8 via B). The path is S–B–A–C–D with cost 5.
More Computer Networks questions
- Which statement about split horizon with poisoned reverse in distance-vector routing is correct?
- A host that has just booted broadcasts an ARP request asking for its OWN IP address. Why?
- A DHCP server sits on 10.0.0.0/24 and serves clients on 10.5.7.0/24 through a relay agent on that client router interface (10.5.7.1). How…
- Classic UNIX traceroute sends UDP probes with increasing TTL. How does it know that a probe has reached the destination host itself?
- A browser re-requests a cached image with the header If-Modified-Since. The image has not changed on the server. What does the server send?
- How many of the following statements are correct? 1. HTTP/2 multiplexes many requests as streams over one TCP connection. 2. HTTP/2…