- AND Gate: Symbol is a flat-ended shape with two inputs and one output. Function: The output is 1 only if both inputs are 1. (A AND B = 1 if A = 1 and B = 1)
-
OR Gate: Symbol is a curved shape with two inputs and one output. Function: The output is 1 if at least one input is 1. (A OR B = 1 if A = 1 or B = 1)
-
NOT Gate: Symbol is a triangle with a small circle (representing negation) at the output. Function: The output is the inverse of the input. (NOT A = 1 if A = 0)
-
NAND Gate: Symbol is an AND gate symbol with a small circle at the output. Function: The output is 1 unless both inputs are 1. (A NAND B = 1 unless A = 1 and B = 1)
-
NOR Gate: Symbol is an OR gate symbol with a small circle at the output. Function: The output is 1 only when both inputs are 0. (A NOR B = 1 if A = 0 and B = 0)