# Hamming code problem

Discussion in 'Electronics Homework Help' started by riyasharma, Oct 2, 2012.

1. ### riyasharma

4
0
Oct 2, 2012
Encode binary digits 1011 into even parity 7-bit hamming code.
Check for no error.
Assuming error in D7 bit, determine the error position and correct it.

CAN ANYONE HELP ME!!!!

2. ### (*steve*)¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥdModerator

25,505
2,852
Jan 21, 2010
Hello and welcome to Electronics Point.

We don't give answers to homework, but we try to point you along the right way.

Where are you stuck? Did the thread that you previously posted into offer any assistance?

3. ### riyasharma

4
0
Oct 2, 2012
hey can you explain the second part of question i posted i can't understand that!!

4. ### (*steve*)¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥdModerator

25,505
2,852
Jan 21, 2010
You have to:

1) convert that 4 bit value into it's hamming code equivalent
2) Using this value verify the correctness of the value
3) Flip bit D7 then go through the process of correcting the resulting code.

5. ### riyasharma

4
0
Oct 2, 2012
I have done the first step and answer to this is 0110011.
Do i have to check error in this?I mean is the error 010 i.e D2 ?
And after assuming error in D7 and flipping value repeat the steps again ?

Last edited: Oct 2, 2012
6. ### (*steve*)¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥdModerator

25,505
2,852
Jan 21, 2010
First step -- OK (I'll assume that is correct)

Next step -- Yes, you have to check for errors. What do you think you'll find?

Last step. Yep, repeat it. Now what do you think you'll find?

4
0
Oct 2, 2012