Professional Documents
Culture Documents
1st Semester End of Sem Exams For Discrete Structures May 2022 BIT
1st Semester End of Sem Exams For Discrete Structures May 2022 BIT
–...1/4
SECTION A ANSWER ALL QUESTIONS: [40 MARKS]
1. Using the graph below:
a) Draw the adjacency list and perform DFS and BFS using m as a
source as well as the resulting BFS tree? [6 marks]
b) Determine the in – degree, out – degree and hence the degree of
each vertex, write out the degree sequence and derive the
Handshaking Principle? [4 marks]
c) A digraph G had adjacency matrix:
0 1 0 0
0 0 1 0
M =
0 0 0 1
1 0 0 0
(i) Calculate M 2, M 3 and M 4. [6 marks]
(ii) Determine the reachability matrix M*? [4 marks]
b) For the Boolean functions F1 and F2 below, write down the corresponding
(i) Boolean expression in its disjunctive normal form;
(ii) Using the Karnaugh map method, write down the simple
Boolean expression?
–...2/4
(iii) Draw the logic circuit corresponding to simple Boolean
expression F2 in (b) if possible [6 marks]
Inputs Outputs
x y z F1(x,y,z) F2(x,y,z)
0 0 0 0 0
0 0 1 0 1
0 1 0 1 1
0 1 1 1 0
1 0 0 1 0
1 0 1 0 0
1 1 0 0 1
1 1 1 1 1
–...3/4
SECTION B (ANSWER ANY 2): [20 MARKS]
4. In the following argument, determine the validity or otherwise
of the Statement:
a) “If I study, then I will not fail programming. If I do not play
basketball, then I will study. But I failed programming.
Therefore, I must have played basketball [5 marks]
b) Prove by induction that
1 1
P(n) : 2 + 6 + 12 + 20 + ... + n(2n + 2) = n( n + 1)( n + 2) n 1 [5 marks]
2 3
(ii) ( A B)1 =
(iii) A − (B C) =
(iv) A − (B C) = [4 marks]
1
6. a) Let f : R − {0} → R − {0} defined by f ( x) = . Show that f
x
1
is bijective and its inverse is given by f −1 ( x) = ? [6 marks]
x
b) Some applications to Graph Theory are data mining, route
finders, computer graphics, compression coding and the
internet and router networks.”
–...4/4