1.

If A = (1, 2, 3, 4) and B = (2, 4, 5), then (A - B) ∪ (B - A) =1. (1, 3, 5)2. (2, 4, 5)3. (2, 4)4. (3, 4, 5)

Answer» Correct Answer - Option 1 : (1, 3, 5)

Given:

A = (1, 2, 3, 4)

B = (2, 4, 5)

Concept used:

If two sets X and Y,

X - Y = Set of all the elements present in X but not in Y

Y - X = Set of all the elements present in Y but not in X

X ∪ Y = Set of all the elements present in either X or Y

Calculation:

A - B = (1, 2, 3, 4) - (2, 4, 5)

⇒ (1, 3)

B - A = (2, 4, 5) - (1, 2, 3, 4)

⇒ (5)

(A - B) ∪ (B - A) = (1, 3) ∪ (5)

⇒ (1, 3, 5)

∴ The value of (A - B) ∪ (B - A) is (1, 3, 5).



Discussion

No Comment Found

Related InterviewSolutions