GATE Computer ScienceVery hardGATE CS (PYQ pattern)
How many Boolean functions f(a,b,c,d) satisfy BOTH f(a,b,c,d) = f(b,a,c,d) and f(a,b,c,d) = f(c,d,a,b) for all inputs?
- A. 64
- B. 4096
- C. 512
- D. 1024
Correct answer: A. 64
The two symmetries generate swapping a↔b, swapping c↔d (conjugate one by the other) and exchanging the pairs. Under this group of order 8 the 16 inputs fall into 6 classes, determined by the multiset {weight of (a,b), weight of (c,d)}: {0,0},{0,1},{0,2},{1,1},{1,2},{2,2}. So 2^6 = 64. Using only the first symmetry gives 4096; forgetting that c↔d is implied gives 512.
More Digital Logic questions
- A divide-by-50 circuit (one output pulse cycle per 50 clock cycles) is built as (i) a ring counter, (ii) a Johnson counter, (iii) a binary…
- A function is given as f(A,B,C,D) = Σm(0, 2, 5, 7, 8, 10, 13, 15). Its minimal sum-of-products expression is:
- A 5-bit Johnson (twisted-ring) counter is reset to 00000 and clocked continuously with the feedback Q4' → D0. How many of the 32 possible…
- F = AB + B'C is realised as a two-level NAND-NAND circuit. With A = C = 1, input B changes from 1 to 0 and the output momentarily glitches…
- A sequence detector must output 1 whenever the last four input bits are 1011, with overlapping occurrences allowed. What are the minimum…
- An 8-bit ALU adds the two's complement numbers A = 10110110 and B = 11001101. What are the carry-out C and the signed-overflow flag V of…