Draw the output signal Y in the given combination of gates.

From the JEE Main 2021 · 26 Feb · Shift 2 paper. Try it, check your answer, then read the worked solution below.
Draw the output signal Y in the given combination of gates.

Try it yourself first, then check your working against this.
Worked solution
Logic. The NAND with both inputs tied is a NOT: . The OR gives and the final NOT gives .
Waveform. on 0-2 s and 3-5 s; on 1-2 s and 3-4 s. So only on 0-1 s and 4-5 s.
(B)
Concepts used: gate waveforms
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.