Skip to content
Official PYQ · 2007

GATE CS 2007 Q3 — Sets, Relations and Functions

Explain with AI

What is the maximum number of different Boolean functions involving nn Boolean variables?

Choose one option
View worked solution

Answer: C

A Boolean function of nn variables is a mapping from {0,1}n\{0, 1\}^n to {0,1}\{0, 1\}.

To find the total number of such functions:

  1. Number of input combinations: Since there are nn Boolean variables and each variable can take 22 possible values (00 or 11), the total number of distinct input combinations (or rows in the truth table) is: 2n2^n
  2. Number of possible functions: For each of these 2n2^n input combinations, the function can output either 00 or 11 (i.e., 22 choices).
    Thus, the total number of distinct Boolean functions is: 22n2^{2^n}

Therefore, the maximum number of different Boolean functions involving nn variables is 22n2^{2^n}, which corresponds to option C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions