GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A Boolean function is symmetric if it is unchanged by every permutation of its inputs, and self-dual if f(x̄) = f(x)' for every input x. How many functions are both symmetric and self-dual (a) among functions of five variables and (b) among functions of four variables?
- A. (a) 8, (b) 4
- B. (a) 8, (b) 0
- C. (a) 32, (b) 16
- D. (a) 4, (b) 2
Correct answer: B. (a) 8, (b) 0
A symmetric function is fixed by its values v0..vn on input weights 0..n. Self-duality forces v(n−k) = v(k)'. For n = 5 the weights pair up as (0,5), (1,4), (2,3), so 2³ = 8 choices. For n = 4 weight 2 pairs with itself, demanding v2 = v2', which is impossible, so the count is 0.
More Digital Logic questions
- A Boolean function is monotone if f(x) ≤ f(y) whenever x ≤ y bitwise, and self-dual if f(x̄) = f(x)' for every x. There are 12 functions…
- How many Boolean functions f(A,B,C) are symmetric (unchanged under every permutation of A, B, C) and also depend essentially on all three…
- Which of the following sets of connectives (the input variables may be used freely) are functionally complete? I. {XOR, AND} II. {XOR…
- Which of the following are functionally complete? I. a 2:1 multiplexer used alone II. a 2:1 multiplexer together with the constants 0 and…
- A two-level AND-OR circuit realises F(A,B,C,D) = A'C'D + AB'C' + ABD + BCD'. What is the minimum number of extra product terms that must…
- F(A,B,C,D) = AB' + A'C + BD is implemented in AND-OR form. Which pair of extra product terms, when added, removes all static-1 hazards?