GATE Computer ScienceVery hardGATE CSE
Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating the output. How many NPN-equivalence classes do the 65536 functions of four variables form?
- A. 222
- B. 230
- C. 202
- D. 208
Correct answer: A. 222
Enumerating orbits under the 384 input transformations and output negation gives 222 classes.
More Digital Logic questions
- A Boolean function of 4 variables is bent if its Walsh–Hadamard spectrum has constant absolute value, i.e. it differs from every affine…
- A function is unate if, for each variable, it is either monotone increasing or monotone decreasing in that variable (a variable it ignores…
- A threshold function is f(x) = 1 iff w1·x1 + w2·x2 + w3·x3 ≥ T for some real weights and threshold. How many of the 256 Boolean functions…
- 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…
- 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…