Professional Documents
Culture Documents
Question Paper
Paper Code:
a. 12
b. 6
c. 5
d. 4
e. 3
kq 3
a. (i)
b. (ii)
c. (iii)
d. (iv)
Đáp án (iii) -p
a. (i)
b. (ii)
c. (iii)
d. (iv)
Đáp án (ii)
“Every student in this class is either a Computer Science major or a Math major”,
QN=9 (10730) Let U={0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. Find the subset of U whose bit string representation is
0101010101.
a. {1, 2, 3, 5, 7}
b. {1, 3, 5, 7, 9}
c. {0, 1, 2, 5, 9}
d. {0, 2, 4, 6, 8}
Đáp án {1, 3, 5, 7, 9}
a. (i)
b. (ii)
c. (iii)
d. (iv)
Đáp án (ii)
If input = 2, 4, 5, 7, 8, 9, 10, 13 and x = 8, after the third time of dividing into sublists,
the sublist to be considered is______
a. 8
b. 8, 9
c. 7, 8
d. 7, 8, 9
Đáp án 8
a. 4
b. 5
c. 6
d. 7
e. 8
Đáp án 4
a. 3
b. 2
c. 4
d. 1
e. 0
Đáp án 3
QN=18 (10891) (See picture)
a. 10
b. 8
c. 6
d. 12
e. 14
Đáp án 10
QN=19 (10902) Let a = 132 mod 37 and b = -132 mod 37. Find a – b.
a. 5
b. -3
c. 7
d. 12
e. 1
Đáp án 5
QN=21 (10929) For two positive integers a and b, we say that a is relatively prime to b if GCD(a,b) = 1.
How many positive integers that are less than 15 and relatively prime to 15?
a. 6
b. 8
c. 12
d. 10
e. None of the other choices is correct
Đáp án 8
QN=22 (10946) Find the decimal expansion of the binary number 101011.
a. 53
b. 49
c. 47
d. 43
e. None of the other choices is correct
Đáp án 43
a. (i)
b. (ii)
c. (iii)
d. (iv)
e. None of the other choices is correct
Đáp án (i)
QN=27 (11021) How many comparisons are needed to merge the two lists
1, 3, 5, 7, 8 and 2, 4, 6, 9, 10 ?
a. 7
b. 8
c. 10
d. 9
e. 6
Đáp án 8
QN=28 (11590) Find the number of positive integers that do not exceed 2016 and are divisible by 7 or
9.
a. 512
b. 288
c. 224
d. 480
e. 64
f. None of the other choices is correct
Đáp án 480
QN=29 (11055) A person deposited 10 millions VND in a saving account at the rate of 12% a year. After
10 years, how much money will be in the account?
a. 22 millions VND
b. 12 millions VND
c. 31.06 millions VND
d. 27.7 millions VND
e. None of the other choices is correct
Đáp án 31.06 millions VND
a. 5
b. 390625
c. 625
d. 25
e. None of the other choices is correct
Đáp án 625
QN=31 (11074) Let R be the relation on the set of real numbers such that a R b if a-b is an integer.
Which of the properties (reflexive, symmetric, anti-symmetric, transitive) does R have?
a. transitive
b. Reflexive, transitive
c. Reflexive
d. Reflexive , symmetric, transitive
e. None of the other choices is correct
QN=32 (11104) Let R and S be relations on {a, b, c, d} with
QN=33 (11123) Let R={(a, b, c)| a+b+c<5} be the 3-ary relation on the set {1, 2, 3}.
Find the cardinality of R.
a. 4
b. 8
c. 3
d. 6
e. None of the other choices is correct
a. R is antisymmetric
b. R is reflexive
c. R is symmetric
d. R is transitive
QN=36 (11186) Let A = {a, b, c, d} and consider a partition of A consisting of the subsets {a}, {c}, {b,d}.
Find the equivalence relation that corresponds to this partition.
a. R={(a,b), (a,d), (c,b), (c,d)}
b. R={(a,c), (b,d)}
c. R={(a,a), (c,c), (b,b), (b,d), (d,b), (d,d)}
d. R={(a,a), (c,c), (b,b), (d,d)}
e. None of the other choices is correct
QN=37 (11193) Let G be a simple graph. The complementary graph of G is the graph G’ having the
same set of vertices, and there is an edge connecting u and v in G’ if and only if there is
no edge connecting u and v in G.
QN=38 (11205) Which of the following sequences is a degree sequence of a simple graph?
a. 0, 2, 2, 3, 2
b. 3, 1, 2, 3
c. 2, 2, 3, 4, 3, 3
d. 2, 1, 1, 4
e. None of the other choices
Đáp án None of the other choices
a. (i)
b. (ii)
c. (iii)
d. (iv)
e. None of the other choices is correct
Đáp án (iii)
QN=40 Are these two graphs isomorphic? If not, what is the reason?
(11245
)
a. No, they are not isomorphic because they do not have the same number of connected components
b. No, they are not isomorphic because they do not have the same number of vertices of degree 2
c. No, they are not isomorphic because they do not have the same number of edges
d. Yes, they are isomorphic
e. None of the other choices is correct
Đáp án No, they are not isomorphic because they do not have the same number of connected components
QN=41 (See picture)
(11228)
a. G is a simple graph.
b. G is a multigraph.
c. G has no multiple edges.
d. G has loops.
Đáp án G has loops.
a. 3
b. 2
c. 1
d. 4
e. None of the other choices is correct
Đáp án 3
a. (i)
b. (iv)
c. (ii) and (iii)
d. (i) and (ii)
Đáp án (ii) and (iii)
a. (i)
b. (ii)
c. (iii)
d. None of the other choices
Đáp án (iii)
QN=46 (11375) Find the least number of leaves of a balanced full 4-ary tree of height 3.
a. 19
b. 13
c. 54
d. 37
Đáp án 19
QN=47 (11391) Let T be a full m-ary tree of height 4 with 63 leaves. Find m.
a. 3
b. 4
c. 5
d. 6
e. 2
Đáp án 3
QN=49 (11405) How many comparisons are needed to search for the word “hoa” in the binary search
tree for the sentence
a. -15
b. -16
c. 4
d. 7
e. 8
Đáp án -15
For Examination Department Only
***************************************************************
[id=10620, Mark=1]1. E
[id=10624, Mark=1]2. D
[id=10642, Mark=1]3. C
[id=10683, Mark=1]4. B
[id=10671, Mark=1]5. C
[id=10700, Mark=1]6. C
[id=10698, Mark=1]7. A
[id=10718, Mark=1]8. E
[id=10730, Mark=1]9. B
[id=10765, Mark=1]10. B
[id=10776, Mark=1]11. B
[id=10792, Mark=1]12. B
[id=10813, Mark=1]13. C
[id=10825, Mark=1]14. D
[id=10851, Mark=1]15. A
[id=10863, Mark=1]16. A
[id=10878, Mark=1]17. A
[id=10891, Mark=1]18. A
[id=10902, Mark=1]19. A
[id=10911, Mark=1]20. D
[id=10929, Mark=1]21. B
[id=10946, Mark=1]22. D
[id=10951, Mark=1]23. E
[id=12876, Mark=1]24. A
[id=10992, Mark=1]25. A
[id=11003, Mark=1]26. A
[id=11021, Mark=1]27. B
[id=11590, Mark=1]28. D
[id=11055, Mark=1]29. C
[id=11070, Mark=1]30. C
[id=11074, Mark=1]31. D
[id=11104, Mark=1]32. B
[id=11123, Mark=1]33. A
[id=11129, Mark=1]34. A
[id=11156, Mark=1]35. D
[id=11186, Mark=1]36. C
[id=11193, Mark=1]37. A
[id=11205, Mark=1]38. E
[id=11213, Mark=1]39. C
[id=11245, Mark=1]40. A
[id=11228, Mark=1]41. D
[id=11269, Mark=1]42. A
[id=11305, Mark=1]43. C
[id=12845, Mark=1]44. C
[id=11347, Mark=1]45. D
[id=11375, Mark=1]46. A
[id=11391, Mark=1]47. A
[id=11415, Mark=1]48. B
[id=11405, Mark=1]49. E
[id=11445, Mark=1]50. A
***************************************************************
TOTAL MARK:50