Difficulty: Easy
Correct Answer: 16
Explanation:
Introduction / Context:
Truth tables enumerate every possible input combination for a logic function. Knowing how many rows are required allows designers to plan verification efforts and to reason about complexity in combinational logic design.
Given Data / Assumptions:
Concept / Approach:
The count of input combinations for an n-input logic function equals 2^n. This is independent of the gate type (AND, OR, NAND, NOR, etc.) because it depends only on the number of inputs and the binary nature of each input variable.
Step-by-Step Solution:
Verification / Alternative check:
List the inputs in binary counting order from 0000 to 1111; you will enumerate exactly 16 unique rows. Regardless of the gate's function, this exhaustive list is the complete set of input possibilities for four binary variables.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
16
Discussion & Comments