Skip to content

GATE CS Routing Protocols: Shortest Path, Flooding, Distance Vector, Link State questions

Practise Routing Protocols: Shortest Path, Flooding, Distance Vector, Link State questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMSQ · 2 marks
An ISP having an address block 202.16.0.0/15202.16.0.0/15 assigns a block of 60006000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?
Official PYQ2026Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a file of size 44 million bytes being transferred between two hosts connected via a path consisting of three consecutive links of bandwidth 22 Mbps , 500500 kbps , and 11 Mbps , respectively. All processing delays and propagation delays are negligible. Assume that there is no other background traffic over the path and no other additional …
Official PYQ2025Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider the routing protocols given in List I and the names given in List II: …
Official PYQ2024Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 2 marks
Consider a network path P−Q−R\mathrm{P}-\mathrm{Q}-\mathrm{R} between nodes P\mathrm{P} and R\mathrm{R} via router Q\mathrm{Q}. Node P\mathrm{P} sends a file of size 10610^6 bytes to R\text{R} via this path by splitting the file into chunks of 10310^3 bytes each. Node P\text{P} sends these chunks one after the other without any wait time …
Official PYQ2024Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateNAT · 2 marks
Consider the entries shown below in the forwarding table of an IP\text{IP} router. Each entry consists of an IP\text{IP} prefix and the corresponding next hop router for packets whose destination IP\text{IP} address matches the prefix. The notation " /N\mathrm{N} " in a prefix indicates a subnet mask with the most significant N\mathrm{N} bits set …
Official PYQ2023Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMSQ · 1 mark
Which of the following statements is/are INCORRECT\text{INCORRECT} about the OSPF (Open Shortest Path First)\textsf{OSPF (Open Shortest Path First)} routing protocol used in the Internet?
Official PYQ2022Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateNAT · 2 marks
Consider a network with three routers P, Q, R\text{P, Q, R} shown in the figure below. All the links have cost of unity. The routers exchange distance vector routing information and have converged on the routing tables, after which the link Q-R\text{Q-R} fails. Assume that P\text{P} and Q\text{Q} send out routing updates at random times, each at the same …
Official PYQ2021Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMSQ · 2 marks
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 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 …
Official PYQ2020Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider the following statements about the functionality of an IP\textsf{IP} based router. A router does not modify the IP\textsf{IP} packets during forwarding. It is not necessary for a router to implement any routing protocol. A router should reassemble IP\textsf{IP} fragments if the MTU\textsf{MTU} of the outgoing link is larger than the size of …
Official PYQ2017Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider the following statements about the routing protocols. Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an IPv4\textsf{IPv4} network. RIP uses distance vector routing RIP packets are sent using UDP OSPF packets are sent using TCP OSPF operation is based on link-state routing Which of the above statements are CORRECT?
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Which of the following are used to generate a message digest by the network security protocols? RSA SHA-11 DES MD5
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500500 network nodes and 40004000 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 …
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
An IP machine QQ has a path to another IP machine HIP\ machine\ H via three IP routers R1,R2,IP\ routers \ R1, R2, and R3R3. Q−R1−R2−R3−HQ-R1-R2-R3-H HH acts as an HTTP server\text{HTTP}\ server, and QQ connects to HH via HTTP\text{HTTP} and downloads a file. Session layer encryption is used, with DES\text{DES} as the shared key encryption protocol. Consider the following four …
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Which of the following is TRUE about the interior gateway routing protocols −- Routing Information Protocol (RIP)(RIP) and Open Shortest Path First (OSPF)(OSPF)
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateNAT · 1 mark
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address 131.23.151.76131.23.151.76. The router's routing table has the following entries: …
Official PYQ2011Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a network with five nodes, N1N1 to N5N5, as shown as below. The network uses a Distance Vector Routing protocol. Once the routes have been stabilized, the distance vectors at different nodes are as follows. N1: (0,1,7,8,4)(0, 1, 7, 8, 4) N2: (1,0,6,7,3)(1, 0, 6, 7, 3) N3: (7,6,0,2,6)(7, 6, 0, 2, 6) N4: (8,7,2,0,4)(8, 7, 2, 0, 4) N5: (4,3,6,4,0)(4, 3, 6, 4, 0) Each distance vector …
Official PYQ2011Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a network with five nodes, N1N1 to N5N5, as shown as below. The network uses a Distance Vector Routing protocol. Once the routes have been stabilized, the distance vectors at different nodes are as follows. N1: (0,1,7,8,4)(0, 1, 7, 8, 4) N2: (1,0,6,7,3)(1, 0, 6, 7, 3) N3: (7,6,0,2,6)(7, 6, 0, 2, 6) N4: (8,7,2,0,4)(8, 7, 2, 0, 4) N5: (4,3,6,4,0)(4, 3, 6, 4, 0) Each distance vector …
Official PYQ2010Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a network with 66 routers R1R1 to R6R6 connected with links having weights as shown in the following diagram. Suppose the weights of all unused links are changed to 22 and the distance vector algorithm is used again until all routing tables stabilize. How many links will now remain unused?
Official PYQ2010Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a network with 66 routers R1\textbf{R1} to R6\textbf{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 neighbor with the weight of the …
Official PYQ2005Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
In a network of LANs connected by bridges, packets are sent from one LAN to another through intermediate bridges. Since more than one path may exist between two LANs, packets may have to be routed through multiple bridges. Why is the spanning tree algorithm used for bridge-routing?