Docsity

Coding Theory - Midterm Exam 1 Question Paper | ECE 556, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
University of Illinois Fall 2004
ECE 556: First MidSemester Exam
Tuesday October 12, 2004, 8:30 a.m. – 9:50 a.m.
This is a open-text open-handwritten-notes examination. No printed materials other than the
textbook and Problem Sets and Solutions distributed in class are permitted. Calculators, laptop
computers, PDAs, iPods, cellphones, e-mail pagers, etc. are neither needed nor permitted.
This Examination contains three problems
1. (a) Either construct a (10,1) linear binary code with minimum distance 7
or prove that such a code cannot exist.
Either construct a (10,2) linear binary code with minimum distance 7
or prove that such a code cannot exist.
Either construct a (16,12) linear binary code with minimum distance 3
or prove that such a code cannot exist.
(b) Let Cdenote an (n, k) linear binary code with the property that the Hamming weight
of every codeword is a multiple of 4. Prove that Cis a subcode of its dual code C⊥, and
hence has rate ≤1
2.
(c) Let Cdenote an (n, k) linear binary code with the property that the columns of its parity-
check matrix Hare distinct vectors of odd Hamming weight. Show that the minimum
distance of the code is at least 4.
(d) In Problem 2 of Problem Set 3, you considered the ensemble Sof systematic linear
binary codes whose generator matrices are of the form G= [I|P] where Iis a k×k
identity matrix and Pis some k×(n−k) binary matrix, and proved that any nonzero
binary vector xof length neither belongs to none of the codes in S, or it belongs to
exactly 2(k−1)(n−k)codes in S.
Use this result to show that if dis an integer, 0 < d < n, such that
2(k−1)(n−k)
d−1
X
i=1 n
i<2k(n−k),that is,
d−1
X
i=1 n
i<2n−k,
then there exists a n (n, k) systematic linear binary code with minimum distance at least
d. This result is a version of the Gilbert bound for linear codes (cf. Chapter 12 of the
textbook).
pf2

Partial preview of the text

Download Coding Theory - Midterm Exam 1 Question Paper | ECE 556 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

University of Illinois Fall 2004

ECE 556: First MidSemester Exam

Tuesday October 12, 2004, 8:30 a.m. – 9:50 a.m.

This is a open-text open-handwritten-notes examination. No printed materials other than the textbook and Problem Sets and Solutions distributed in class are permitted. Calculators, laptop computers, PDAs, iPods, cellphones, e-mail pagers, etc. are neither needed nor permitted.

This Examination contains three problems

  1. (a) Either construct a (10, 1) linear binary code with minimum distance 7 or prove that such a code cannot exist.

Either construct a (10, 2) linear binary code with minimum distance 7 or prove that such a code cannot exist.

Either construct a (16, 12) linear binary code with minimum distance 3 or prove that such a code cannot exist.

(b) Let C denote an (n, k) linear binary code with the property that the Hamming weight of every codeword is a multiple of 4. Prove that C is a subcode of its dual code C⊥, and hence has rate ≤ 12. (c) Let C denote an (n, k) linear binary code with the property that the columns of its parity- check matrix H are distinct vectors of odd Hamming weight. Show that the minimum distance of the code is at least 4. (d) In Problem 2 of Problem Set 3, you considered the ensemble S of systematic linear binary codes whose generator matrices are of the form G = [I|P ] where I is a k × k identity matrix and P is some k × (n − k) binary matrix, and proved that any nonzero binary vector x of length n either belongs to none of the codes in S, or it belongs to exactly 2(k−1)(n−k)^ codes in S. Use this result to show that if d is an integer, 0 < d < n, such that

2 (k−1)(n−k)

d∑− 1

i=

n i

< 2 k(n−k), that is,

d∑− 1

i=

n i

< 2 n−k,

then there exists a n (n, k) systematic linear binary code with minimum distance at least d. This result is a version of the Gilbert bound for linear codes (cf. Chapter 12 of the textbook).

  1. Throughout this problem, F denotes the finite field GF(pm), p a prime, and α denotes a primitive element of this field.

(a) Assume that m > 1. Every nonzero element of F can be expressed as αi^ for some i, 0 ≤ i < pm^ − 1. For what choices of i is αi^ a nonzero field integer, that is, a nonzero element of GF(p)? (b) Let α ∈ GF(2^5 ) be a root of x^5 + x^2 + 1. Express α^7 , α^8 , and α^7 α^8 = α^15 as polynomials in α of degree 4 or less. (c) The norm of an element β ∈ F is defined to be N (β) = β · βp^ · βp 2 · · · βp m− 1

. (Compare Tr(β) = β + βp^ + βp

2

  • · · · + βp

m− 1 .) Prove that N (β) ∈ GF(p) and that N (·) maps F onto GF(p). If p = 5, m = 3 and α has minimal polynomial x^3 − 2 x − 3, what is the value of N (α)?

  1. (a) Let C(1)^ and C(2)^ denote linear cyclic codes of length n with generator polynomials g(1)(x)

and g(2)(x) respectively. Then the codes

C(3)^ = C(1)^ ∩ C(2)^ and C(4)^ = {a + b : a ∈ C(^1 ), b ∈ C(^2 )}

are also linear cyclic codes. Find their generator polynomials. (b) Let Ai denote the number of codewords of Hamming weight i in a linear binary cyclic code. i. Show that i·Ai is a multiple of n. (Note: In Problem 3 of Problem Set 3, you proved that, for any code,

i · Ai us a multiple of n. This result is stronger... ) ii. Show that if g(x) is not divisible by (x − 1), then Ai = An−i for 0 ≤ i ≤ n. (c) Show that if a (n, k) linear binary reversible cyclic code has minimum distance 3, then i. n is a multiple of 3. ii. There are exactly n/3 codewords of weight 3, and they are the cyclic shifts of 00 · · · 0100 · · · 0100 · · · 1 where the three 1s are separated by equal numbers of 0s. iii. The rate of the code is at least 13.