0
1.9kviews
Convert binary data 1010 into 7 bit even parity hamming code

Mumbai University > Computer Engineering > Sem 3 > Digital Logic Design & Analysis

Marks: 2M

Year: Dec15

1 Answer
0
28views

Solution:

  1. For a 4-bit code there are 3 parity bits p1, p2 and p3at location 1, 2 and 4 respectively.

  2. So, the code will be: “p1 p2 n1 p3 n2 n3 n4” where, n1, n2, n3, n4 are bits of the code and p1, p2 and p3 are parity bits to be calculated

  3. The code for even parity is calculated as below:

enter image description here

  1. Therefore the even parity hamming code is: 1011010.
Please log in to add an answer.