An (8, 4) linear block code is constructed by shortening a (15, 11) Hamming code generated by the…

An (8, 4) linear block code is constructed by shortening a (15, 11) Hamming code generated by the generator polynomial g(X) = X4 + X + 1.

a. Construct the codewords of the (8, 4) code and list them.

b. What is the minimum distance of the (8, 4) code?