Q. Assertion : The logic gate can be built using diode.
Reason : The output voltage and the input voltage of the diode have 180 phase difference.

 2418  207 AIIMSAIIMS 2005Semiconductor Electronics: Materials Devices and Simple Circuits Report Error

Solution:

gate inverts the input signal. The gate has only one input and one output. It combines the input with the output , from Boolean expression

We cannot realise a NOT gate by using diodes.
image
Instead a transistor has to be used. An electric circuit and truth table for a NOT gate using a transistor is shown
image