What is the maximum number of different Boolean functions involving n Boolean…
2007
What is the maximum number of different Boolean functions involving n Boolean variables?
- A.
n2
- B.
2n
- C.
22 ^ n
- D.
2n2
Attempted by 714 students.
Show answer & explanation
Correct answer: C
Answer: The maximum number of different Boolean functions of n Boolean variables is 2^(2^n).
Step 1: n Boolean variables produce 2^n distinct input combinations.
Step 2: For each input combination the function can output either 0 or 1, so each function corresponds to a choice of 0/1 for each of the 2^n inputs.
Step 3: The number of possible output patterns is therefore 2^(2^n), since there are 2 choices for each of the 2^n input rows.
A video solution is available for this question — log in and enroll to watch it.