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.

A B Q
Figure 1. The ANSI standard schematic symbol for an Exclusive OR (XOR) logic gate, illustrating inputs A and B resolving to output Q.
Q = AB
Input A Input B Output Q
0 0 0
0 1 1
1 0 1
1 1 0
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.