Answer:
The output for NAND gate is false if all the inputs are true. it is true if either A or B is False.
Step-by-step explanation:
Step1
NAND operator:
NAND is a logic or Boolean expression and is a combination of NOT and AND Gate.
NAND gate is built using various junction diodes and transistors.
Step2
The output of NAND can be 0 or 1. Here, LOW (0) and HIGH (1). 0 or 1 is commonly named as FALSE or TRUE respectively.
It is basically the complement of AND gate. If all its inputs are True or 1, then the output is False or 0 else if either A or B is 0 or 1 then it will give the output as TRUE.
Step3
Here, A and B are 2 inputs used to make the truth table for NAND.
In 1st row, when A and B are both 0, the output for NAND is 1.
Likewise, in 2st row and 3rd row, when either A or B is 0 or 1, the output for NAND is 1 that is TRUE.
But in last row, when both inputs A and B are true, then the output for NAND gate is FALSE or 0.
The diagram and truth table for NAND is shown below.