Boolean systems have two outputs: true and false, 1 and 0, T and F.
The number of possibilities is calculated by doing 2 to the power of the number of values: booleans a, b and c have possibilities.
Logical operators
Boolean operators evaluate the values of all parameters, and give an output bool based on what operator you use.
Some operators are:
- AND(&&) both a and b have to be true
- OR (||) either a or be has to be true
- XOR(^) either a or be has to be true, but not both
- EQUIVALENT(≤⇒) a is equal to b
- IMPLICATION(⇒) ????
- FALSE(F) always false (contradiction)
- TRUE(T) always true (tautology)