A truth table will need how many rows if there are n variables.
2023
A truth table will need how many rows if there are n variables.
- A.
2*n
- B.
n
- C.
2n
- D.
none of these
Attempted by 340 students.
Show answer & explanation
Correct answer: C
A truth table lists all possible combinations of truth values for the given variables. Since each variable can have 2 states (True or False), a table with n variables requires 2^n rows to cover every unique combination.