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 | |
|---|---|---|
| 1switch.port(3) | Arouter.link(school_lan, internet) | |
| 2switch.send(data, to="Printer") | Bswitch.connect(lab_pc1, lab_pc2, lab_printer) | |
| 3A switch connects devices on the same network, such as computers in a school lab | CA socket on the switch where one device is plugged in with a cable | |
| 4A router links different networks, but a switch only links devices within one network | DThe switch passes data only to the device it is meant for, not to every device | |
| 5switch.send(data, to="everyone") | EA switch does not send data to every device. It sends data only to the device it is meant for. | |
| 6switch.link(school_lan, internet) | FA switch does not link different networks. Linking a school network to the internet is the job of a router. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
network switch — A device that connects computers on the same network and sends data only to the device it is meant for, using its ports. A router links different networks.connect(laptop, switch)switch.forward(data, port)router.link(school_lan, internet)for device in ports:
if device == target:
send(data, device)connect(pc, cable, switch)