Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Flip (r1,c2) (r1,c6) (r4,c2) (r4,c6) | AFour changed bits at the corners of a rectangle. Every row and column parity still looks correct, so the parity block check misses the error. | |
| 2Row 3 wrong, column 5 wrong | BRow 2: 10110101 -> 11110001 | |
| 3Two bit changes in the same row cancel out in that row's parity, so the row check passes | CWrong rows: 2 and 4. Wrong columns: 3 and 6 | |
| 4With errors in two rows and two columns, the block cannot tell which bits changed | DOne wrong row and one wrong column mean a single error at their crossing point, not two errors. | |
| 54 flips in a rectangle -> parity block always catches it | EFour flipped bits at the corners of a rectangle keep every row and column parity correct, so the block check misses them. | |
| 6Row 2 wrong + column 5 wrong = two errors found | FPoints to one changed bit where row 3 and column 5 cross, so a single error can be located and corrected. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
four-corner error — Four flipped bits at the corners of a rectangle keep every row and column parity correct, so a parity block check misses the error. Only one error can be located reliably.IF rowFails = 0 AND colFails = 0 THEN
OUTPUT "No error found"
ENDIFcorners ← 4
OUTPUT "Parity looks correct"errorsInRow ← 2
IF errorsInRow MOD 2 = 0 THEN
rowCheck ← "passes"IF rowFails = 1 AND colFails = 1 THEN
OUTPUT "Error located at intersection"
ENDIFrowsChanged ← 2
colsChanged ← 2
bitsFlipped ← rowsChanged * colsChanged