Full 2-input truth table — XNOR gate
introtrue when the inputs agree
Answer
output column 1001
Why this example is worth doing
The XOR column inverted, and the same table as the biconditional from propositional logic. The page prints the logic-course notation A ↔ B and the engineering notation A ⊙ B in the same header, because this gate has two entirely separate audiences arriving with different vocabularies for one object. Making that explicit is worth more than either notation alone.
Try your own input in the XNOR gate. Truth table, symbol and algebraic form for A ⊙ B, the equality detector.
How the answer is reached
Truth table
| # | A | B | A ⊙ B |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 2 | 1 | 0 | 0 |
| 3 | 1 | 1 | 1 |