Maths › Practise › Questions › Shortest paths: Dijkstra and Floyd

Questions on shortest paths: Dijkstra and Floyd

Dijkstra's algorithm finds the shortest route between two nodes of a network with non-negative edge weights, labelling nodes in the order they are settled. Floyd's algorithm finds the shortest path between every pair of nodes at once, at the cost of more recording.

16 original questions · 76 marks · the shortest paths: Dijkstra and Floyd notes · Decision Mathematics 1

To print: the questions (PDF, 62 KB) · the worked answers (PDF, 91 KB)

These are original InkMaths questions. Write a complete answer before opening the worked solution and marking guidance.

All questions, worked solutions and marking guidance are original InkMaths material. They are not copied from awarding-body papers or mark schemes. The codes show how InkMaths allocates the stated total; an awarding body may credit a valid alternative method differently.

The same practice on paper: the printable workbook for this topic, with the questions and a worked answer book.

Practise shortest paths: Dijkstra and Floyd one question at a time

In the player, mark your own response after viewing the worked solution. Your score decides when the question is offered again.