wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Routing Protocols MCQs

Total questions: 25

Worksheet time: 11mins

Name
Class
Date
1.

Which algorithm is most commonly used for finding the single-source shortest path in a weighted graph with non-negative weights?

a)

Bellman-Ford

b)

Dijkstra's algorithm

c)

Floyd-Warshall

d)

Kruskal's algorithm

2.

Bellman-Ford algorithm can handle:

a)

Only positive weights

b)

Positive and negative weights (no negative cycles)

c)

Only negative weights

d)

Zero-weight edges only

3.

The time complexity of Dijkstra's algorithm with a binary heap is:

a)

O(V²)

b)

O(E + V log V)

c)

O(V log E)

d)

O(E log E)

4.

Which algorithm finds shortest paths between all pairs of vertices?

a)

Prim's

b)

Dijkstra's

c)

Floyd-Warshall

d)

Bellman-Ford

5.

Relaxation in shortest path algorithms means:

a)

Ignoring edges

b)

Updating a distance estimate if a shorter path is found

c)

Removing cycles

d)

Pausing computation

6.

The output of a shortest path algorithm is typically a:

a)

Spanning tree

b)

Routing table

c)

Flow network

d)

Hamiltonian cycle

7.

A negative cycle in a graph implies:

a)

Multiple optimal solutions

b)

No well-defined shortest path

c)

Minimum spanning tree is impossible

d)

Faster convergence

8.

In a weighted graph, edges can represent:

a)

Only physical distance

b)

Any cost metric such as delay or bandwidth

c)

CPU usage

d)

File size

9.

Distance vector protocols exchange:

a)

Complete topology maps

b)

Vectors of destination distances to neighbors

c)

Only default routes

d)

Encryption keys

10.

A well-known distance vector protocol for IP networks is:

a)

OSPF

b)

RIP

c)

IS-IS

d)

BGP (core mode)

11.

RIP uses which metric for path cost?

a)

Bandwidth

b)

Delay

c)

Hop count

d)

Reliability

12.

Distance vector routers periodically send updates:

a)

Only when changes occur

b)

At fixed intervals

c)

Once a day

d)

Only on startup

13.

The 'count-to-infinity' problem is associated with:

a)

Link-state routing

b)

Distance vector routing

c)

Path-vector routing

d)

Source routing

14.

Triggered updates in RIP occur when:

a)

At midnight

b)

A significant topology change happens

c)

The router is idle

d)

A timer expires

15.

Distance vector routers know:

a)

Entire network map

b)

Only the next hop and distance

c)

All link states

d)

MAC addresses of all devices

16.

Maximum RIP hop count of 16 means:

a)

Infinite distance

b)

Network diameter limited to 16 routers

c)

16-bit metric

d)

TTL = 16

17.

Bellman-Ford is the theoretical basis for:

a)

Link-state protocols

b)

Distance vector routing

c)

Path vector BGP

d)

MPLS

18.

A key feature of link-state routing is:

a)

Routers flood link-state advertisements (LSAs)

b)

Distance vectors only to neighbors

c)

Hop-by-hop updates

d)

Centralized control

19.

Each OSPF router builds a:

a)

Distance vector table

b)

Link-state database (LSDB)

c)

MAC forwarding table

d)

Bridge ID list

20.

OSPF areas are used to:

a)

Encrypt traffic

b)

Scale large networks

c)

Increase hop count

d)

Provide QoS

21.

When a link changes state, OSPF routers:

a)

Wait for a timer

b)

Immediately flood an LSA

c)

Reboot

d)

Ignore until periodic update

22.

Hello packets in OSPF are used to:

a)

Advertise routes

b)

Discover and maintain neighbors

c)

Carry user data

d)

Measure latency

23.

Which protocol is known as a path-vector unicast routing protocol?

a)

BGP

b)

OSPF

c)

RIP

d)

IS-IS

24.

Which of these is not an Interior Gateway Protocol?

a)

OSPF

b)

IS-IS

c)

RIP

d)

BGP

25.

Unicast routing delivers packets:

a)

To all nodes

b)

To a single specific destination

c)

To a multicast group

d)

To broadcast domain