GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Among the C(16,3) = 560 four-variable Boolean functions with exactly three minterms, how many have a minimal sum-of-products that needs exactly two product terms?
- A. 560
- B. 208
- C. 120
- D. 352
Correct answer: D. 352
Three minterms need 2 terms exactly when two of them are adjacent (they merge into a 3-literal term) and the third is left as a minterm, and need 3 terms when no two are adjacent. Enumeration gives 352 with 2 terms and 208 with 3.
More Digital Logic questions
- 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…
- A single 2:1 multiplexer (output = s ? b : a) has each of its three inputs connected to one of 0, 1, x, y, z (no complemented literals)…