King Saud University
MATH 151 (Discrete Mathematics)
Department of Mathematics
Final Exam
1st Semester 1437-1438 H
Duration: 3 Hours
Name:
Sequence Number:
Teacher's Name:
Section:
Note: The exam consists of 11 pages.
Question
Mark
Question I
Question II
Question III
Question IV
Question V
Total
1
Question
1
2
3
4
5
6
7
8
9
10
11
12
Answer
Question I:
Choose the correct answer, then fill in the table above:
(1) β! π₯ β β€ π π’πβ π‘βππ‘
1
π₯
π β€ is
(a) True
(b) False
(c) None of the previous
____________________________________________________________________________________
π
πβπ
(2) The argument ¬π β¨ π is
___________
β΄π
(a) Valid
(b) Invalid
(c) None of the previous
____________________________________________________________________________________
(3) If π΄ πππ π΅ are subsets of the universal set π, then π΄ β (π΄ β π΅) =
(a) π΄
(b) π΄ βͺ π΅
(c) π΄ β© π΅
(d) None of the previous
_____________________________________________________________________________________
(4) |{π, {π}, {π, {π}}}| =
(a) 8
(b) 3
(c) 4
(d) None of the previous
_____________________________________________________________________________________
(5) If π
= {(π, π)|π > π}, is a relation on β€, then the symmetric closure of R is
(a) {(π, π)|π < π}
(b) {(π, π)|π = π}
(c) {(π, π)|π β π}
(d) None of the previous
_________________________________________________________________________________
(6) Let π = {1,2,3} be a nonempty set and let π
= {(π΄, π΅)|π΄ β π΅, π΄, π΅ β π(π)} be the inclusion
partially ordered relation. Then {2,3} πππ {2} are
(a) Comparable
(b) Incomparable
(c) None of the previous
2
Total
represents the poset on {β1,0,1,2} given by:
(7) The Hasse graph
(b) {(π₯, π¦)|π₯ β€ π¦})
(a){(π₯, π¦)|π₯ πππ£ππππ π¦}
(c) {(π₯, π¦)|π₯ β₯ π¦}
(d) None of the previous
_________________________________________________________________________________
(8) For the equivalence relation on β€ defined by ππ
π βΊ π β‘ π(πππ5), [6] =
(a) {β¦ , β4,1,6,11,16, β¦ }
(b) {β¦ , β12, β6,0,6,12, β¦ }
(c) {β¦ , β8, β3,2,7,12, β¦ }
(d) None of the previous
________________________________________________________________________________
(9) There exists a graph with vertices of degrees
(a) 1,2,3,3
(b) 3,2,4,6
(c) 1,2,2,3
(d) None of the previous
___________________________________________________________________________________
(10) The graph πΆ4 is
(a) Not connected
(b) Not Bipartite
(c) Bipartite
(d) None of the previous
_____________________________________________________________________________________
(11) A tree with 50 vertices has
(a) 51 edges
(b) 49 edges
(c) 50 edges
(d) None of the previous
_____________________________________________________________________________________
(12) The dual of the Boolean expression π₯. π§Μ
+ π₯. 0 + π₯Μ
. 1 is
(a) (π₯ + π§Μ
). (π₯ + 1). (π₯Μ
+ 0)
(b) (π₯Μ
+ π§). (π₯Μ
+ 1). (π₯ + 0)
(c) (π₯. π§Μ
). (π₯ + 0). (π₯Μ
+ 1)
(d) None of the previous
_____________________________________________________________________________________
3
Question II:
A. Without using truth tables prove that
(π β§ π) β (π β¨ π)
is a tautology.
B. Prove by contradiction that if π₯ is any rational number and π¦ is any irrational number then π₯ β π¦ is an
irrational number.
4
C. Using Mathematical Induction prove that
20 + 2. 21 + 3. 22 + β― + π. 2πβ1 = (π β 1)2π + 1,
5
π β₯ 1.
Question III:
A. Prove that the relation π
defined by:
ππ
π βΊ π β π β β€
is an equivalence relation on the set β€.
B. Let π
= {(π, π), (π, π), (π, π), (π, π), (π, π), (π, π), (π, π)} be a relation on the set π΄ = {π, π, π, π}. Then draw
the diagraph representing the relation π
. Is the relation π
antisymmetric? Justify your answer.
6
C. Answer the following questions about the following graph πΊ:
G
(i) Is the graph connected? Justify your answer.
(ii) Find πππ(π), πππ deg(π). Find a path from π π‘π π. What is its length?
(iii) Draw the subgraph of πΊ induced by the vertices π, π, π.
(iv) Draw a planar representation of the graph πΊ and find how many regions does it have? Justify your answer.
(v) Is the graph πΊ isomorphic to the graph below? Justify your answer.
7
Question IV:
A. Answer the following questions about the tree below:
(i) Which vertex is the root? Which vertices are internal? Which vertices are leaves?
(ii) Which vertex is the parent of π? Which vertices are siblings of π?
(iii) Is the tree a 3-ary tree? Is it a full 3-ary tree? Justify your answer.
(iv) Find the level of the vertex π and the vertex π. What is the height of the tree? Is the tree balanced? Justify
your answer.
8
B. Draw a spanning tree of the graph below:
C. Draw a binary search tree for the words: mango, banana, peach, apple, coconut, pear, papaya (using
alphabetical order).
9
Question V:
A. Find a Boolean expression for the function that has the values in the following table:
π
π
π
π(π, π, π)
1
1
1
1
1
1
0
0
1
0
1
1
1
0
0
0
0
1
1
0
0
1
0
1
0
0
1
0
0
0
0
1
B. Find the sum of product expansion for the following Boolean function:
π (π₯, π¦, π§) = π¦π§Μ
+ π₯π¦.
Find the value of π (1,1,0).
10
C. Construct a circuit from inverters, AND gates, and OR gates to produce the output
π₯π¦Μ
+ π₯Μ
π¦Μ
.
D. Use K-maps to minimize the sum of product expansion
π₯π¦π§ + π₯π¦π§Μ
+ π₯Μ
π¦π§Μ
+ π₯Μ
π¦π§ + π₯π¦Μ
π§.
Good Luck ο
11
© Copyright 2026 Paperzz