myUASARevision for UASAUlang kaji UASA
Mathematics (DLP) questionssoalan, chapterbab 5

Network in Graph Theory

45 marksmarkah. Use Practice to check each answer as you go, or Exam to answer everything first. Show your working for Section B.

Section A: objective questions

12 marksmarkah
Choose the correct answer. Each question carries 1 mark.
1

QuestionSoalan 1

In a graph, a line that joins two vertices is called a(n)
Show answerTunjuk jawapanHide answerSembunyi jawapan
B
The dots are vertices and the lines joining them are edges. A loop is a special edge that starts and ends at the same vertex.
For the teacherUntuk guru: RememberingMengingat, lowrendah difficultyaras lowrendah, standard 5.1.1
TextbookBuku teks p.ms. 130
2

QuestionSoalan 2

A social network is drawn as a graph. What do the edges represent?
Show answerTunjuk jawapanHide answerSembunyi jawapan
B
In a social network the vertices are individuals, groups or organisations, and the edges are the relationships between them.
For the teacherUntuk guru: UnderstandingMemahami, lowrendah difficultyaras lowrendah, standard 5.1.1
TextbookBuku teks p.ms. 130
3

QuestionSoalan 3

Diagram 1 shows a simple graph. What is the sum of the degrees of all the vertices?
Simple graph with vertices A to F and eight edges AB, AC, BC, BD, CE, DE, DF, EF
Diagram 1
Show answerTunjuk jawapanHide answerSembunyi jawapan
C
There are 8 edges. Sum of degrees = 2 × 8 = 16. The number 8 is just the number of edges, and 6 is the number of vertices.
For the teacherUntuk guru: ApplyingMengaplikasi, lowrendah difficultyaras lowrendah, standard 5.1.1
TextbookBuku teks p.ms. 131
4

QuestionSoalan 4

The sum of the degrees of a simple graph is 18. How many edges does the graph have?
Show answerTunjuk jawapanHide answerSembunyi jawapan
B
Sum of degrees = 2 × number of edges, so the number of edges = 18 ÷ 2 = 9.
For the teacherUntuk guru: ApplyingMengaplikasi, lowrendah difficultyaras lowrendah, standard 5.1.1
TextbookBuku teks p.ms. 131
5

QuestionSoalan 5

Which set of vertex degrees can be the degrees of a graph?
Show answerTunjuk jawapanHide answerSembunyi jawapan
C
A graph needs an even sum of degrees. 3 + 3 + 3 + 2 + 1 = 12 is even. The other sets add to 13, 13 and 11, which are odd.
For the teacherUntuk guru: AnalysingMenganalisis, mediumsederhana difficultyaras mediumsederhana, standard 5.1.1
TextbookBuku teks p.ms. 133
6

QuestionSoalan 6

Diagram 2 shows a graph with a loop at vertex R. What is the degree of vertex R?
Triangle P, Q, R with edges PQ, QR, PR and a loop at R
Diagram 2
Show answerTunjuk jawapanHide answerSembunyi jawapan
D
Edges QR and PR give 2. The loop adds 2 more. d(R) = 2 + 2 = 4. Counting the loop as 1 gives 3.
For the teacherUntuk guru: UnderstandingMemahami, mediumsederhana difficultyaras mediumsederhana, standard 5.1.1
TextbookBuku teks p.ms. 133
7

QuestionSoalan 7

Diagram 3 shows a directed graph. What is dout(B), the number of edges coming out of B?
Directed graph with arrows B to A, C to A, B to C and D to C
Diagram 3
Show answerTunjuk jawapanHide answerSembunyi jawapan
D
The arrows leaving B are B to A and B to C, so dout(B) = 2. No arrow goes into B.
For the teacherUntuk guru: UnderstandingMemahami, lowrendah difficultyaras lowrendah, standard 5.1.2
TextbookBuku teks p.ms. 136
8

QuestionSoalan 8

Which of the following is a weighted graph?
Show answerTunjuk jawapanHide answerSembunyi jawapan
C
A weighted graph has a value on each edge, such as distance, time or cost. The other three only show relationships.
For the teacherUntuk guru: RememberingMengingat, lowrendah difficultyaras lowrendah, standard 5.1.2
TextbookBuku teks p.ms. 137
9

QuestionSoalan 9

A tree has 9 vertices. How many edges does it have?
Show answerTunjuk jawapanHide answerSembunyi jawapan
A
A tree with n vertices has n − 1 edges, so 9 − 1 = 8.
For the teacherUntuk guru: ApplyingMengaplikasi, lowrendah difficultyaras lowrendah, standard 5.1.3
TextbookBuku teks p.ms. 139
10

QuestionSoalan 10

A connected graph has 7 vertices and 7 edges. Which statement is true?
Show answerTunjuk jawapanHide answerSembunyi jawapan
B
A tree with 7 vertices has 7 − 1 = 6 edges. With 7 edges there is a closed path, so two vertices can be joined in more than one way.
For the teacherUntuk guru: AnalysingMenganalisis, mediumsederhana difficultyaras mediumsederhana, standard 5.1.3
TextbookBuku teks p.ms. 140
11

QuestionSoalan 11

Diagram 4 shows an undirected weighted graph. What is the minimum total weight of a tree from this graph?
Weighted graph: AB 7, AC 5, BC 8, BD 6, CD 9, CE 4, DE 10
Diagram 4
Show answerTunjuk jawapanHide answerSembunyi jawapan
C
5 vertices need 4 edges. Choose the smallest weights that do not form a closed path: 4 (CE), 5 (AC), 6 (BD), 7 (AB). Total = 4 + 5 + 6 + 7 = 22. Weight 8 is skipped because B and C are already linked.
For the teacherUntuk guru: ApplyingMengaplikasi, hightinggi difficultyaras hightinggi, standard 5.1.3
TextbookBuku teks p.ms. 141
12

QuestionSoalan 12

Graph G has V = {P, Q, R, S} and E = {(P, Q), (Q, R), (R, S), (S, P)}. Which of these is a subgraph of G?
Show answerTunjuk jawapanHide answerSembunyi jawapan
A
The vertices and the edges must come from G. (P, R) is not an edge of G, (Q, S) is not an edge of G, and T is not a vertex of G.
For the teacherUntuk guru: UnderstandingMemahami, lowrendah difficultyaras lowrendah, standard 5.1.3
TextbookBuku teks p.ms. 139

Section B: structured questions

33 marksmarkah
Answer all questions. Show your working.
13

QuestionSoalan 13

A graph has V = {P, Q, R, S, T} and E = {(P, Q), (P, Q), (Q, R), (R, S), (S, T), (T, T)}.
[1 markmarkah] (a)State n(V) and n(E).

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[3 marksmarkah] (b)Find the degree of each vertex and the sum of the degrees.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[1 markmarkah] (c)Explain why this is not a simple graph.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: ApplyingMengaplikasi, lowrendah difficultyaras lowrendah, standard 5.1.1
TextbookBuku teks p.ms. 132
14

QuestionSoalan 14

Diagram 5 shows a directed graph.
Directed graph with arrows P to Q, Q to R, R to S, S to P, P to R and a loop at S
Diagram 5
[2 marksmarkah] (a)State din(S) and dout(S).

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (b)Find the sum of the degrees of all the vertices.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[1 markmarkah] (c)The edge (S, S) is a
Show answerTunjuk jawapanHide answerSembunyi jawapan
loop
An edge that starts and ends at the same vertex is a loop.
For the teacherUntuk guru: UnderstandingMemahami, mediumsederhana difficultyaras mediumsederhana, standard 5.1.2
TextbookBuku teks p.ms. 135
15

QuestionSoalan 15

Diagram 6 shows the one-way cycling routes, in km, from the school hall H to the stadium S. A, B and C are junctions.
Directed weighted graph: H to A 3.2, H to B 2.5, A to B 1.1, A to C 2.4, B to C 3.0, B to S 4.2, C to S 1.8
Diagram 6
[2 marksmarkah] (a)Find the shortest route from H to S and its distance.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (b)Find the longest route from H to S and its distance.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (c)A cyclist wants a route of more than 7 km but less than 8 km. State the routes that can be chosen.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: ApplyingMengaplikasi, mediumsederhana difficultyaras mediumsederhana, standard 5.1.2
TextbookBuku teks p.ms. 138
16

QuestionSoalan 16

Diagram 7 shows an undirected weighted graph of five villages. The weights are distances in km.
Weighted graph: AB 4, BC 6, CD 3, DE 5, EA 7, BE 2
Diagram 7
[1 markmarkah] (a)How many edges must be removed to form a tree?

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (b)State the edges that are removed to give a tree with minimum total weight.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[1 markmarkah] (c)Find the minimum total weight.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: ApplyingMengaplikasi, mediumsederhana difficultyaras mediumsederhana, standard 5.1.3
TextbookBuku teks p.ms. 141
17

QuestionSoalan 17

Table 1 shows the two clubs each pupil has joined.
PupilClubs
HanaChess, Drama
IqbalChess, Robotics
JiaDrama, Robotics
KumarRobotics, Music
LinaMusic, Chess
The information is shown as a graph. The vertices are the clubs and the edges are the pupils.
[2 marksmarkah] (a)Write the set of edges E as pairs of clubs.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[1 markmarkah] (b)State the degree of the vertex Robotics and what it means.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (c)State the sum of the degrees of the graph and explain how it is related to the number of pupils.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: AnalysingMenganalisis, mediumsederhana difficultyaras mediumsederhana, standard 5.1.4
TextbookBuku teks p.ms. 144
18

QuestionSoalan 18

A family of 4 adults travels from town X to town Y. The bus fare is RM42 per adult and takes 4 hours. The train fare is RM28 per adult and takes 6 hours. A shared car costs RM90 for the whole car and takes 3.5 hours.
[3 marksmarkah] (a)Calculate the total cost of each choice for the 4 adults.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (b)The family must arrive in less than 4 hours. Which choice should they take? Give a reason.

You mark this one: open Show answerAnda tanda sendiri: buka Tunjuk jawapan

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: EvaluatingMenilai, hightinggi difficultyaras hightinggi, standard 5.1.5
TextbookBuku teks p.ms. 146
19

QuestionSoalan 19

Draw a simple graph with 5 vertices whose degrees are 1, 1, 2, 3 and 3.
[1 markmarkah] (a)Show that such a graph can exist.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
Tick each point you got.Tandakan setiap isi yang betul.
[2 marksmarkah] (b)Draw the graph, with no loops and no multiple edges.

Auto-checked: type a short answerSemakan automatik: taip jawapan pendek

Show answerTunjuk jawapanHide answerSembunyi jawapan
For example A-B, B-C, C-D, D-E and B-D: d(A) = 1, d(B) = 3, d(C) = 2, d(D) = 3, d(E) = 1.
Tick each point you got.Tandakan setiap isi yang betul.
For the teacherUntuk guru: CreatingMencipta, hightinggi difficultyaras hightinggi, standard 5.1.1
TextbookBuku teks p.ms. 133