What should be done to obtain an OR gate from a NAND gate?

What should be done to obtain an OR gate from a NAND gate?
A. We need only 3 NAND gates
B. We need two NOT gates obtained from NAND gates and one NAND gate
C. We need 3 NOT gates obtained from NAND gates and 3 NAND gates
D. We need 2 NAND gates and 4 AND gates obtained from NAND gates.
 
Answer: b
Explanation: We need OR gate (Y = A + B) from NAND gate (Y = not (A.B))
Y = not (not (A.B))
Y = not (not (A)) + not (not (B)) [Using the Boolean identify ➔ not (A.B) = not (A) + not (B)]
So, Y = A + B [Since not (not (A)) = A and not (not (B)) = B]
Therefore, to obtain an OR gate from a NAND gate, we need two NOT gates obtained from NAND gates and one NAND gate.
 

Tìm kiếm

Back
Top