The following figure shows a logic gate circuit with two inputs A and B and the output C. The voltage waveforms of A, B and C are as shown below. The logic gate is
from the waveform it is observed that when
A=0, B=0 C=0,
A=1, B=1,C=1,
A=0, B=1,C=1,
A=1, B=0,C=1.
the logic circuit is an OR gate