Logic circuits

How many rows does the truth table of a 3-input logic circuit have?

  1. A6
  2. B9
  3. C8
Show answer and explanation

Answer: C. 8

Each input is either 0 or 1, so three inputs have 2³ = 8 combinations and the truth table has eight rows. With n inputs it grows exponentially to 2ⁿ rows; a 32-bit adder (64 inputs) would need 2⁶⁴ rows, which is impractical. Large circuits are therefore built from small blocks and described and verified with Boolean expressions or HDL.

  • A. 6 is 3 × 2, which is not how combinations are counted.
  • B. 9 is 3², not the number of combinations of binary inputs.
  • C. Correct. 2³ = 8 rows.

Related calculators

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Logic circuits questions

  1. How many bits are in one byte?
  2. What is the hexadecimal number 1A in decimal?
  3. What does a JK flip-flop do when a clock edge arrives with J = 1 and K = 1?
  4. A T flip-flop whose output toggles on every active clock edge produces an output at what multiple of the clock frequency?
  5. Which circuit outputs, in binary, the number of the highest-priority input when several inputs are 1 at the same time?

Comparisons in this topic