In the circuit, the logical value of A = 1 or B = 1 when potential at A or B is 5 V and the logical value of A = 0 or B = 0 when potential at A or B is 0 V.
The truth table of the given circuit will be :
In the circuit, the logical value of A = 1 or B = 1 when potential at A or B is 5 V and the logical value of A = 0 or B = 0 when potential at A or B is 0 V.
The truth table of the given circuit will be :

Official answer: A
Diode AND gate. Y is high only when both inputs are high: Y = 0, 0, 0, 1.
(A)