Exclusive OR
| Classification | Images |
|---|---|
| Name: Exclusive OR *Symbol: XOR |
Appearance:![]() |
| Group: Logical operators CannyLab version: from 0.6b |
Icon:![]() |
| Inputs |
| Outputs |
| Output | Value |
|---|---|
| Resul: | Logical |
General description
Set the output as the result of XOR operation on input values.
In other words, the output will be:
- “1” if and only if one input is “1”,
- “0” if and only if the input values are equivalent to each other. Thus, Truth table operation is as followed:
| Value X | Value Y | Result |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Examples
Examples 1:

Examples 2:



