Animated Logo

XOR

Table of Contents

What is a
Logical Proposition

True Value
and
NOT

AND and OR

XOR

IMP

EQV

Logical Formula
and
Calculation Order

Japanese

TEST

Unlike OR, there is a logical calculation unit that results to true only when one of the two old propositions is true. This is called an exclusive or in English. For example, when we abbreviate exclusive or to XOR, "either the flower is red or the fruit is sweet" is equivalent to "the flower is red" XOR "the fruit is sweet." If the flower is red, then the fruit is not sweet. In the list below, note that only the last line(T T) is different from OR.

A B A XOR B
F F F
F T T
T F T
T T F

The formulas are constructed below.

F XOR F = F
F XOR T = T
T XOR F = T
T XOR T = F