Skip to main content
GATE CSE

Shortest Path PYQs (GATE CSE Algorithms: Shortest Path previous year questions)

The frequency analysis counts 6 GATE CSE questions on Shortest Path between 2002–2025. 3 of them since 2016. See how it scores below, then practise Algorithms previous year questions.

  • 6questions in the topic analysis
  • 2002–2025years it has appeared
  • highhistorical value tier
  • 6practice questions on Shortest Path

About Shortest Path

Frequency
0.15
Recurrence
0.50
Recentness
0.50
Solvability
0.83

Combined topic value score 42.7/100 — the same transparent four-part weighting used across the archive, not a hand-assigned priority. HIGH

Difficulty mix
unknown3
normal2
easy1
Question type mix
MCQ5
descriptive1
Other exam streams
GATE DA1
GATE IT1

Practice Questions

These 6 questions are previous year questions on Shortest Path, checked and linked to this topic.

Question 1 of 5
GATE CSE 2026AlgorithmsGraph Algorithms2 marks

Let G(V,E)G(V, E) be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights of the edges in that path. The length of a path is the number of edges in that path.

Let s∈Vs \in V be a vertex in GG. For every u∈Vu \in V and for every k≥0k \geq 0, let dk(u)d_{k}(u) denote the weight of a shortest path (in terms of weight) from ss to uu of length at most kk. If there is no path from ss to uu of length at most kk, then dk(u)=∞d_{k}(u)=\infty.

Consider the statements:

S1: For every k≥0k \geq 0 and u∈V,dk+1(u)≤dk(u)u \in V, d_{k+1}(u) \leq d_{k}(u).

S2: For every (u,v)∈E(u, v) \in E, if (u,v)(u, v) is part of a shortest path (in terms of weight) from ss to vv, then for every k≥0,dk(u)≤dk(v)k \geq 0, d_{k}(u) \leq d_{k}(v).

Which one of the following options is correct?

Choose one option

Answer at least one question to submit.

Help us improve: tell us what to fix or add

Sign in to send feedback (it takes under a minute), or create a free account.