Basics

Multiple inputs gates

AND, NAND, OR & NOR gates can have more than 2 inputs. The logic rules are the same than the 2 inputs gates.
 

AND & NAND Gates

      

AND Gate

The output is set to "1" when all inputs are set to "1". Otherwise, the output is set to "0".
 

NAND Gate

The output is the AND gate inverted.
 
The output is set to "0" when all inputs are set to "1". Otherwise, the output is set to "1".
 
A B C Out
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
0
0
0
0
0
1
A B C Out
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1
0
 
 

OR & NOR Gates

 

OR Gate

The output is set to "1" if any of the inputs is set to "1". If all inputs are set to "0", then the output is "0".
 

NOR Gate

The output is the OR gate inverted.
 
The output is set to "1" if all inputs are "0". Otherwise, the output is "1".
 
A B C Out
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
A B C Out
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
0
0
0
0
0
0
0

 

Alternative content

Get Adobe Flash player