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 | |
|---|---|---|
| 1parity bit = 1 -> received byte has an odd number of 1s | Apacket = header + data + trailer(checksum) | |
| 2IF error found THEN request resend | BIF parity OK THEN data may still contain errors | |
| 3The error check travels with the data, so the receiver can compare it with the data that arrived | CA matching checksum does not guarantee there are no errors, because some errors can still be missed. | |
| 4A method can miss some errors, so a passed check does not prove the data is perfect | DDetect then resend: the receiver asks the sender to send the data again | |
| 5parity error found -> the receiver fixes the byte automatically | EDetection only shows that an error happened. It does not repair the byte, so the data must be resent. | |
| 6checksum matches -> the data is 100% error free | FAn error is detected, but the receiver does not know which bit is wrong, so the data is not repaired |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
error detection — Checking received data to show that an error has happened. It does not repair the data, so the receiver usually asks for it to be sent again. Some errors can still be missed.IF checkReceived <> checkCalculated THEN
OUTPUT "Error detected"
ENDIFIF errorFound = TRUE THEN
OUTPUT "Please send again"
ENDIFcheckValue ← CalculateCheck(data)
packet ← data + checkValue
SEND packetbitsChanged ← 2
missed ← (bitsChanged MOD 2) = 0
OUTPUT missedREPEAT
RECEIVE packet
UNTIL errorFound = FALSE