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 | |
|---|---|---|
| 1error detection | AData can be damaged by interference in transit, so arriving does not mean it is correct. It must be checked. | |
| 2corrupted file | BThe receiver cannot see the original data, so it cannot compare directly. It must use an error detection check instead. | |
| 3The receiver cannot see the original data, so it needs a check to tell whether the data was damaged | Cif error: request_resend() | |
| 4Detecting an error is the first step to fixing it, so a failed check leads to a request to send again | DA file whose data was changed or damaged in transit, so it no longer matches what was sent | |
| 5Data arrives, so it must be correct. No check needed. | EChecking received data to find out whether it was damaged on its way from the sender | |
| 6The receiver compares the data with the sender's original copy. | Fif check_failed: error found |
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, because it can be damaged in transit and the receiver cannot see the original. Spotting the error is the first step to fixing it.IF checkReceived <> checkSent THENOUTPUT "Error detected"RECEIVE message FROM sender
errorFound ← FALSEIF checkReceived <> checkSent THEN
errorFound ← TRUE
ENDIFIF errorFound THEN OUTPUT "Resend"