Exam-style question
Try this first
Which Boolean expression is true when exactly one of A and B is true?.
- A.A AND B
- B.A OR B
- C.(A OR B) AND NOT (A AND B)
- D.NOT A AND NOT B
Answer and explanation
Concise answer
(A OR B) AND NOT (A AND B)
Why this is correct
A OR B requires at least one input to be true. NOT (A AND B) prevents both inputs from being true, leaving exactly one true input.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
