Question 1
In the given graph, if we try to find the shortest path from node P to all other nodes using
Dijkstra’s algorithm, which node is the
node to be included in the visited set? Consider that P is the 1st visited node.
U
R
S
T
In the given graph, if we try to find the shortest path from node P to all other nodes using
Dijkstra’s algorithm, which node is the
node to be included in the visited set? Consider that P is the 1st visited node.
U
R
S
T
Correct answer
S
Question 1 of 16 in the IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term (IIT M DIPLOMA AN EXAM QDD2 23 Nov 2025 NEW). It carries 3 marks.