Dijkstra’s Shortest Path Algorithm (AQA A-Level Computer Science): Quizzes

📚Quizzes
Dijkstra's Shortest Path 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

Who developed Dijkstra's algorithm and in what year?

Edsger Dijkstra in 1959

What does Dijkstra's algorithm calculate from the starting point?

Shortest path to every other point

What are the two main components that make up a graph?

Vertices and edges

What is a critical limitation of Dijkstra's algorithm regarding edge weights?

Only works with positive weights

Which unvisited vertex should you move to next during the algorithm?

One with smallest known distance

Which TCP/IP routing protocol uses Dijkstra's algorithm?

OSPF

In manual tracing, what do subscript letters indicate?

Which vertex you travelled from

What happens to a vertex's distance value once it is marked as fixed/locked?

It never changes

What data structure is most efficient for representing a weighted graph in code?

Two-dimensional array

Which problem is Dijkstra's algorithm NOT suitable for solving?

Travelling salesman problem

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

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