SPM Tuition
Subject

MELAKA 2021 P2 Q1

Medium

Write your answer on paper. Then open the answer to check it.

  1. Diagram 1 shows an undirected weighted graph (vertices H, J, K, L, M, N, P; edge weights: HN 28, HJ 25, NM 18, JP 26, PM 17, JK 24, KP 27, ML 25, KL 30).

    Medium3 marks
    Diagram for question 2
    1. (a)

      List down the set of vertices.

      [1]
    2. (b)

      Draw a tree with a minimum total weight.

      [2]
      Diagram for question 2 (b)