Call the output of the gate fed by both inputs A⋅B. This feeds, together with A, the upper gate to give A⋅A⋅B, and together with B the lower gate to give B⋅A⋅B. The final gate combines these two outputs as Y=A⋅AB⋅B⋅AB=AB+AB. This is high only when the two inputs differ, so the truth table reads (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→0.
JEE Main · 2023 · 30 Jan 2023 · Shift 2 · Single correct option