Quiz 2 Discrete Math Variant 0
Quiz 2 Discrete Math Variant 0
Full Name:
Variant 0
1. Let A = {0, 2, 3, 4, 6, 8}, B = {1, 3, 4, 5, 7}, C = {0, 1, 3, 5, 6}.
[1 pts.] a) Write right here what are the following sets:
B∪A={ }, C ∩A={ }, C −B ={ },
A ⊕ (B ⊕ C) = { }, (C − A) ⊕ (B − C) = { }.
2. Determine a type of the following functions from N to N, where N is the set of naturals,
2 x + 1, if x is even; x/2, if x is even;
f (x) = x , g(x) = , h(x) = , v(x) = 0
x − 1, if x is odd. (x − 1)/2, if x is odd.
Encircle those functions which correspond to the definition and justify your answer:
1
4. Given the relation R = {(a, b) | a ≡ b (mod 3)} on the set of all integers.
2
6. [2 pts.] Given the poset (1, 2, 3, 5, 6, 7, 10, 20, 30, 60, 70, |).