Assessment
Assessment
1. Write each statement in words. Let p: The plane is on time. Let q: The sky is clear.
(a) ¬ (p ˅ q) ↔ (¬ p) ˄ (¬ q)
p q p˅q ¬ (p ˅ q) ¬p ¬q (¬ p) ˄ (¬ q) ¬ (p ˅ q) ↔ (¬ p) ˄ (¬ q)
1 1 1 0 0 0 0 1
1 0 1 0 0 1 0 1
0 1 1 0 1 0 0 1
0 0 0 1 1 1 1 1
(b) ¬ (p ˄ q) ↔ (¬ p) ˅ (¬ q)
p q p˄q ¬ (p ˄ q) ¬p ¬q (¬ p) ˅ (¬ q) ¬ (p ˄ q) ↔ (¬ p) ˅ (¬ q)
1 1 1 0 0 0 0 1
1 0 0 1 0 1 1 1
0 1 0 1 1 0 1 1
0 0 0 1 1 1 1 1
A = {t, r, i, a, n, g, l, e, s}
B = {s, q, u, a, r, e}
C = {h, e, x, a, g, o, n, s}
(a) A ∪ (B ∩ C)
B ∩ C = {s, a, e}
A ∪ (B ∩ C) = {t, r, i, a, n, g, l, e, s}
(c) (A ∩ C) ∪ (B ∩ C)
A ∩ C = {a, n, g, e, s}
B ∩ C = {s, a, e}
(A ∩ C) ∪ (B ∩ C) = {a, n, g, e, s}
5. A survey of 90 customers was taken at Barnes & Noble regarding the types of books purchased. The survey found that
44 purchased mysteries, 33 purchased science fiction, 29 purchased romance novels, 13 purchased mysteries and science
fiction, 5 purchased science fiction and romance novels, 11 purchased mysteries and romance novels, and 2 purchased all
three types of books (mysteries, science fiction, romance novels). How many of the customers surveyed purchased