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 | |
|---|---|---|
| 1Sent: 01000001 Received: 01000011 | ASent: 11001100 (8 bits) Received: 11001000 (8 bits) | |
| 2Sent: 'A' Received: 'C' | BSent: 1 0 1 1 0 0 1 0 Received: 1 0 1 0 0 0 1 0 | |
| 3Comparing the sent and received bits position by position shows which bit was altered | CThe sent and received bits are identical, so nothing has changed and the data arrived correctly. | |
| 4In data change the length stays the same: 8 bits are sent and 8 bits arrive, but one value is wrong | DOnly 3 bits arrived instead of 4, so a bit was lost. That is data loss, not data change. | |
| 5Sent: 1010 Received: 101 -> data change | EData change: one bit has flipped from 0 to 1, so the same number of bits arrived but one value is wrong | |
| 6Sent: 0110 Received: 0110 -> data change | FA changed character: the letter that arrived is different from the letter that was sent |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
data change — Bits arrive altered, such as a 0 flipping to a 1, so the same amount of data arrives but with wrong values. Comparing sent and received bits shows it.Sent: 01000001
Received: 01000011
Error type: data changeIF sent <> received THEN
OUTPUT "Data change"
ENDIFIF LENGTH(sent) = LENGTH(received) THEN
OUTPUT "Same amount of data"
ENDIFSent bit: 0
Received bit: 1
Bit flipped from 0 to 1FOR i ← 1 TO 8
IF sent[i] <> received[i] THEN
OUTPUT "Bit changed"