GATE CS 2011 · Question 52 · Computer Networks · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Statement for Linked Answer Questions 52 and 53: Consider a network with five nodes, N1 to N5, as shown below.
The network uses a Distance Vector Routing protocol. Once the routes have stabilized, the distance vectors at different nodes are as following.
N1: (0, 1, 7, 8, 4)
N2: (1, 0, 6, 7, 3)
N3: (7, 6, 0, 2, 6)
N4: (8, 7, 2, 0, 4)
N5: (4, 3, 6, 4, 0)
Each distance vector is the distance of the best known path at that instance to nodes, N1 to N5, where the distance to itself is 0. Also, all links are symmetric and the cost is identical in both directions. In each round, all nodes exchange their distance vectors with their respective neighbors. Then all nodes update their distance vectors. In between two rounds, any change in cost of a link will cause the two incident nodes to change only that entry in their distance vectors.
The cost of link N2-N3 reduces to 2 (in both directions). After the next round of updates, what will be the new distance vector at node, N3?

Undirected weighted network of five nodes N1 to N5. Edges with costs: N1–N2 cost 1; N2–N5 cost 3; N2–N3 cost 6; N5–N4 cost 4; N4–N3 cost 2. N5, N2, N3, N4 form a square (N5 top-left, N2 top-right, N3 bottom-right, N4 bottom-left) and N1 hangs off N2 toward the upper right. No other edges.
  1. (A) (3, 2, 0, 2, 5)
  2. (B) (3, 2, 0, 2, 6)
  3. (C) (7, 2, 0, 2, 5)
  4. (D) (7, 2, 0, 2, 6)
Answer

Answer (A)

Answer from the official GATE CS 2011 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes