GATE Computer ScienceEasyGATE CS (PYQ pattern)
A Boolean function f(x, y, z) is monotone if a ≤ b componentwise implies f(a) ≤ f(b). How many monotone functions satisfy f(1, 0, 0) = 0 and f(0, 1, 1) = 1?
- A. 6
- B. 4
- C. 20
- D. 9
Correct answer: D. 9
f(1,0,0) = 0 forces f(0,0,0) = 0; f(0,1,1) = 1 forces f(1,1,1) = 1. Only f(0,1,0) ≤ f(1,1,0) and f(0,0,1) ≤ f(1,0,1) remain free, each a monotone pair with 3 choices (00, 01, 11), so 3 × 3 = 9.
More Discrete Mathematics questions
- A Boolean function f of four variables is self-dual if f(x̄₁, x̄₂, x̄₃, x̄₄) = ¬f(x₁, x₂, x₃, x₄) for every input, and monotone if a ≤ b…
- Out of the 16 binary Boolean operators, how many are BOTH commutative and associative?
- Which of the following sets of connectives are functionally complete? I. {→, ⊥} II. {↔, ⊕} III. {→, ⊕} IV. {∧, ∨, →} V. {↛, ⊤} (↛ is 'p…
- Which of the following sets of connectives are functionally complete (no constants may be used unless they can be built from the…
- Which of the following first-order formulas are valid (true in every interpretation over every non-empty domain)? I. ∃x(P(x) → Q(x)) ↔ (∀x…
- Which of the following first-order formulas are valid? I. ∀x(P(x) ∨ Q(x)) → (∀x P(x) ∨ ∃x Q(x)) II. (∃x P(x) ∧ ∃x Q(x)) → ∃x(P(x) ∧ Q(x))…