Texts:
Q8: Analyze the operations of Dijkstra's algorithm and the Bellman-Ford algorithm by simulating both algorithms on the graph below, starting from vertex 0 and ending at vertex 5. Your simulation should illustrate all the steps for each algorithm, from the start to the end. Clearly state the shortest path extracted from each algorithm (Report).
Q9: Implement Dijkstra's Algorithm (Code).
Q10: Your implementation should handle any expected errors that may occur when running the program (Code).