GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Among the C(16,4) = 1820 four-variable Boolean functions with exactly four minterms, how many have a minimal sum-of-products with exactly two product terms?
- A. 24
- B. 1216
- C. 352
- D. 376
Correct answer: C. 352
Two terms covering exactly four minterms must be two disjoint K-map edges (two 2-minterm cubes). There are 32 edges, C(32,2) = 496 pairs, of which 16·C(4,2) = 96 share a vertex, leaving 400 disjoint pairs. A 2-face (single term AB-type, 24 of them) contains 2 such pairs, so 48 pairs give a 1-term function. Any other 4-set has at most one perfect matching by edges (two would form a 4-cycle, i.e. a face), so the count is 400 − 48 = 352.
More Digital Logic questions
- Among the C(16,3) = 560 four-variable Boolean functions with exactly three minterms, how many have a minimal sum-of-products that needs…
- Among all C(16,4) = 1820 four-variable functions with exactly four minterms, for how many does the minimal sum-of-products need four…
- How many non-zero three-variable Boolean functions have exactly six prime implicants?
- Of the 16 Boolean functions f(x, y) of two variables, how many are associative, i.e. f(f(x,y),z) = f(x,f(y,z)) for all x, y, z?
- Of the 16 binary operations ∘ on {0, 1}, for how many is ∘ associative AND has a two-sided identity element e (e ∘ x = x ∘ e = x for both…
- A three-input majority gate has each input connected to one of 0, 1, x, y, z, x', y' or z'. How many distinct Boolean functions of x, y, z…