Shortest Path Algorithms (Edexcel A-Level Further Mathematics): Quizzes

📚Quizzes
Dijkstra's Algorithm
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What does Dijkstra's algorithm find in a weighted graph?

Shortest path from start to all nodes

In initialization, what distance is assigned to the starting node?

00

In initialization, what distance is assigned to all other nodes?

\infty (infinity)

How is tentative distance to a neighbour calculated?

Current node distance + edge weight

When should a neighbour's tentative distance be updated?

When new distance is less than current

What happens to a node after all its neighbours are examined?

Marked as visited, not checked again

How is the next current node selected?

Unvisited node with smallest distance

When does Dijkstra's algorithm terminate?

All nodes visited or target found

Which common mistake involves treating edges incorrectly?

Treating all edges as equal weight

In the example from node AA, what is the shortest path distance to node DD?

55

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.