4 Qs · since 2012 · 8 marks · 0.3 marks/paperStandard yield
Shortest paths questions in GATE CS consistently assess both procedural graph execution (exact state transitions during relaxation under explicit tie-breaking conditions) and deep… Guide
Topic guide
Shortest paths questions in GATE CS consistently assess both procedural graph execution (exact state transitions during relaxation under explicit tie-breaking conditions) and deep structural properties of shortest path algorithms. Across the years, the topic spans algorithm tracing (Dijkstra), graph reweighting principles (Johnson's technique), parametric weight constraints, and optimal algorithmic bounds on specialized topologies (such as DAGs). Questions are invariably weighted at 2 marks, reflecting high conceptual and analytical rigor.
Exact Algorithmic Tracing with Strict Relaxation Rules
occasional · MCQ · 2 marks · 2012
Simulating Dijkstra's algorithm step-by-step on a directed weighted graph with specified tie-breaking or strictly-shorter update conditions to determine the exact path or parent pointers reported.
Parametric Edge Weight Threshold Analysis
occasional · NAT · 2 marks · 2016
Given a weighted graph or adjacency matrix containing an unknown parameter x on an edge, computing the threshold value of x such that the edge is included in at least one shortest path.
Path Invariant and Vertex Potential Reweighting
occasional · MCQ · 2 marks · 2020
Evaluating mathematical properties of edge weight modifications (e.g., adding node potentials ) and proving path optimality preservation via telescoping sums.
Complexity Bounds for Graph Subclasses
occasional · MCQ · 2 marks · 2026
Identifying the asymptotic time complexity of the fastest single-source shortest path (SSSP) algorithm on specialized graph classes, such as DAGs via topological ordering.
Telescoping Path Weight Modification (Johnson's Potential)
Used when analyzing the invariance of shortest paths under vertex potential reweighting functions.
DAG SSSP Running Time
Used for finding single-source shortest paths in a Directed Acyclic Graph by relaxing edges along a topological ordering.
Shortest Path Edge Inclusion Bound
Used to find the upper bound on an edge's weight such that the direct edge remains part of a shortest path between its endpoints.
Questions have diversified from manual Dijkstra tracing on visual graph figures to algebraic formulations, matrix-based path analysis, and theoretical properties of shortest-path-preserving transformations.
2026, 2020, 2016, 2012
Consistent high-value 2-mark allocation across all years, balancing procedural NAT questions with analytical and complexity-focused MCQs.
2026, 2020, 2016, 2012
Easy items test standard complexity bounds on specialized graph classes (e.g., DAG SSSP via topological sorting). Medium items test metric reasoning on adjacency matrices with symbolic variables or algebraic invariants like potential reweighting. Hard items require multi-step manual tracing on graphs with competing equidistant paths where strict relaxation and priority queue state transitions dictate the final parent pointers.