Problem Set 3
Problem Set 3
PROBLEM SET 3
Codes
1. Express the following decimal numbers in (i) 8421 BCD code, (ii) XS-3 code, (iii) 2421 code, (iv) 5211 code
10. Detect and correct the errors, if any, in the even parity Hamming code words and write the correct code
(a) 1100110 (b) 0011101 (c) 0111110 (d) 1010111
11. (a) Given the 8-bit data word 10111001, generate the 12- bit composite word for the Hamming code
that corrects and detects single errors.
(b) A 12-bit Hamming code word containing 8 bits of data and 4 parity bits is read from memory. What is the
original 8-bit word if the 12-bit read out is as follows?
(i) 1100 1010 0110
(ii) 0011 0110 0101
(iii) 1010 1001 1101