Table 2.
A | B | A AND B | A OR B | A XOR B |
---|---|---|---|---|
True | True | True | True | False |
True | False | False | True | True |
False | True | False | True | True |
False | False | False | False | False |
When A and B are both true the AND operation produce true, OR returns true if either A or B is true, and XOR returns true if either A or B, but not both, is true.