The GATE Grind

GATE 2014 CS (CS2) – Question 33

Computer Networks · Routing: Distance Vector and Link State Routing · 1 mark · Multiple choice

Which statement about interior routing protocols RIP and OSPF is TRUE?

  1. RIP uses distance-vector and OSPF link-state routing.
  2. OSPF uses distance-vector and RIP link-state routing.
  3. Both use link-state routing.
  4. Both use distance-vector routing.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) RIP uses distance-vector and OSPF link-state routing.

Explanation

RIP exchanges distance vectors with neighbours, while OSPF distributes link-state information and computes shortest paths from a topology database. Therefore **A**. The distinction concerns their routing algorithms, not whether they run inside an autonomous system; both are interior protocols.