GATE Computer ScienceHardGATE CS (PYQ pattern)
A Boolean function f is self-dual if f(x̄) = f(x)' for every input x. How many self-dual functions of three variables A, B, C depend essentially on all three variables?
- A. 10
- B. 16
- C. 8
- D. 6
Correct answer: A. 10
The 8 inputs form 4 complementary pairs, so there are 2⁴ = 16 self-dual functions. Those that ignore a variable are self-dual functions of fewer variables: only the 6 literals A, B, C, A', B', C' (no constant is self-dual and the 2-variable self-dual ones are literals too). 16 − 6 = 10.
More Digital Logic questions
- How many Boolean functions f(A,B,C,D) are self-dual (f(x̄) = f(x)' for every input x) and can also be written as a single product of…
- F(A,B,C,D) = 1 exactly when the unsigned number ABCD (A is the MSB) is a prime. How many literals are there in the minimal sum-of-products…
- What is the minimum number of 2-input NOR gates needed to realise A XOR B when only the true inputs A and B are available?
- F(A,B,C,D,E) = E + (A ⊕ B ⊕ C ⊕ D). How many literals does the minimal sum-of-products of F contain?
- F(A,B,C,D,E) = Σm(1,4,5,10,11,14,16,17,21,25,26,28,30). How many literals are in its minimal sum-of-products?
- F(A,B,C,D,E) = Σm(1,2,3,5,6,8,9,11,12,13,15,19,21,23,24,26,27,30). How many prime implicants does F have?