(d) If we give the following inputs to $A$ and $B$, then corresponding output is shown in table.
[table] $\mathbf{A}$ | $\mathbf{B}$ | $\mathbf{Y}$ ; $0$ $0$ $1$ $1$ | $0$ $1$ $0$ $1$ | $0$ $1$ $1$ $1$ [/table]
The above table is similar to OR gate.