circuit symbol of a logic gate and two input waveforms A and B are shown.