GATE Computer ScienceHardGATE CSE
How many Boolean functions of 4 variables are symmetric, meaning unchanged under every permutation of the inputs?
- A. 32
- B. 16
- C. 64
- D. 31
Correct answer: A. 32
A symmetric function depends only on the number of 1s among the inputs (0 to 4), so it is fixed by 5 independent output bits: 2^5 = 32.
More Digital Logic questions
- A 6-bit shift register (bits Q6…Q1, shifting left) feeds back Q6 ⊕ Q4 ⊕ Q1 into Q1 on every clock. Starting from 000001, after how many…
- How many Boolean functions f(x,y,z) of three variables depend essentially on all three variables?
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- 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…