GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 23

GATE CSE 2014 Set 2 Q23

Computer Networks · Routing Algorithms · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q23 1 mark · MCQ
Report issue

Routing Algorithms

Question 23, GATE 2014: Which statement about RIP and OSPF is true? A RIP uses distance-vector routing; OSPF uses link-state routing. B OSPF uses distance-vector; RIP uses link-state. C both use link-state. D both use distance-vector.
Tap to enlarge
Your answer
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.

Original paper, page 34 · Answer key