exclusive or

"Exclusive or," often abbreviated as XOR, is a fundamental concept in logic and computing that emphasizes mutual exclusivity.

πŸ‡ΊπŸ‡Έ US Voice:
πŸ‡¬πŸ‡§ UK Voice:

Definition

C1Logic

(technical, academic)A logical operation that returns true only when the inputs are different.

Example

  • In the expression A XOR B, the result is true if A is true and B is false, or if A is false and B is true.

C1Computing

(technical)A binary operation that yields true when exactly one of the two operands is true.

Example

  • The XOR gate in digital circuits outputs a high signal only when the number of high inputs is odd.

C1Mathematics

(technical, academic)A Boolean operator that returns true when precisely one of its arguments is true.

Example

  • In Boolean algebra, the exclusive or function is denoted as A βŠ• B.

Similar

Terms that have similar or relatively close meanings to "exclusive or":

inclusive or