nand diagram code example
Example 1: and gate
1 | 0 | 0
1 | 1 | 1
BOTH MUST BE TRUE
Example 2: nor nand gate
nor = not OR ( opposite of OR gate result , 1 will be 0 ) 1+1 = 0
nand = not AND ( opposite of AND gate result , 1 will be 0 ) 1*1= 0
EXOR gate
# follow the source- link below this answer to get any answer of Logic gate