Computer Fundamentals - Engineering

Q1:

An electronic logic gate whose output is logic 0 only when all inputs are logic 1 is

A NOR

B NAND

C OR

D NOT

E None of the above

ANS:B - NAND

OR gate : is a Boolean operator that gives the value 1 if at least one operand has a value of 1. Example : 1 OR 1 = 1 OR 0 = 0 OR 1 = 1 (one).

AND gate : is a Boolean operator that gives the value 1 if and only if all the operands are 1, and otherwise has a value of zero. 1 AND 1 = 1.

NOT gate : is a Boolean operator with only one variable that has the value one when the variable is zero and vice versa. 1 NOT = 0, 0 NOT = 1.

NOR gate : a Boolean operator that gives the value, only when all operands have a 0 value. Example : 0 NOR 0 = 1.

NAND gate : is a combination of the result of AND GATE, and then using a NOT gate. Example : 1 NAND 1 = 0.