The NOT operator is written with a bar over numbers or letters like this:
It means the output is not the input.
The AND operator is written as like this:
The output is true only if one and the other input is true.
The OR operator is written as like this:
One or the other input can be true for the output to be true.
XOR basically means "exclusive or", meaning one input or the other must be true, but not both.
The XOR operator is written as like this:
To make it more simple, one or the other input must be true, but not both.
Different gates can be put together in different orders:
- is the same as an AND then a NOT. This is called a NAND gate.
It is not the same as a NOT then an AND like this:
which is called XOR identity table
, if .
Augustus De Morgan found out that it is possible to change a sign to a sign and make or break a bar. See the 2 examples below:
"Make/break the bar and change the sign."
Images for kids
Boolean algebra Facts for Kids. Kiddle Encyclopedia.