What is the output Y in the following circuit when all three inputs A, B, C are first 0 and then 1?
1,1
0,1
0,0
1,0
Solution:
Here the gate P is a logic symbol of AND gate and Q is a NAND gate. So, the output of P is Yp = A.B and the output of Q is Y = ¬Yp.C. When A=0, B=0, C=0 ⇒ Yp = 0, Y = ¬0.0 = 1. When A=1, B=1, C=1 ⇒ Yp = 1, Y = ¬1.1 = 0