devarshi-dt-logo

Question:

To get output '1' and R, for the given logic gate circuit the input values must be?

X=0,Y=1

X=0,Y=0

X=1,Y=0

X=1,Y=1

Solution:

P = ¬x + y
Q = ¬y
X = y + ¬x
O/P = ¬P + Q
To make O/P = 1, P + Q must be 0
So, y = 0, x = 1.