Chat with our AI personalities
Input Output 0 1 1 0
.....0 10 | 0 01 | 0 1.....0 10 | 0 11 | 1 10 | 11 | 0
apparently whenever you can swap the 0's for 1's and 1's for 0's in the truth table and the truth result remains unchanged.
Truth table of 'NAND' is 0 0 - 1 0 1 - 1 1 0 - 1 1 1 - 0 NAND is just opposite of AND as the name itself suggest NAND is the not of AND Truth table of "NOR" is 0 0 - 1 0 1 - 0 1 0 - 0 1 1 - 0 NOR is just opposite of OR as the name itself suggest NOR is the not of OR.
It is the very same in every programming language. For example: AND: 0 && 0 = 0 0 && 1 = 0 1 && 0 = 0 1 && 1 = 1