An OR gate has 4 inputs. The number of words in truth table will be _______.

Options

  • A. 4
  • B. 8
  • C. 16
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. 16

Detailed Explanation

Explanation

The number of rows (words) in a truth table depends on the number of inputs.

Formula:

Number of rows=2n\text{Number of rows} = 2^n

Where n = number of inputs

Here:

  • n = 4

So,

24=162^4 = 16

Therefore, the truth table for a 4-input OR gate has 16 rows (words).

OOps! You are currently offline.