GATE Computer ScienceVery hardGATE CSE · UGC NET
A Boolean function of 4 variables is bent if its Walsh–Hadamard spectrum has constant absolute value, i.e. it differs from every affine function in exactly 6 or 10 of the 16 input positions. How many bent functions of 4 variables are there?
- A. 448
- B. 896
- C. 1792
- D. 832
Correct answer: B. 896
Exhaustive check of all 65536 functions against the 32 affine functions finds 896 bent functions (all of degree 2).
More Digital Logic questions
- A function is unate if, for each variable, it is either monotone increasing or monotone decreasing in that variable (a variable it ignores…
- A threshold function is f(x) = 1 iff w1·x1 + w2·x2 + w3·x3 ≥ T for some real weights and threshold. How many of the 256 Boolean functions…
- How many Boolean functions of 4 variables are both monotone (non-decreasing in every variable) and self-dual (f(x̄1,…,x̄4) = complement of…
- Five states of a sequential machine are encoded with distinct 3-bit codes. Two assignments are considered equivalent if one can be…
- A 3-bit Gray-code sequence lists all 8 codes exactly once, with consecutive codes differing in exactly one bit (the last need not be…
- A 3-bit synchronous circuit of D flip-flops has D2 = Q1, D1 = Q0 ⊕ Q2, D0 = NOT(Q2 · Q1). Starting from Q2Q1Q0 = 010, how many distinct…