Q.
Assertion : The logic gate $NOT$ can be built using diode.
Reason : The output voltage and the input voltage of the diode have 180$^{\circ}$ phase difference.
Solution: