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 | |
|---|---|---|
| 1broadcast | ASends the same data packets from one source to many receivers at once | |
| 2unicast | BUnicast does not save bandwidth. It sends 500 separate copies. Broadcasting sends the same packets once to all viewers, which saves bandwidth. | |
| 3Broadcasting is one-to-many: one source sends one stream to all receivers | Cfor viewer in viewers: send(viewer, stream) | |
| 4Unicast needs a separate copy of the data for each receiver | Dsend_to_all(stream) | |
| 5A live match is sent to 500 viewers using 500 unicast copies to save bandwidth | EBroadcasting is one-to-many, so everyone receives the packets. A message for only one receiver should be sent by unicast. | |
| 6Broadcasting is used to send a private message to one person only | FSends a separate copy of the data to each individual receiver |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
broadcast — Sending the same data packets from one source to many receivers at once, instead of a separate unicast copy for each, which saves network bandwidth.broadcast(packet) # one copy reaches allfor device in devices:
unicast(device, packet)unicast(laptop, packet)
unicast(phone, packet)
unicast(tablet, packet)unicastCopies = len(devices)
broadcastCopies = 1if broadcastCopies < unicastCopies:
print("Less bandwidth used")