GATE Computer ScienceHardGATE CS (PYQ pattern)
A Boolean function f(A,B,C) is monotone if f(x) ≤ f(y) whenever x ≤ y bitwise. Of the 20 monotone functions of three variables (constants included), how many depend essentially on all three variables?
- A. 15
- B. 18
- C. 9
- D. 6
Correct answer: C. 9
Monotone functions on fewer variables: 2 constants, 3 single variables, and on each pair {x, y} the functions xy and x + y (6 in total). 20 − 2 − 3 − 6 = 9: they are ABC, A+B+C, the three-input majority, the three of the form x(y+z) and their three duals x + yz.
More Digital Logic questions
- How many of the 2¹⁶ Boolean functions of four variables A, B, C, D depend essentially on all four variables (no variable is redundant)?
- 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…