Boolean relation at the output stage-Y for the following circuit is :

From JEE Main 2020 · 8 Jan · Shift 1
Boolean relation at the output stage-Y for the following circuit is :

Worked solution
Diode stage. The two diodes from switches A and B form an OR gate.
Transistor stage. It is a common-emitter switch, which inverts.
.
(D)
Every past question tagged to the same part of the syllabus, with solutions.
Timed, in the real format, and marked the moment you submit.