Logic & Boolean Algebra

Exclusive OR

Exclusive OR is true when exactly one of two inputs is true.

Meaning

What Is Exclusive OR?

Exclusive OR is true when exactly one of two inputs is true.

Exclusive OR is true when exactly one of two inputs is true.

Examples

Examples of Exclusive OR

1True XOR False = True, but True XOR True = False.
Understand

Formula and Key Points

Formula / rule
p ⊕ q
  • Know the definition and standard notation for Exclusive OR.
  • Be able to recognise or compute exclusive or in a small example.
  • Connect the concept to nearby topics in the same subject before using it in larger CSE problems.
CSE Connection

Why This Matters in Computer Science

Used in program conditions, digital circuits, database queries, formal verification, search and decision logic.

FAQ

Exclusive OR: Frequently Asked Questions

What is Exclusive OR?

Exclusive OR is true when exactly one of two inputs is true.

Why is Exclusive OR useful in computer science?

Used in program conditions, digital circuits, database queries, formal verification, search and decision logic.