The upper AND gate produces Y1=A⋅B, while the OR gate receives A (through the inverter) and B, giving Y2=A+B. The final NAND gate gives Y=Y1⋅Y2, so the output is low only when both Y1 and Y2 are high. Here Y2=A+B equals 1 except when A=1,B=0, while Y1=A⋅B equals 1 only when A=1,B=1. The two are simultaneously high only for A=1 and B=1, and there the NAND output falls to zero. Thus the output is zero when A=1 and B=1.
JEE Main · 2025 · 07 Apr 2025 · Shift 2 · Single correct option