500 views
1 votes
1 votes

For two n-bit strings x, y ∈ {0, 1}n, define z := x ⊕ y to be the bitwise XOR of the two strings (that is, if xi, yi, zi denote the i-th bits of x, y, z respectively, then zi = xi + yi mod 2). A function h : {0, 1}n → {0, 1}n is called linear if h(x ⊕ y) = h(x) ⊕ h(y), for every x, y ∈ {0, 1}n. The number of such linear functions for n ≥ 2:

 

  1. 2^n
  2. 2^2n
  3. 2^(n+1)
  4. n

Please log in or register to answer this question.

Related questions

3 votes
3 votes
3 answers
1
vivek_mishra asked Feb 15, 2021
575 views
Let G(V,E) be a simple graph. Let G’(V,E’) be a graph obtained from G such that (u,v) is an edge in G’ if (u,v) is not an edge in G. Which of the following is true?...