The number of Boolean functions possible with n binary variables is equal to

This question was previously asked in
NIMCET 2015 Official Paper
View all NIMCET Papers >
  1. \(2^{2^{n}}\)
  2. 2n
  3. \(2^{2{n-1}}\)
  4. \(2^{n-1}\)

Answer (Detailed Solution Below)

Option 1 : \(2^{2^{n}}\)
Free
NIMCET 2020 Official Paper
10.7 K Users
120 Questions 480 Marks 120 Mins

Detailed Solution

Download Solution PDF

Boolean Functions (Expressions):

It is useful to know how many different Boolean functions can be constructed on a set of Boolean variables.

When there are no variables: There are two expressions

False = 0 and True = 1

For one variable p: Four functions can be constructed.

Recall, a function maps each input value of a variable to one and only one output value.

  1. The False(p) function maps each value of p to 0 (False).
  2. The identity(p) function maps each value of p to the identical value.
  3. The flip(p) function maps False to True and True to False.
  4. The True(p) function maps each value of p to 1 (True).

So, For one variable p, 4 = \(2^{2^{1}}\) functions can be constructed.

This information can be collected into a table

Input variable Functions possible
p False    p      -p     True
0 0 0 1 1
1 0 1 0 1

 

For two variables: p and q, 16 Boolean functions can be constructed.

Boolean Functions of n Variables:

Number of variables Number of boolean functions.
0 2 = 21 = \(2^{2^{0}}\)
1 4 = 22 = \(2^{2^{1}}\)
2 16 = 24 = \(2^{2^{2}}\)
3 256 = 28 = \(2^{2^{3}}\)
4 65, 536 = 216 = \(2^{2^{4}}\)
n \(2^{2^{n}}\)

∴ There are \(2^{2^{n}}\)different Boolean functions on n Boolean variables

Latest NIMCET Updates

Last updated on Jun 12, 2025

->The NIMCET 2025 provisional answer key is out now. Candidates can log in to the official website to check their responses and submit objections, if any till June 13, 2025.

-> NIMCET exam was conducted on June 8, 2025.

-> NIMCET 2025 admit card was out on June 3, 2025.

-> NIMCET 2025 results will be declared on June 27, 2025. Candidates are advised to keep their login details ready to check their scrores as soon as the result is out.

-> Check NIMCET 2025 previous year papers to know the exam pattern and improve your preparation.

Get Free Access Now
Hot Links: teen patti master apk download teen patti game online teen patti comfun card online teen patti live