1.Add in the checkbits to the front of each of these lines of binary
1011001
1000110
1011111
1011011
1101100
1100010
2. With error checking (ex. checkbits), we are introducing redundancy into the data (ie. the extra bits at the front) so that we can see if some data was messed up when it be transmitted. This error checking comes at a cost of wasted space.
Assuming you have 8 bits, one of which is a checkbit; what percentage of the message is actual data and what percentage is error checking and redundant?
Is the percentage of redundancy involved in using a checkbit acceptable? When would it be acceptable? When wouldn’t it be?
How could we reduce the amount of redundant information (assuming 8 bits with one checkbit)?
3. Make these blocks into checkblocks.
| (a) | (b) | (c) |
| 1001001 1011010 1101010 0010101 |
0110101 1011101 0101101 1010101 |
1010010 1111101 0100011 1010111 |
4. Which bytes are in error? How do you know? (checkbit is at the front)
10111010
01011011
01111011
10000010
11110101
01101110
01010101
5. Which bit is incorrect? Use the checkbits at the left and bottom to help find them.
| (a) | (b) | (c) | (d) | (e) |
| 1010 0100 1111 0000 |
0101 1001 0010 1010 |
1111 1010 0110 0010 |
1110 1010 0110 1100 |
0110 1100 1001 1001 |
6. What is the difference between error detection and error correction?
7. If one bit is in error in a checkblock, we can both detect and correct it.
If two bits are in error in a checkblock, can we detect the error? Consider a variety of positions for the bits that are in error. What if they are side by side in a row? Side by side in a column? Both in the checkbits? In completely different rows and columns?
If two bits are in error in a checkblock, can we correct the error? Consider the same positions as before.
If three bits are in error, can we (a) detect it (b) correct it? Consider a variety of positions for the bits that are in error; in an L shape, a rotated L, in a line horizontal, in a line vertical, in the checkbits.
If four bits are in error, can you find a position that we cannot detect and cannot correct?