Question:easy

An AND Gate has 7 inputs. How many input words are in its truth table?

Show Hint

Number of input words equals 2 raised to the number of inputs.
Updated On: Jul 2, 2026
  • 7
  • 14
  • 128
  • 256
Show Solution

The Correct Option is C

Solution and Explanation

Each input line is a single bit that can be low or high. Seven such lines together form a 7-bit input word.

The number of different 7-bit words equals the number of ways to fill 7 slots with two choices each:
\[2 \times 2 \times 2 \times 2 \times 2 \times 2 \times 2 = 2^{7}\]

That total is 128, so the truth table needs 128 input rows regardless of the gate type.

\[\boxed{128 \text{ (C)}}\]
Was this answer helpful?
0