Consider the below Digital Circuit :

The State Transition diagram on circuit is :

@kumar.dilip

s=0 is not always giving latch. Let S=0 and Q=1. Now from the MUX I0 will be selected in this case , i.e I0=Q=1. Now 1 is given to the inputs of J and K. As both J and K are 1 it toggles the current state Q=1 to Q=0. Thus, forS=0, Q=1 becomes Q=0. correct me if I am wrong somewhere

Answer is A

J=K=Y

Y= S'Q + SQ'

Q=0 then Y=S AND Q=1 then Y=S'

Y=0 -> J=K=0, so Qn = Q

Y=1 -> J=K=1, so Qn = Q'

correct me if i am wrong.