Logic gates

And gate

INPUT OUTPUT
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
The AND gate is a basic digital logic gate that implements logical conjunction

Or gate


INPUT OUTPUT

A B A + B
0 0 0
0 1 1
1 0 1
1 1 1
The OR gate is a digital logic gate that implements logical disjunction

Not gate

INPUT OUTPUT
A B
0 1
1 0

In digital logic, an inverter or NOT gate is a logic gate which implements logical negation