Coding Theory - Exam
Coding Theory - Exam
FAMNIT
Exam
Coding Theory
8.7.2021.
1. (a) Find all codewords, the minimum distance and a parity-check ma-
trix for the binary linear code of type (5, 3) defined by the gener-
ator matrix
0 1 0 0 1
G = 0 0 1 0 1 .
1 0 0 1 1
(b) State the ball packing bound for any q-ary [n, M, d]-code.
(c) For each of the following triples determine whether a perfect bi-
nary [n, M, d]-code exists:
3. (a) Define a BCH code over GF (q) of block length n and designed
distance δ. Then, write down the BCH bound.
(b) A binary BCH code C of length 15 has α3 , α4 , α5 among its roots,
where α belongs to a suitable finite field extension GF (q). De-
termine the dimension of C and a lower bound for its minimum
distance.
(c) Let C1 and C2 be cyclic codes of block length n generated by g1 (x)
and g2 (x), respectively. The intersection of cyclic codes is cyclic.
Find the generator polynomial of C1 ∩ C2 .
4. Consider the BCH code C with the block length n = 31 and generator
polynomial g(x) = 1 + x3 + x5 + x6 + x8 + x9 + x10 having the roots
αi for i = 1, 2, 3, 4. Here α is a root of the irreducible polynomial
x5 + x2 + 1 which generates GF (25 ). Suppose the received vector r is
given as r(x) = x2 + x7 + x8 + x11 + x12 , where exactly 2 errors have
occurred.
S +S 3
(a) Using the fact that S1 = r(α) = α7 and 3S1 1 = α15 , where S1 =
r(α) and S3 = r(α3 ), write down the error locator polynomial
Λ(x). What is the interpretation of the roots of Λ(x)?
(b) Write down the error polynomial e(x) and decode r(x).
(c) Under which conditions (given in terms of Si = r(αi )) a single
error occurs only?