4.In which of the following gates, the output is 1, if and only if at least one input is 1? * O NOR O AND O OR O NAND
Answers
Explanation:
XOR gate - output is 1 if ONLY one input is 1.
NAND gate - output is 1 if AT LEAST one input is 0.
Answer: Option (c), OR is correct.
Concept:
A logic gate is a device in digital circuits that serves as a building block. They carry out basic logical operations that are essential in a digital circuit.
Find:
In which of the following gates, the output is 1, if and only if at least one input is 1?
(a) NOR
(b) AND
(c) OR
(d) NAND
Solution:
Option (c) is correct.
A logic gate that performs a logical OR operation is known as an OR gate. If one or both of the gate's inputs are high, the logical OR operation produces a high output (1). If neither of the inputs is high, the result is a low output (0).
Truth table for OR gate:
X Y OUTPUT
0 0 0
0 1 1
1 0 1
1 1 1
Hence the output is 1 if at least one input is 1.
Option (a) is incorrect.
A NOR gate (short for "not OR gate") is a logic gate that only produces a high output (1) if all of its inputs are false, and a low output (0) otherwise.
Option (b) is incorrect.
The output of AND gate is low (0) if either of the inputs is low (0). The output will be high if all of the inputs are high (1).
Option (d) is incorrect.
A logic gate known as a NAND gate (short for "not AND gate") provides a low output (0) only if all of its inputs are true, and a high output (1) otherwise.