xor.bz
Personal Workspace · Digital Garden
Hi there! I'm an independent computer science student focused on C, Perl, shell scripting, and cryptography. I built this space to share my work, driven by a deep appreciation for the roots of computing.
Q = A ⊕ B
Table 1. The truth matrix and associated boolean expression for the XOR operation. Note that the output is true if and only if the inputs differ.
| Input A | Input B | Output Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |