To get an output of 1 from the circuit shown in figure the input must be :

From the JEE Main 2016 · 10 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
To get an output of 1 from the circuit shown in figure the input must be :

Try it yourself first, then check your working against this.
Worked solution
. Y = 1 needs c = 1 and at least one of a, b equal to 1: (3).
Concepts used: combination of 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.