# hw9_09 - Department of Electrical and Computer Engineering...

This preview shows pages 1–2. Sign up to view the full content.

Department of Electrical and Computer Engineering The Johns Hopkins University 520.137 Introduction to Electrical and Computer Engineering – Fall 2009 Homework Assignment IX Reading Assignment: Kuc Chapter 7 1. Consider the following (5 , 2) ECC code which contains a mixture of parity and repetitive bits: M 1 M 2 P 1 P 2 P 3 where the two repetitive bits are P 1 = M 1 and P 2 = M 2 whereas the parity bit is P 3 = M 1 M 2 . (a) Construct a table of all valid code-words. (b) What is the minimum Hamming distance between the valid code-words? What is the maximum Hamming distance between the valid code-words? How many bit-error(s) can we detect? How many bit-error(s) can we correct? (c) Another (5 , 2) ECC code is constructed as follows: M 1 M 2 P 1 P 2 P 3 where P 1 = M 1 M 2 , P 2 = M 1 M 2 , and P 3 = M 1 + M 2 . Again, construct a table of all valid code-words. (d) What is the minimum Hamming distance for this ECC code? What is the maximum Hamming distance between the valid code-words? How many bit-error(s) can we detect?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.
• Winter '06
• tracdtran
• Hamming Code, Error detection and correction, Parity bit, Department of Electrical and Computer Engineering The Johns Hopkins University, valid code-words

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern