Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 subjective questions Shortest Paths & Trees

MTH136 — Discrete Structures 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define a labelled graph and a weighted graph. Explain the difference between them with suitable examples.

  2. Question 2 of 20

    Explain the concept of the shortest path in a weighted graph. Why is finding the shortest path important?

  3. Question 3 of 20

    State and explain Dijkstra's algorithm for finding the shortest path in a weighted graph. Write its step-by-step procedure.

  4. Question 4 of 20

    Apply Dijkstra's algorithm to find the shortest path from vertex to all other vertices in the following weighted graph:

    • Edges: , , , , , , .
  5. Question 5 of 20

    Define a tree in graph theory. List and explain the important properties of a tree.

  6. Question 6 of 20

    Explain the concept of a rooted tree. Define the following terms with respect to a rooted tree: root, parent, child, sibling, leaf, internal node, level, and height.

  7. Question 7 of 20

    Define a binary tree. Explain its types and important properties.

  8. Question 8 of 20

    Prove that a tree with vertices has exactly edges.

  9. Question 9 of 20

    Define a spanning tree. Explain its properties with an example.

  10. Question 10 of 20

    Define a minimum spanning tree (MST). Explain its significance and real-world applications.

  11. Question 11 of 20

    Explain Kruskal's algorithm to find the minimum spanning tree. Write its step-by-step procedure and time complexity.

  12. Question 12 of 20

    Explain Prim's algorithm to find the minimum spanning tree. Write its step-by-step procedure and time complexity.

  13. Question 13 of 20

    Distinguish between Kruskal's and Prim's algorithms for finding the minimum spanning tree.

  14. Question 14 of 20

    Find the Minimum Spanning Tree using Kruskal's algorithm for a graph with the following edges and weights:

    , , , , , , .

  15. Question 15 of 20

    Find the Minimum Spanning Tree using Prim's algorithm (starting from vertex ) for the graph with edges:

    , , , , , , .

  16. Question 16 of 20

    Compare the shortest path problem (Dijkstra's algorithm) with the minimum spanning tree problem (Prim's/Kruskal's algorithm). How do these problems differ in their objectives and outputs?

  17. Question 17 of 20

    Explain the tree traversal techniques for a binary tree: Preorder, Inorder, and Postorder with an example.

  18. Question 18 of 20

    Why does Dijkstra's algorithm fail for graphs with negative edge weights? Explain with a suitable example.

  19. Question 19 of 20

    Describe the relationship between a graph and its spanning tree. How many spanning trees can a connected graph have, and how do you count them for a complete graph?

  20. Question 20 of 20

    Prove that a graph is a tree if and only if it is connected and has edges (where is the number of vertices).

That's unit 6

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.