Graph traversal and shortest paths
Adjacency lists and matrices, breadth-first and depth-first traversal, Dijkstra's shortest path algorithm with distance tables and path recovery, why it needs non-negative weights, and A* search with admissible heuristics.
A-level Computer ScienceChapter 26Component 02Three sessions · about 4 hours
Graph traversal and shortest paths: quiz
Fifteen questions on graph representation, breadth-first and depth-first search, Dijkstra's algorithm and A*. Every wrong option comes from a common mistake, and its feedback explains why.
Preparing your quiz…
Key learning objectives
- Understand the key principles behind Graph traversal and shortest paths.
- Apply these ideas to exam-style questions.
- Recall the essential definitions and key terms.