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 | |
|---|---|---|
| 1IF parity_ok THEN send ACK ELSE send NAK | Asent 10110010, received 10011010, parity OK -> send ACK | |
| 2WHILE NOT ack_received: resend packet | BARQ needs a separate error check such as parity or a checksum to find errors. ARQ only controls the ACK, NAK and resending. | |
| 3ARQ cannot find an error that its check misses, for example two flipped bits that leave even parity unchanged | CThe receiver uses a separate error check (here parity) to decide whether to accept the data or ask for a resend | |
| 4On a very noisy link many packets fail the check, so there are many resends and the transfer is slow | DNAK received -> attempts = attempts + 1 -> resend | |
| 5ARQ detects errors by itself, so no parity or checksum is needed | EEvery failed check makes the sender send the packet again, which adds waiting time and repeated sending | |
| 6Noisy link -> ARQ sends each packet once -> transfer is faster | FA noisy link causes more errors, so ARQ must resend packets many times and the transfer becomes slower. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
ARQ limits — ARQ resends data when a separate check finds an error, so it misses errors that check misses, and a noisy link causes many resends that slow the transfer.IF parityOK = FALSE THEN SEND NAKIF checksumRx = checksumCalc THEN SEND ACKIF reply = "NAK" THEN RESEND packetresends ← resends + 1totalTime ← sends * sendTime