Total Questions : 40
Expected Time : 40 Minutes

1. How does Dijkstra's algorithm behave when there is a negative cycle in the graph?

2. In Dijkstra's algorithm, what is the role of the 'visited' set?

3. How does the choice of initial vertex impact the results of Dijkstra's algorithm?

4. What is the purpose of the 'source' parameter in Dijkstra's algorithm?

5. What is the purpose of the priority queue in Dijkstra's algorithm?

6. How does Dijkstra's algorithm handle graphs with disconnected components?

7. How does Dijkstra's algorithm handle negative edge weights in a graph?

8. What is the key concept behind Dijkstra's algorithm for finding the shortest path?

9. How does Dijkstra's algorithm behave when all edge weights are equal?

10. What is the significance of the term 'greedy' in describing Dijkstra's algorithm?

11. In a weighted graph, what does the term 'weight' typically represent in the context of Dijkstra's algorithm?

12. What is the time complexity of Dijkstra's algorithm with an adjacency matrix representation?

13. In the context of Dijkstra's algorithm, what does 'SPT' stand for?

14. What is the primary limitation of using Dijkstra's algorithm in large-scale networks?

15. What is the main drawback of Dijkstra's algorithm?

16. In Dijkstra's algorithm, what does the term 'relaxation' refer to?

17. What is the time complexity of Dijkstra's algorithm when implemented with a binary heap?

18. How does Dijkstra's algorithm handle graphs with unconnected vertices?

19. What condition must be satisfied for Dijkstra's algorithm to guarantee the correct shortest paths?

20. What is the purpose of the 'visited' set in Dijkstra's algorithm?

21. What is the impact of using a priority queue with insufficient priority updates in Dijkstra's algorithm?

22. When is Dijkstra's algorithm preferred over Bellman-Ford algorithm?

23. Which data structure is commonly used to implement Dijkstra's algorithm efficiently?

24. Which step in Dijkstra's algorithm is responsible for selecting the next vertex to process?

25. In Dijkstra's algorithm, what happens if a shorter path to a vertex is found after it has been added to the priority queue?

26. How does Dijkstra's algorithm handle graphs with cycles?

27. Which algorithm is an alternative to Dijkstra's algorithm for graphs with negative edge weights?

28. What is the primary advantage of using a Fibonacci Heap in Dijkstra's algorithm?

29. What modification to Dijkstra's algorithm is needed to handle graphs with negative weights?

30. What is the primary limitation of Dijkstra's algorithm when dealing with large graphs?

31. What modification is needed in Dijkstra's algorithm to handle graphs with negative edge weights?

32. What is the significance of the 'd' and 'π' arrays in Dijkstra's algorithm?

33. How does the presence of parallel edges impact Dijkstra's algorithm?

34. What is the significance of the 'parent' attribute in the context of Dijkstra's algorithm?

35. In Dijkstra's algorithm, what condition triggers the termination of the algorithm?

36. How does Dijkstra's algorithm handle unreachable vertices?

37. In the Dijkstra algorithm, what does the term 'distance' refer to?

38. What is the primary purpose of Dijkstra's algorithm?

39. What is the primary advantage of using Dijkstra's algorithm over other pathfinding algorithms in certain scenarios?

40. How does the choice of data structure for the priority queue affect the time complexity of Dijkstra's algorithm?