Confirming your payment

Skip to content

Competency-Based Questions (CBQ) · Question 68 of 80

Two programmers filter a list A using two block lists B and C .

Question 682 marksHard

Two programmers filter a list AA using two block lists BB and CC. Programmer 1 computes (A−B)−C(A - B) - C. Programmer 2 computes A−(B−C)A - (B - C).

(i) Prove that (A−B)−C⊂A−(B−C)(A - B) - C \subset A - (B - C) for all sets AA, BB, CC, and that the two sets are equal if and only if A∩C=ϕA \cap C = \phi.

(ii) Check this for A={1,2,4,7,11}A = \{1, 2, 4, 7, 11\}, B={2,7,13}B = \{2, 7, 13\} and C={4,11,13}C = \{4, 11, 13\}.