LearnFrenzy
Sign in Take a free test

Sets · Sets MCQ · Question 7

Is set difference commutative? Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 7 Back to Exercise

For a = {1, 2} and b = {2, 3}, which statement is true?

  • A a - b and b - a are both {1, 3}
  • B a - b and b - a are equal
  • C a - b is {1} but b - a is {3} Correct
  • D Difference is only defined for equal-sized sets
Correct Answer: Option C

Difference keeps elements of the left set that are not in the right one, so the order of operands matters.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links