1st Semester End of Sem Exams For Discrete Structures For May Intake
1st Semester End of Sem Exams For Discrete Structures For May Intake
–...1/4
SECTION A (ANSWER ALL QUESTIONS): [40 MARKS]
1. a) Let your Universal set U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. And let
sets A = {1, 2, 3, 4, 5}, B = {2, 4, 6, 8} and C = {1, 4, 7, 10}. Determine
the characteristic vector of the following:
(i) ( A C )1
(ii) ( A C ) B
(iii) ( A − C ) ( B − A)
(iv) A C [4 marks]
–...2/4
[12 marks]
(i) f ( x) = x 2 + 1 and g ( x) = (2 x)
(ii) f ( x) = e x and g ( x) = 5 x
(iii) f ( x) = (− x + 1) and g ( x) = x 2 − 8
n(n + 1)
5. a) Prove by induction that P(n) :1 + 2 + 3 + ... + n = n 1 [6 marks]
2
b) What is the probability that a random bit string of length four
contains at least two consecutive 0s, given that its first bit is a 0? [4 marks]
–...3/4
6. a) Decrypt the following encoded message”
“Znkxk gxk znxkk luxsy ul gyykyysktzy zngz luxs
vgxzy ul euax iutzotuay gyykyysktzy. Cnoin ul znkyk
znxkk joj eua vgxzgqk ot? Yuixgzobk? Suujrk?
Mxuav Gyyomtsktz?”
a shift of: 6 [6 marks]
–...4/4