devarshi-dt-logo

Question:

When the input of a two input logic gate are 0 and 0, the output is 1. When the inputs are 1 and 0, the output is 0. The type of logic gate is?

OR

XOR

NOR

NAND

Solution:

The truth table for a NOR gate is as given. It is a combination of OR and NOT gate. The output out of an OR gate for both inputs 0 is 0. The NOT gate would turn it into 1. The output out of an OR gate for inputs 1 and 0 is 1. The NOT gate would turn it into 0. Therefore, the logic gate is NOR gate.