CC

Logic gates

Logic gates— one or more inputs that generate an output based on a logic operation

  • multiple logic gates is a logic circuit.

NOT gates

If input is ON, output is off.

If output is ON, input is off.

(inverse)

P(output) = not A(¬A)

NOT gate symbol

AND gate

Both inputs require for output, otherwise, off.

P = A AND B(A ^ B)

AND gate symbol

OR gate

If either one or both of inputs are on, so is output.

P = A or B(A V B)

OR gate symbol

and in maths is the upside down u, or in maths is the U.