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 | |
|---|---|---|
| 1buffering | AThis describes broadcasting. Streaming sends packets from a server to one viewer, not to every device. | |
| 2adjust bitrate | BThe player pauses and stores incoming packets ahead of playback, so a slow or late packet does not stop the video | |
| 3Streaming is often sent with UDP because dropping a late packet is better than pausing to resend it | Cstream_type = on-demand | |
| 4On-demand streaming sends a stored file to one viewer, who can start playing it before the whole file has arrived | Dprotocol = UDP | |
| 5Streaming: download the entire file first, then press play | EThis describes downloading, not streaming. Streaming plays packets as they arrive, without waiting for the whole file. | |
| 6Streaming sends the same packets to every device on the network at once | FThe server lowers or raises the amount of data sent each second to match the viewer's current connection speed |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
streaming — Sending packets continuously from a server to one viewer, who plays them as they arrive instead of waiting for the whole file to download.stream = openStream(url, protocol="UDP")buffer = 1.5
if buffer < 2:
pause()packet = latest if isLive else nextOneif bandwidth < bitrate:
bitrate = bitrate / 2while stream.isOpen:
packet = stream.receive()
play(packet)