GATE Computer ScienceVery hardGATE CS (PYQ pattern)
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 of four variables that are both. How many functions of five variables are both monotone and self-dual?
- A. 7581
- B. 168
- C. 81
- D. 24
Correct answer: C. 81
A monotone self-dual function on n variables is the same as a 'maximal intersecting family' of subsets. One way: f(x5 = 0) = g and f(x5 = 1) = h must satisfy g ≤ h (monotone) and h = g^d (the dual of g, by self-duality), so the count equals the number of 4-variable monotone g with g ≤ g^d. Enumerating the 168 monotone 4-variable functions gives 81 (the sequence runs 1, 2, 4, 12, 81 for n = 1..5). 168 counts monotone 4-variable functions; 7581 counts monotone 5-variable functions.
More Digital Logic questions
- 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…
- A two-level AND-OR circuit realises F(A,B,C,D) = A'C'D + AB'C' + ABD + BCD'. What is the minimum number of extra product terms that must…
- F(A,B,C,D) = AB' + A'C + BD is implemented in AND-OR form. Which pair of extra product terms, when added, removes all static-1 hazards?
- A static-1 hazard-free sum-of-products circuit is required for F(A,B,C,D) = Σm(1,2,4,6,8,9,12,15): every pair of adjacent 1-cells must lie…