Professional Documents
Culture Documents
Question Bank
Module – I
22. Let A and B be finite sets. If there are 2187 functions from A to B and |B| =3. Determine |A|?
i.
Determine [f ◦ (g ◦ h)]x and [(f ◦ g) ◦ h]x and verify that [f ◦ (g ◦ h)] = [(f ◦ g) ◦ h]
31. Let A= {1,2,3,4,5}, Define a relation R on AxA by (x1, y1) R (x2,y2) if and only if
x1+y1=x2+y2.
i. Verify that R is an equivalence relation on AxA.
ii. Determine the equivalence classes for [(1,3)], [(2,4)] and [(1,1)].
iii. Determine the partition of AxA induced by R.
Module – IV
1. Construct rook polynomial for 3X3 board .
2. Prove by Mathematical Induction for every positive integer n, 5 divides 𝑛5-𝑛
3. Solve the recurrence relation 𝑎𝑛 − 3𝑎𝑛−1 = 5 × 3𝑛 for 𝑛 ≥ 1 given that 𝑎0 = 2.
4. Solve the recurrence relation a_n+an-1-6an-2=0 ∀n≥2 given a0 = -1, a1=8
5. Prove by mathematical induction that, for all positive integers n ≥ 1,
6. In how many ways can the 26letters of the English alphabet be permuted so that none of
the pattern’s CAR, DOG, PUN, or BYTE occurs?
7. Solve the recurrence relation an-6an-1+9an-2=0 for n ≥ 2, given that a0=5, a1=12.
8. Establish the following by Mathematical Induction = 2 + (n-1) 2n+1
9. An apple, a banana, a mango, and an orange are to be distributed to four boys B1, B2, B3
and B4. The boys B1 and B2 do not wish to have apple, the boy b3 does not want banana
or mango and B4 refuses orange. In how many ways the distribution can be made so that
no boy is displeased?
10. Prove by Mathematical Induction that 6n+2 + 72n+1 is divisible by 43 for each positive
integer n.
11. The number of virus affected files in a system is 1000 (to start with) and this increases
250% every 2 hours. Use a recurrence relation to identify the number of virus affected
files in the system after one day.
12. Prove by Mathematical Induction that, ∀𝑛 ≥ 1,
1
1 + 2 + 3+. . . . . + 𝑛 = 2 𝑛(𝑛 + 1)
13. Prove by Mathematical Induction that, ∀𝑛 ≥ 1,
𝑛(𝑛+1)(2𝑛+7)
1.3 + 2.4 + 3.5+. . . . . + 𝑛(𝑛 + 2) = 6
1 2 3
4 5
16. Define Recursive definition? Obtain the recursive definition for the sequence 𝑎𝑛 in each of
the following cases i) 𝑎𝑛 = 6𝑛 𝑖𝑖)𝑎𝑛 = 𝑛(𝑛 + 3)
17. Prove by mathematical induction that, for any positive integer 𝑛, the number
11𝑛+2 + 122𝑛+1 is divisible by 133.
18. Find the Rook’s Polynomial for the 3× 3 board using the expansion formula.
19. The Ackerman’s numbers are defined recursively for 𝑚, 𝑛 ∈ 𝑁 as follows :
𝐴0, 𝑛 = 𝑛 + 1 for 𝑛 ≥ 0
𝐴𝑚, 0 = 𝐴𝑚−1, 1 for 𝑚 > 0
𝐴𝑚, 𝑛 = 𝐴𝑚−1, 𝑝 where 𝑝 = 𝐴𝑚, 𝑛−1 for 𝑚, 𝑛 > 0
Prove that 𝐴1, 𝑛 = 𝑛 + 2 ∀𝑛 ∈ 𝑁
20. Obtain the recursive definition for the sequence 𝑎𝑛 in each of the following cases
i) 𝑎𝑛 = 6𝑛 𝑖𝑖)𝑎𝑛 = 𝑛(𝑛 + 3) (𝑖𝑖𝑖) 𝑎𝑛 = 2 − (−1)𝑛
𝑖𝑣)𝑎𝑛 = (𝑛 + 1)
21. Find the Rook’s Polynomial for the boards shown below
20. Construct an optimal prefix code for the symbols A, B, C, D, E, F, G, H, I, J that occurs with
frequencies 78, 16, 30, 35, 125, 31, 20, 50, 80, 3 respectively.
21. Prove that a tree with ‘n’ vertices has n-1 edges
22. Obtain the optimal prefix code for the message “ENGINEERING”. Indicate the code
23. Apply the concept of trees and prove that a graph is connected if and only if it has a spanning
tree.
24. Apply merge sort to the list -9, 6, 5, -3, 4, 2, -7, 6, -5, 10, -11, 0, 1
25. The computer laboratory of a college has 10 computers that are to be connected to a wall
socket that has 2 outlets. Connections are made by using extension cords that have 2 outlets
each. Identify the least number of cords needed to get these computers setup for use.
26. For a graph with n vertices and m edges, if δ is the minimum and ∆ is the maximum of the
2𝑚
degrees of vertices, show that 𝛿 ≤ 𝑛 ≤ ∆
27. Define spanning graph, induced graph , sub graph with examples
28. Prove the following for a graph G = (V,E)
(i) ∑v∈V deg(v) = 2|E |
(ii)The number of odd vertices must be even
29. A class room contains 25 microcomputers that must be connected to a wall socket that has 4
outlets. Connections are made by using extension cords that have 4 outlets each. Find the
least number of cords needed to get this computer set up for the class.
30. Construct an optimal prefix code for the symbols a, b, c, . . i, j that occur with frequencies 78,
16, 30, 35, 125, 31, 20, 50, 80, 3.