(a) For the digital circuit given below, write the truth table showing outputs Y1 and Y2 for all possible inputs of A and B.

(b) Show output waveform for all possible inputs of A and B.

(b) Show output waveform for all possible inputs of A and B.