DM Question Bank
DM Question Bank
Ques. 3 (a) Prove that for any positive integer m, the relation congruence modulo m is an
equivalence relation on the integers.
Ques. 6 (a) Let A, B and C be any three sets in the universal set U. Then prove the following
associative laws:
(i) A B C A B C
(ii) A B C A B C
(iii) A B C A B A C .
(b) If A = {1,1,2,2,2,3,3,3,3}and B = {1,1,1,0,0,2,2} then find
Ques. 1 (a) Construct the truth tables of the following compound propositions
(i) p q r (ii) q r p
Ques. 2 Show that the following compound propositions using the laws of logic:
(a) p q p q T0 .
(b) ( p q ) ( p q) p q
(c) ( p q) [ q (r q)] q p
Ques. 3 (a) Consider these statements, of which the first three are premises and the fourth is a
valid conclusion.
Ques. 5 (a) Conjecture a formula for the sum of the first n positive odd integers. Then prove
your conjecture using mathematical induction.
(b) Using strong mathematical induction prove that the function b n 2 3 5 is the unique
n
function defined by
(2) b n 4b n 1 3b n 2 for n 2.
n n 1
2
(i) p q p q is a tautology,
(ii) p q p q is a contradiction,
(iii) p q p q is a contingency.
UNIT Ill - Elementary Combinatorics
Ques. 1(a) How many ways can a committee of 4 or more can be chosen from 7 people.
(b) There are 25 females and 30 males in the junior class while there are 35 females and 30
males in the senior class. In how many ways can a committee of 12 be chosen so that there
are exactly 6 females and 4 juniors on the committee?
Ques. 2(a) In how many ways can we draw a heart or a spade from an ordinary deck of
playing cards? A heart or an ace? An ace or a king? A card numbered 2 through 10? A
numbered card or a king?
(b) In how many ways can the letters of the English alphabet be arranged so that there are
exactly 4 letters bet ween the letters a and b.
(c)There are 30 females and 35 males in the junior class while there are 25 females and 20
males in the senior class. In how many ways can a committee of 10 be chosen so that there
are exactly 5 females and 3 juniors on the committee?
Ques.3(a) F i n d t h e n u m b e r n o n n e g a t i v e a n d p o s i t i v e i n t e g e r s o l u t i o n s t o
x1 x2 x3 x4 8 .
(b) Enumerate the number of ways of placing 20 indistinguishable balls into 5 boxes
where each box is nonempty.
(c) In how many ways can we distribute 9 apples and 7 mangoes among 5 children so that
each child gets at least 1 mango?
Ques.4(a) There are 25 True or False questions on an examination, how many different can
a student do the examination if he/she can also choose to leave blank answer.
(b) 5 different Mathematics books, 6 different Physics books and 4 different English books
are to be arranged in shelf. How many different arrangements are possible if
(i) the books in each particular subject must all be together?
(ii) Only the Mathematics books must be together?
(iii) Only the English books must be together?
(c) Write the solution of the recurrence relation an = an−1 + 2an−2 with a0 = 2 and a1 = 7.
Ques. 3 (a) Using generating function, solve the recurrence relation an 9an1 20an2 0 for
n 2 with a0 3, a1 10.
(b) Solve the recurrence relation ak = 3ak-1 for k = 1, 2, 3,… and initial condition a0 = 2 using
generating functions.
Ques. 4(a) Find an explicit formula for the Fibonacci numbers.
(b) Solve the Divide and Conquer recurrence relation an ca n e for a1 e, c 0 & n d k
d
x x3 x 4 ... .
5
Ques. 5(a) Find the coefficient of x18 in x x 2 x3 x 4 x5 2
(b) Find the number of integral solutions of the equation x1 x2 x3 20 such that
2 x1 5, 4 x2 7, 2 x3 9.
(c) In how many ways can 12 oranges be distributed among 3 children A, B, C so that A gets
at least 4, B & C get at least 2, but C gets not more than 5.
Ques. 6(a) Suppose that there are 1807 freshmen at your school. Of these, 453 are taking a
course in computer science, 567 are taking a course in mathematics, and 299 are taking courses
in both computer science and mathematics. How many are not taking a course either in
computer science or in mathematics?
(b) Determine the number of positive integers ' n ' such that 1 n 100 and ' n ' is not divisible
by 2 or 3 or 5.
Unit V – Graph Theory
Ques 1(a) Draw a graph with the adjacency matrix
0 1 1 0
1 0 0 1
1 0 0 1
0 1 1 0
Ques. 2(a) In a graph, that has 21 edges, 4 vertices of degree 3 and all other vertices of degree
2. Find the total number of vertices in this graph.
(b) State and prove Euler’s formula and show that the complete bipartite graph K3,3 is not a
planar graph.
Ques. 3(a) Use an adjacency matrix to represent the (a) graph and (b) the pseudo-graph shown
below:
Ques 4(a) Form a binary search tree for the words mathematics, physics, geography, zoology,
meteorology, geology, psychology, and chemistry (using alphabetical order).
(b) What are rooted trees? Prove that a tree with n vertices has (n – 1) edges.
Ques. 5 Show that the following graphs are isomorphic:
Ques. 6(a) State Kruskal’s algorithm and using this determine spanning tree for the following
graph: