In the combination of the following gates the output Y can be written in terms of inputs A and B as

From the NEET (UG) 2019 · 5 May paper. Try it, check your answer, then read the worked solution below.
In the combination of the following gates the output Y can be written in terms of inputs A and B as

Try it yourself first, then check your working against this.
Worked solution
The upper AND gate gets A and ; the lower gets and B. The OR gate gives (XOR).
(2)
Concepts used: XOR from basic gates
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Logic gates), each with a worked solution.
Timed, in the real format, and marked the moment you submit.