国际空间研究组织 | ISRO CS 2017 – 5 月 |问题 9
集合 A = {1, 2, 3, 4, 5, 6, 7, 8} 和 B = {1, 3, 5, 6, 7, 8, 9} 的对称差是
(A) {1, 3, 5, 6, 7, 8}
(B) {2, 4, 9}
(C) {2, 4}
(D) {1, 2, 3, 4, 5, 6, 7, 8, 9}答案:(乙)
说明: A 和 B 的对称差
= (A – B) ∪ (B – A)
(A – B) = {2, 4}
(B – A) = {9}
(A – B) ∪ (B – A) = {2, 4} ∪ {9} = {2, 4, 9}
这个问题的测验