Professional Documents
Culture Documents
DS Final Sample
DS Final Sample
1
Instructions: You have 25 minutes (including upload) to complete this part of the exam.
1
Final Exam
for Discrete Structures
Bokelavadze, Imerlishvili,
Nadareishvili & Neuhauser
2
Instructions: You have 25 minutes (including upload) to complete this part of the exam.
7. Compute the following in B(5): (1 p)
12. Rank the following functions from the slowest growing to the fastest growing (that is, using
the relation ≺): (2 p)
0.01n2 , 2 log n, (11/10)n , 8, 1.3n!, n5 , 2nn , n.
1
Final Exam
for Discrete Structures
Bokelavadze, Imerlishvili,
Nadareishvili & Neuhauser
3
Instructions: You have 25 minutes (including upload) to complete this part of the exam.
13. Sketch the graph G = (V, E) with V = {1, 2, 3, 4, 5} and E = {{2, 3}, {1, 2}, {3, 4}, {4, 5}}.
(1 p)
14. Write down the sequence of degrees for the graph on Figure 1. (1 p)
Figure 1
5 10
10
2
4
6
9 9
5
0 11 1
Figure 2
1
Final Exam Discrete Structures
17. The cost matrix is given by the table of distances (in meters) on Figure 3 between different
buildings on KIU campus. Use the “cheapest insertion” algorithm to find a short trip through
every building starting at building E. (2 p)
K E F G H
K – 1620 1510 1380 1320
E 1620 – 110 240 310
F 1510 110 – 120 210
G 1380 240 120 – 90
H 1320 310 210 90 –
Figure 3
2
Final Exam
for Discrete Structures
Bokelavadze, Imerlishvili,
Nadareishvili & Neuhauser
4
Instructions: You have 30 minutes (including upload) to complete this part of the exam.
19. Show that division operation ÷ : (R \ {0}) × (R \ {0}) → (R \ {0}} is not associative. (1 p)
20. Show that 4 ∈ h 91 i, where h 19 i is the subgroup of (Q, +) generated by 91 . (1 p)
21. Find all zero divisors in Z14 . (1 p)
22. Solve the following equation in S5 : (2 p)
! !
1 2 3 4 5 1 2 3 4 5
◦x= .
1 4 2 3 5 1 5 2 4 3
23. Decompose (1 p)
!
1 2 3 4 5
5 3 2 1 4
into a product of disjoint cycles.
24. Give an example of a non-trivial ideal I in Z10 (that is, I 6= Z10 and I 6= {0}). (1 p)
25. Write down a Cayley table for multiplication for a four-element field. (1 p)
Bonus
26. Prove that for any finite group G, the number of elements (order) in every subgroup of G
divides the number of elements (order) of G. (4 p)