What if we were to decide that a 0-bit represented FALSE and a 1-bit represented TRUE?
This would allow us to manipulate bits using Boolean operations (named for a guy named George Boole who worked a branch of math called logic in the 1800s).
There are four basic Boolean operations that are used to manipulate bits:
|AND||Dr. Rita is short AND Dr. Rita is a nerd||Binary Operator|
|OR||Dr. Rita is short OR Dr. Rita is a nerd||Binary Operator|
|XOR||Either Dr. Rita is short OR Dr. Rita is a nerd||Binary Operator|
|NOT||NOT (Dr. Rita is short)||Unary Operator|
Gate: A device that produces the output of a Boolean operation
Let's complete these truth tables together!