A) Starting from S/trace the operations of the Dijkstra's weighted shortest path algorithm on the graph given in Figure 1.
2
2
P
3
Figure 1: A directed weighted graph
B) Starting from S trace the operations of the Prim's minimum spanning tree algorithm on the graph given in Figure 1. C) Trace the operations of Kruskal's minimum spanning tree algorithm on the graph given in Figure 1. D) Starting from S trace the operations of breadth-first traversal on the graph given in Figure 1. E) Given Figure 1 and starting from S, a) Trace the operations of depth-first traversal b) Give the post-order numbers for all the nodes. c) Give the pre-order numbers for all the nodes d) List the tree arcs, cross arcs, forward arcs, and backward arcs. F) Find a topological ordering of the graph given in Figure 2
B