Multiple choice

True if only one or the other input is the same; if both are the same, it's false.

  1. OR (||)

  2. AND (&&)

  3. NOT

  4. XOR

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The XOR (exclusive OR) operation returns true only if the inputs differ (one is true and the other is false). If both inputs are the same, the result is false.