Electrical Engineering XYZ MCQs
The number of entries in the truth table of a 3 input NAND gate are:
- 8
- 3
- 9
- 6
Correct answer: 1. 8
Explanation:
The number of entries in the truth table for a NAND gate with three inputs can be determined by considering all possible combinations of input values. Since each input can be either 0 or 1, and there are three inputs, the total number of combinations is 2^3 = 8.
Here’s the truth table for a 3-input NAND gate:
Input A | Input B | Input C | Output (A NAND B NAND C) |
---|---|---|---|
0 | 0 | 0 | 1 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 1 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 |
1 | 1 | 1 | 0 |
So, the correct answer is 8, as there are 8 entries in the truth table for a 3-input NAND gate.