The exclusive-OR gate (EOR or XOR) is a very useful two-input gate. The schematic symbol and truth table are shown in figure 7.3.
Figure 7.3: The schematic symbol for the exclusive-OR gate (EOR or XOR) and its truth table.
From the truth table
and we can draw the mechanization directly from the truth table (figure 7.4).
Figure 7.4: A mechanization of the exclusive-OR directly from the truth table.