DICS 1106 DISCRETE STRUCTURES
DICS 1106 DISCRETE STRUCTURES
PAUL’S UNIVERSITY
UN
P A U L ’
Private Bag 00217 Limuru, 00217, KENYA
I VE R S I TY
Tel: 020-2020505/2020510/0728-669000/0736-424440
.
S T
SE R TY
VANT
S OF GO D AND HUMANI
Page 1 of 3
SECTION B (answer ANY TWO. Each question carries 20 Marks)
QUESTION TWO
a) Let U be a universal set and let A, B and C be subsets of U. State the following laws
i. Commutative law (2 Marks)
ii. Associative law (2 Marks)
b) Discuss how to use an arrow diagram to determine the following functions;
i. One-to-one function (3 Marks)
ii. Onto function (3 Marks)
c) Use mathematical induction to prove the proposition P ( n ) that the sum of the squares of the
1
P ( n ) 1 2 3 ... n n ( n 1)( 2 n 1)
2 2 2 2
first n integers is: . (6 Marks)
6
d) Explain two methods that can be used for proofs in discrete mathematics. (4 Marks)
QUESTION THREE
a) Prove that P→ Q ↔ (¬P ˅ Q) is a tautology (4 Marks)
b) By use of examples briefly describe the following terms;
i. Universal sets (2 Marks)
ii. Disjointed sets (2 Marks)
c) Show that the conditional proposition P→Q and its contra positive P→ Q are logically
~ ~
equivalent (6 Marks)
d) In a survey of 120 people, it was found that: 65 read Newsweek magazine, 20 read both
Newsweek and Time, 45 read Time, 25 read both Newsweek and Fortune, 42 read Fortune,
15 read both Time and Fortune, and 8 read all three magazines. Find the number of people
who read at least one of the three magazines. (6 Marks)
QUESTION FOUR
a) Differentiate between the following terms;
i. Simple proposition and compound proposition (2 Marks)
ii. Tautology and contradiction (2 Marks)
iii. Permutation and combination (2 Marks)
b) Given that U ={a,b,c,d,e,f,g,h}, A={c,d,e,f} and B={b,c,d,g}. Find;
i. AB (3 Marks)
ii. A U B (3 Marks)
c) Find the inverse of the function F(x) =-3+5/2x-3 (3 Marks)
d) Some of the results of the campus blood drive survey indicated that 490 students were
willing to donate blood, 340 students were willing to help serve a free breakfast to blood
donors, and 120 students were willing to do both. Using a Venn diagram determine the
number of students who were willing to donate blood or serve breakfast? (5 Marks)
Page 2 of 3
QUESTION FIVE
a) Represent the following Boolean expressions using logic gates:
i) A(B + C) (4 Marks)
ii) (A+B)(BC) (4 Marks)
b) Simplify the propositional logic expression below:
Z= (A + B)(A + C)(B + C) (4 Marks)
c) Derive the simplified Boolean expression for the logic circuit shown below (4 Marks)
d) Calculate the number of permutations of the letters ABCDEFGH that contain the string
ABC as a (consecutive) substring. (4 Marks)
Page 3 of 3