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 | |
|---|---|---|
| 1timely delivery | ALate or missing packets are skipped rather than resent, so the call keeps running in real time | |
| 2UDP for a live video call | BThis applies guaranteed delivery to a live call. Waiting for resends makes the audio late and useless. Timely delivery skips lost packets to keep up. | |
| 3In an online game, a packet arriving late is worthless, so it is better to skip it than wait for a resend | Cif packet.arrivedLate: discard(packet) | |
| 4Guaranteed delivery resends lost packets, which adds delay, so timely delivery trades it away for speed | Dresend_lost_packets = False | |
| 5Live call: pause audio until every lost packet is resent so nothing is missed | EData arrives quickly enough to still be useful, even if some packets are lost along the way | |
| 6Timely delivery means every single packet must arrive, however long it takes | FThis describes guaranteed delivery. Timely delivery means data arrives quickly enough to be useful, even if some packets are lost. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
timely delivery — Data arrives quickly enough to be useful, even if some packets are lost. Live calls and games favour speed over guaranteed delivery, so late or missing packets are skipped, not resent.while callActive:
packet = receive()
play(packet)for packet in callStream:
if packet.late:
continuegameMode = "live"
resendLost = Falseif mode == "live":
protocol = "UDP"if arrivalTime > deadline:
drop(packet)