devarshi-dt-logo

Question:

The combination of gates shown below yields OR gate, XOR gate, NOT gate, NAND gate

NAND gate

OR gate

NOT gate

XOR gate

Solution:

Truth table for the combination is
A B X
0 0 0
0 1 1
1 0 1
1 1 1