Concept Review - Chapter 2
Concept Review - Chapter 2
1. Let U = {a, b, c, d, e, f, g, h, i, j}. The bit string representing the subset {a, c, d, g, h, i} is
____
a. 10 1110 1110
b. 10 1101 1110
c. 10 1100 1011
d. 10 1100 1110
2. Let U = {a, b, c, d, e, f, g, h, i, j}.
Given the subsets A = {a, c, d, e, i}, B = {a, f, g, h, j}. The bit string representing the
subset A - B is_______
a. 01 0110 0010
b. 00 1011 0010
c. 00 1110 0010
d. 00 0111 1010
3. Let M be the set {(a, b) | a - 1 = b}, where a and b are in {-2, -1, 0, 1, 2}. How many
elements does R have? (or in other words, what is the cardinality of M ?)
a. 4
b. 3
c. 2
d. 1
4. The set A has n elements, B has n+1 elements. Assume that A B has 42 elements. Find
n.
5. Given the sequence {an, n = 1, 2, …}: an = 1 + 2 + 3 + … + n. Find a7 – a6.
a. 7
b. 6
c. 1
d. n
e. None of these
6. Given the sequence {an, n = 1, 2, …} where an equals the number of 1 bits in the
binary format of n. Find a11.
a. 0
b. 1
c. 2
d. 3
e. 4
f. None of these
7.
10.
a. f is onto but not one-to-one.
b. f is a bijection.
c. f is one-to-one but not onto.
d. None of these.
11.
(i) (x+2018)2018
(ii) x2018 + 2018
(iii) x2018(x+2018)
(iv)None of these
13. Given A = {1, 2}. Find A - P(A). (Recall that P(A) is the power set of A)
a.
b. A
c. { }
d. None of these
14. Given A = {1, 2}, find A P(A).
a. A
b.
c. { }
d. None of these
15. How many elements does the set P({1, 2, 3, 4, 5, 6, 7, 8}) have?
a. 8
b. 16
c. 256
d. None of these
16.
17.
18.