GATE Computer ScienceVery hardGATE CSE · UGC NET
How many Boolean functions of 4 variables are both monotone (non-decreasing in every variable) and self-dual (f(x̄1,…,x̄4) = complement of f(x1,…,x4))?
- A. 12
- B. 16
- C. 8
- D. 20
Correct answer: A. 12
Brute force over all 65536 functions: self-duality forces f(x) ≠ f(x̄) for each of the 8 complementary pairs, and exactly 12 of those are also monotone.
More Digital Logic questions
- Five states of a sequential machine are encoded with distinct 3-bit codes. Two assignments are considered equivalent if one can be…
- A 3-bit Gray-code sequence lists all 8 codes exactly once, with consecutive codes differing in exactly one bit (the last need not be…
- A 3-bit synchronous circuit of D flip-flops has D2 = Q1, D1 = Q0 ⊕ Q2, D0 = NOT(Q2 · Q1). Starting from Q2Q1Q0 = 010, how many distinct…
- A Mealy machine has states A–G with (next state / output) entries for inputs 0 and 1: A: B/0, C/0; B: A/0, D/0; C: E/0, F/1; D: E/0, F/1…
- F(A,B,C,D) = A·C' + B·C + A'·C·D is implemented as a two-level AND–OR circuit with exactly these three product terms. Considering…
- F(A,B,C,D) = Σm(0, 1, 2, 5, 6, 7, 8, 9, 10, 14) + d(3, 12, 15). A minimal product-of-sums realisation (fewest total literals, using…