Identify the logic gates X and y

cbse
semiconductor

#1

Identify the logic gates X and y shown in the figure. Write down the truth table for output Z for all possible inputs A and B.


#2

X: NAND gate
Y: NOT gate