Graph Theory
Graph Theory
Module Summary
Module learning objective
• Identity trees and obtain spanning trees of graphs.
• Recognize Planar graph and apply Euler’s
formula to determine planarity.
• Find Euler and Hamiltonian paths and circuits in a graph.
Summary of content
Reflection on the Content
The most important thing I learnt in this module is DFS & BFS.
I think so because it contains the most time consuming and
conceptually important questions. It took me some time to
revise and completely grasp the concept.
Why do you think your course team wants you to learn the
content of this module?
Computer Science
Data Structures:
Algorithms:
Engineering
Trees
Question 1 3 / 3
Question 2 1 / 2
Performance Summary
Exam Name: Graph Theory (Core)
Session ID: 01297079379
Exam Start: Sat Nov 23 2024 15:42:20
Exam Stop: Sat Nov 23 2024 15:51:54
Time Spent: 0:09:33
Question 1
Consider the following graphs over the vertices {a, b, c, d, e, f}.
b f
{[ , ] , [ , c d]}
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 1/7
11/23/24, 3:51 PM Graph Theory (Core)
True False
Expected answer:
True False
e f
{[ , ] , [ , b d] , [d, f] , [a, f] , [c, f]}
True False
Expected answer:
True False
b f
{[ , ] , [ , c e] , [b, d] , [b, c] , [c, f]}
True False
Expected answer:
True False
Gap 0
You chose a correct answer. You were awarded 1 mark.
Gap 1
You chose a correct answer. You were awarded 1 mark.
Gap 2
You chose a correct answer. You were awarded 1 mark.
You scored 3 marks for this part.
Score: 3/3
Advice
1. The first graph is not a tree as it does not contain the expected number of edges.
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 2/7
11/23/24, 3:51 PM Graph Theory (Core)
Question 2
Find spanning trees for the following graphs over the vertices {a, b, c, d, e, f}. Enter
your solution as the list of edges, using square brackets - such as [[a,b],[c,d]].
First Graph
Enter a spanning graph for the graph with edges
[[ ,a b] , [b, c] , [b, d] , [b, e] , [c, d] , [d, e] , [d, f]] :
Expected answer:
[ [ "a", "b" ], [ "b", "c" ], [ "b", "d" ], [ "b", "e" ], [ "
Score: 1/1
Second Graph
Enter a spanning graph for the graph with edges
[[ ,a b] , [a, d] , [a, e] , [b, c] , [b, d] , [b, f] , [c, d] , [c, f]]:
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 3/7
11/23/24, 3:51 PM Graph Theory (Core)
Expected answer:
[ [ "a", "b" ], [ "b", "c" ], [ "b", "d" ], [ "b", "e" ], [ "
Score: 0/1
Advice
1. A possible spanning tree for the first graph is
[[ , a b] , [b, c] , [b, d] , [b, e] , [d, f]] .
2. A possible spanning tree for the first graph is
[[ b] [ d] [ ] [ d ] [ f]]
Question 3
Consider the following graphs over the vertices {a, b, c, d, e, f}.
a)
[[ , f b] , [b, a] , [a, c] , [a, d] , [a, f] , [b, e] , [c, d] , [c, f] , [d, e]]
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 4/7
11/23/24, 3:51 PM Graph Theory (Core)
Expected answer:
Score: 2/2
b)
a e] , [a, f] , [b, e] , [b, f] , [c, d] , [c, f] , [d, f]]
[[ ,
Expected answer:
Score: 2/2
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 5/7
11/23/24, 3:51 PM Graph Theory (Core)
Advice
1. The degrees of the vertices in the first graph are [4, 3, 3, 3, 2, 3]. The number of
vertices with an odd degree is 4. Since 4 ≥ 2, it doesn't contain Euler paths,Since
4 ≠ 0, it doesn't contain Euler circuits,
2. The degrees of the vertices in the first graph are [2, 2, 2, 2, 2, 4]. The number of
vertices with an odd degree is 0. Since 0 ≤ 2, it contains Euler paths, and since there
are no odd-degree vertices, it also contains Euler circuits,
Question 4
Consider the following graphs over the vertices {a, b, c, d, e, f}.
a)
b e] , [a, c] , [b, c] , [b, d] , [b, f] , [d, e]]
[[ ,
Expected answer:
Score: 2/2
b)
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 6/7
11/23/24, 3:51 PM Graph Theory (Core)
Expected answer:
Score: 2/2
Advice
1. The degrees of the vertices in the first graph are [1, 4, 2, 2, 2, 1]. The number of
vertices with an odd degree is 2. Since 2 ≤ 2, it contains Euler paths,Since 2 ≠ 0, it
doesn't contain Euler circuits,
2. The degrees of the vertices in the first graph are [3, 1, 1, 2, 2, 1]. The number of
vertices with an odd degree is 4. Since 4 ≥ 2, it doesn't contain Euler paths,Since
4 ≠ 0, it doesn't contain Euler circuits,
file:///C:/Users/HP/Downloads/Discrete Mathematics - 11232024 - 1143 AM/6. Core Module-5-Graphs-Self-Assessment/6. Core Module-5-Graphs-… 7/7
REFERENCES:
1. Discrete Mathematics and Its Applications, Kenneth H.Rosen,
Seventh Edition, Pages 641 to 727
2. Discrete Maths, 3rd Edition - Oscar Levin, Pages 255-257,
265-266.