Explore BrainMass

# Error in Code

Not what you're looking for? Search our solutions OR ask your own Custom question.

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

If no two strings in a code differ in fewer than three positions, the we can actually correct a single error, by finding the unique string in the code that differs from the received string in only one position. It turns out that there is a code of 7-bit strings that corrects single errors and contains 16 strings. Find such a code.

Hint: Reasoning it out is probably best, but if you get stuck, write a program that searches for the string.

From the example in the book - the strings would be like ASCII sequence of bits - whereby ASCII has a seven bit code and then a parity bit placed on the front for error detecting.

Â© BrainMass Inc. brainmass.com November 24, 2021, 11:22 am ad1c9bdddf
https://brainmass.com/math/discrete-math/finding-code-string-characteristics-25365

#### Solution Preview

Solution:

The code of length n = 7 bits (with a total of 16 strings or codewords) that can detect and correct a single error bit can be found as

1st string ...

#### Solution Summary

The solution shows how to find a code with the given string characteristics.

\$2.49