CS FundamentalsVery hardGATE CS
Synchronous Bellman–Ford runs from S on an undirected graph S–A 4, S–B 1, B–A 2, A–C 1, B–C 6, C–D 2, A–D 7. In each round every node's estimate is recomputed from its neighbours' estimates of the PREVIOUS round. After exactly 2 rounds, what are the estimates for A, C and D?
- A. A = 3, C = 5, D = 11
- B. A = 3, C = 4, D = 6
- C. A = 4, C = 5, D = 11
- D. A = 3, C = 7, D = 11
Correct answer: A. A = 3, C = 5, D = 11
Round 1 uses only round-0 values: A = 4, B = 1, others ∞. Round 2: A = min(4, 1 + 2) = 3, C = min(4 + 1, 1 + 6) = 5, D = 4 + 7 = 11. The true values (A = 3, C = 4, D = 6) need more rounds, since the best paths have 3–4 hops.
More Computer Networks questions
- A page (base file 100 KB) references 10 images of 100 KB each on the same server (1 KB = 1000 bytes). The link is 1 Mbps with RTT 50 ms…
- Ignoring DNS, how many RTTs does a fresh HTTPS request take until the response arrives with TCP + TLS 1.3, and with HTTP/3 over QUIC (no…
- A 60-second video clip is encoded at a constant 2 Mbps, but the network delivers only 1.5 Mbps. What is the minimum start-up…
- Which statement about BitTorrent piece selection and peer choice is correct?
- What is the Shannon capacity of a 1 MHz channel whose SNR is 20 dB?
- What is the maximum size of an Ethernet frame carrying an 802.1Q VLAN tag (destination MAC through FCS, standard 1500-byte payload)?