The number of rows in the truth table of a 4-input gate is

Electrical Engineering XYZ MCQs

The number of rows in the truth table of a 4-input gate is:

  1. 8
  2. 4
  3. 16
  4. 12

Correct answer: 3. 16

Explanation: In digital logic, a truth table is a table used to represent the outputs of a logical expression for all possible combinations of inputs. The number of rows in a truth table is determined by the number of input variables.

For a 4-input gate, each input can be either 0 or 1, giving us 2 possibilities per input. Since there are 4 inputs, the total number of possible combinations of inputs is 24=1624=16. Therefore, the truth table for a 4-input gate would have 16 rows, with each row representing a unique combination of input values.

Leave a Reply