SPM Tuition
Subject

PAHANG 2025 P2 Q15

Medium

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

  1. (a) Diagram 10.1 shows a directed graph. State n(V), n(E) and d_out(N). Hence, calculate Σd(v). (b) Diagram 10.2 shows an undirected and weighted graph that connects four towns R, S, T and U. (i) Draw a tree based on the graph. (ii) Alex and Johan drive their own cars from town U to town S. Alex follows the shortest distance while Johan follows the longest distance to the town. Calculate the difference of distances, in km, of their journey.

    Medium10 marks
    1. (a)

      State n(V), n(E) and d_out(N). Hence, calculate Σd(v).

      [4]
      Diagram for question 85 (a)
    2. (b)(i)

      Draw a tree based on the graph.

      [2]
      Diagram for question 85 (b)(i)
    3. (b)(ii)

      Calculate the difference of distances, in km, of the shortest and the longest journey from town U to town S.

      [4]