GATE CS 2021 Set 2 — Question 55

Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.
MSQ+2 / -0MediumDistance Vector RoutingNetwork Layer: RoutingComputer Networks

Computer Networks → Network Layer: Routing → Distance Vector Routing

Last updated

Question

Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below.
Partial network topology showing router R connected to neighbors X, Y, and Z, which in turn connect to routers Q and P.
The objective is to find the shortest-path path from the router RR to routers PP and QQ. Assume that RR does not initially know the shortest routes to PP and QQ. Assume that RR has three neighbouring routers denoted as XX, YY, and ZZ. During one iteration, RR measures its distance to its neighbours XX, YY, and ZZ as 33, 22, and 55, respectively. Router RR gets routing vectors from its neighbours that indicate that the distance to router PP from routers XX, YY, and ZZ are 77, 66, and 55, respectively. The routing vector also indicates that the distance to router QQ from routers XX, YY, and ZZ are 44, 66, and 88, respectively. Which of the following statement(s) is/are correct with respect to the new routing table of RR, after updation during this iteration?
Your answer

Select all that apply, then check your answer.

The solution stays hidden until you check.

Continue learning with Success Tracker

A step still unclear? Work through it with support

Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.

AI-powered practice· Unlimited practice on eligible plans
PYQs with solutions
Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
Practice that adapts
Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
AI doubt support
Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.

Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.

This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.

More questions on Network Layer: Routing