Logic+Gates+symbols+definition

NOT - AND - NAND - OR examples:

NOT: The output B is true when the input A is NOT true, the output is the inverse of the input. A B 0 1 1 0

AND: The output C is true if input A AND input B are both true. A B C 1 1 1 1 0 0 0 1 0 0 0 0

NAND: This is an AND gate with the output inverted; the output C is true if input A AND input B are NOT both true. A B C 1 1 0 1 0 1 0 1 1 0 0 1

OR: The output C is true if input A OR input B is true (or both of them are true). A B C 0 0 0 1 0 1 0 1 1 1 1 1