CARVIEW |
Routing protocols PYQ QUIZ GATE CS
Topic wise Quiz on Routing Protocols in Computer networks GATE CS from 2025 to 2000
Question 1
Consider the same data as given in previous question. After the update in the previous question, the link N1-N2 goes down. N2 will reflect this change immediately in its distance vector as cost, infinite. After the NEXT ROUND of update, what will be cost to N1 in the distance vector of N3?
3
9
10
Infinite
Question 2
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 the 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. 52. 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.
(3, 2, 0, 2, 5)
(3, 2, 0, 2, 6)
(7, 2, 0, 2, 5)
(7, 2, 0, 2, 6)
Question 3
Consider a network with 6 routers R1 to R6 connected with links having weights as shown in the following diagram:

All the routers use the distance vector based routing algorithm to update their routing tables. Each router starts with its routing table initialized to contain an entry for each neighbour with the weight of the respective connecting link. After all the routing tables stabilize, how many links in the network will never be used for carrying any data?
4
3
2
1
Question 4
Consider the data given in above question 54 . Suppose the weights of all unused links in the previous question are changed to 2 and the distance vector algorithm is used again until all routing tables stabilize. How many links will now remain unused?
0
1
2
3
Question 5
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500 network nodes and 4000 links.
[S1] The computational overhead in link state protocols
is higher than in distance vector protocols.
[S2] A distance vector protocol (with split horizon)
avoids persistent routing loops, but not a link
state protocol.
[S3] After a topology change, a link state protocol
will converge faster than a distance vector
protocol.
Which one of the following is correct about S1, S2, and S3 ?
S1, S2, and S3 are all true.
S1, S2, and S3 are all false.
S1 and S2 are true, but S3 is false
S1 and S3 are true, but S2 is false
Question 6
Which one of the following is TRUE about interior Gateway routing protocols - Routing Information Protocol (RIP) and Open Shortest Path First (OSPF)
RIP uses distance vector routing and OSPF uses link state routing
OSPF uses distance vector routing and RIP uses link state routing
Both RIP and OSPF use link state routing
Both RIP and OSPF use distance vector routing
Question 7
Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is shown below.
The objective is to find the shortest-cost path from the router R to routers P and Q. Assume that R does not initially know the shortest routes to P and Q. Assume that R has three neighbouring routers denoted as X, Y and Z. During one iteration, R measures its distance to its neighbours X, Y, and Z as 3, 2 and 5, respectively. Router R gets routing vectors from its neighbours that indicate that the distance to router P from routers X, Y and Z are 7, 6 and 5, respectively. The routing vector also indicates that the distance to router Q from routers X, Y and Z are 4, 6 and 8 respectively. Which of the following statement(s) is/are correct with respect to the new routing table o R, after updation during this iteration?
The distance from R to P will be stored as 10
The distance from R to Q will be stored as 7
The next hop router for a packet from R to P is Y
The next hop router for a packet from R to Q is Z
Question 8
Consider the following routing table at an IP router
-GATE-2015-SET-2-_-CN-_-IP-ROUTER-_-ADDRESS-_-SOLUTIONS-ADDA-_-GATE-TEST-SERIES-_-EXPLAINED-BY-VIVEK---YouTube---Google-Chrome-7_17_2023-3_10_36-PM.png)
For each IP address in Group-I identify the correct choice of the next hop from Group-II using the entries from the routing table above.
List-I List-II
A. 128.96.171.92 1. Interface 0
B. 128.96.167.151 2. Interface 1
C. 128.96.163.121 3. R2
D. 128.96.165.121 4. R3
5. R4
Codes:
A B C D
(a) 1 3 5 4
(b) 1 4 2 5
(c) 2 3 4 5
(d) 2 3 5 4
a
b
c
d
Question 9
Consider the following statements about the functionality of an IP based router.
- I. A router does not modify the IP packets during forwarding.
- II. It is not necessary for a router to implement any routing protocol.
- III. A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet.
Which of the above statements is/are TRUE ?
I and II only
I only
II and III only
II only
Question 10
For the network given in the figure below, the routing tables of the four nodes A, E, D and G are shown. Suppose that F has estimated its delay to its neighbors, A, E, D and G as 8, 10, 12 and 6 msecs respectively and updates its routing table using distance vector routing technique.
A.
B.
C.
D.
A
B
C
D
There are 18 questions to complete.