Tracing the crossed wiring into the two AND gates, one AND gate receives A and B while the other receives A and B; both outputs feed the final OR gate, giving
Y=AB+AB,
which is the exclusive-OR function. Evaluating all inputs: (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→0.
JEE Main · 2024 · 27 Jan 2024 · Shift 2 · Single correct option