Covers Lessons 7–12: minimum spanning trees, shortest paths, maximum flow, and mixed network problems.
Multiple Choice
Question set not yet written, use the module quiz for now
Its question set has not been written, so there is nothing here to attempt. Nothing you have done is lost, and the lessons either side of it are unaffected.
To test yourself on this material now, use the module quiz, which covers the same content.
Short Answer
1. Network: AB=5, AC=2, BC=3, BD=4, CD=1, CE=6, DE=3. (a) Find MST using Kruskal's. (b) Find the shortest path from A to E. (c) If directed A→B(5), A→C(2), B→C(3), B→D(4), C→D(1), C→E(6), D→E(3), find max flow A→E. 4 MARKS
2. (a) Explain why Prim's and Kruskal's always find MSTs with the same total weight. (b) A student finds an MST of weight 20 and claims the shortest path between two vertices in this MST is also 20. Explain the error. (c) In a max flow problem, if all edge capacities are integers, must the max flow be an integer? Explain. 3 MARKS
Q1 (4 marks): (a) MST edges and total = 9 [1.5]. (b) Shortest path = 6 [1]. (c) Max flow = 7 [1.5].
Q2 (3 marks): (a) Explanation [1]. (b) Error explained [1]. (c) Yes with reason [1].
Tick when you have finished all questions and checked your answers.