Routing Algorithms

Answer & solution
Official answer: A
1. Set up the reasoning. Classify the information routers exchange: distance-vector protocols communicate distance estimates via neighbors, while link-state protocols advertise local links so routers can reconstruct a topology.
2. Derive the result. RIP exchanges distance vectors and uses hop counts. OSPF floods link-state information and computes shortest paths over topology. Thus A.
3. Check the interpretation. RIP's standard hop-count updates fit the first model. OSPF uses link-state advertisements and shortest-path computation, fitting the second. Both are interior gateway protocols, but that shared role does not imply a shared routing algorithm.