1.

The symmetric difference of A = {1, 2, 3} and B = {3, 4, 5} is A. {1, 2} B. {1, 2, 4, 5} C. {4, 3} D. {2, 5, 1, 4, 3}

Answer»

Here,

A = {1,2,3} and B = {3,4,5} 

A∖B={1,2,3}∖{3,4,5} 

={1,2,3}∖{3} 

={1,2} 

B∖A = {3,4,5}∖{1,2,3,4} 

= {3,4,5}∖{3} 

= {4,5} 

AΔB = (A∖B)⋃(B∖A) 

= {1,2}⋃{4,5} 

= {1,2,4,5}



Discussion

No Comment Found

Related InterviewSolutions