GATE Computer ScienceVery hardGATE CS
How many Boolean functions f(a, b, c, d) have an algebraic normal form (XOR of AND-monomials with coefficients 0 or 1) of degree exactly 3?
- A. 28672
- B. 30720
- C. 32768
- D. 2048
Correct answer: B. 30720
The ANF has 16 coefficients, one per monomial (1, 4 of degree 1, 6 of degree 2, 4 of degree 3 and 1 of degree 4). Functions of degree at most 3 leave the abcd coefficient 0: 2¹⁵ = 32768; those of degree at most 2 number 2¹¹ = 2048. Exactly degree 3: 32768 − 2048 = 30720.
More Digital Logic questions
- The function f = x1·x2 + x3·x4 + x5·x6 + x7·x8 is represented as a reduced ordered BDD with the variable order x1, x3, x5, x7, x2, x4, x6…
- The majority function of five variables (f = 1 when at least three inputs are 1) is represented as a reduced ordered BDD with the natural…
- A PLA implements three functions of A, B, C, D (A is the MSB) with a shared AND plane: f1 = Σm(0, 1, 2, 3, 8, 9, 10, 11, 12); f2 = Σm(0…
- Two 2-input NAND gates G1 and G2 are used. Both inputs of G1 come from the signals a, b, c (the same signal may be used on both inputs)…
- A 5-bit Galois LFSR for the polynomial x⁵ + x² + 1 shifts right on each clock; whenever the bit shifted out (the LSB) was 1, the shifted…
- A synchronous 3-bit counter has next-state equations D2 = Q1 ⊕ Q0, D1 = Q2 and D0 = Q1' (state Q2 Q1 Q0). Let c be the number of states in…