Every sub-topic Pearson Edexcel can examine in this topic, with its reference number from the official specification. The Y12 and Y13 tags show when each sub-topic is usually taught.
2.1Minimum spanning treesY12
2.2Dijkstra's algorithmY12
2.2Floyd's algorithmY13
Try 3 questions
Easy, medium and hard questions from this topic, each with a worked solutions and the mark for every step. All 41 questions in this topic, free, no account needed.
Algorithms on graphs
Easy
Minimum spanning trees · Year 12 · 1 mark
A connected network has 10 vertices. How many edges does a minimum spanning tree of it have?
(1)
Show worked solutionHide worked solution
Working, step by stepMarks
A tree on vertices always has edges.: 9
B1
Total1
MMethodMethod mark: for a correct method, even with a slip.
AAccuracyAccuracy mark: for a correct answer from a correct method.
BIndependentIndependent mark: for a correct fact or result on its own, with no method needed.
The table shows the direct distances between four towns; the distance from the town in the row to the town in the column, with ∞ where there is no direct road. Rows and columns are in the order A, B, C, D.
(a)
Write down the distance table after the first iteration of Floyd's algorithm.
(2)
(b)
After the final iteration, find the shortest distance from to and the route.
(2)
Show worked solutionHide worked solution
Working, step by stepMarks
Part (a)2 marks
Allow routes through : .
M1A1
Part (b)2 marks
B1
B1
Total4
MMethodMethod mark: for a correct method, even with a slip.
AAccuracyAccuracy mark: for a correct answer from a correct method.
BIndependentIndependent mark: for a correct fact or result on its own, with no method needed.
With your permission, SUVAT counts which pages are visited: anonymously, with no tracking cookies. (One essential cookie keeps you signed in; that needs no permission.)May SUVAT count page visits, anonymously and without tracking cookies?How your data is used