GATE Computer ScienceVery hardGATE CS (PYQ pattern)
How many of the 2¹⁶ Boolean functions of four variables A, B, C, D depend essentially on all four variables (no variable is redundant)?
- A. 64594
- B. 64512
- C. 64608
- D. 64590
Correct answer: A. 64594
Inclusion-exclusion: 65536 − 4·2⁸ + 6·2⁴ − 4·2² + 2 = 64594. Stopping after the first correction gives 64512, after the second 64608, and a sign slip on the last term 64590.
More Digital Logic questions
- How many four-variable Boolean functions are both monotone and self-dual (f(x̄) = f(x)')?
- A Boolean function is symmetric if it is unchanged by every permutation of its inputs, and self-dual if f(x̄) = f(x)' for every input x…
- A Boolean function is monotone if f(x) ≤ f(y) whenever x ≤ y bitwise, and self-dual if f(x̄) = f(x)' for every x. There are 12 functions…
- How many Boolean functions f(A,B,C) are symmetric (unchanged under every permutation of A, B, C) and also depend essentially on all three…
- Which of the following sets of connectives (the input variables may be used freely) are functionally complete? I. {XOR, AND} II. {XOR…
- Which of the following are functionally complete? I. a 2:1 multiplexer used alone II. a 2:1 multiplexer together with the constants 0 and…