Computers and tablets on a network

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Computers and tablets on a network

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which of these can join a network?
A A laptop
B A paper notebook
2. A tablet can send and receive data on a network.
A False
B True
3. What must a laptop do before it can join a network?
A Connect by cable or wireless
B Just be switched on and sitting near the router
4. Which one is a desktop computer?
A A small flat touchscreen you carry around
B A computer with a separate screen and keyboard that stays on a desk
5. Which statement is correct?
A Laptops and tablets are both devices that can be on a network
B Only desktop computers can be on a network

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1network device AThe tablet is not connected, so it cannot send data. It must join the network first, for example with tablet.connect(network).
2laptop.connect(wifi) BA computer, laptop or tablet that joins a network so it can send and receive data
3A tablet can join a network, but only after it is connected Cdesktop.plugIn(cable)
4A desktop computer can join a network using a cable DA laptop joins the network wirelessly so it can send and receive data
5tablet.send(photo) // not connected to any network EA pencil is not a network device. Only computers, laptops and tablets can join a network and send or receive data.
6network = [desktop, laptop, tablet, pencil] Ftablet.connect(network)

Definitions

network device

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
_______(tablet, "SchoolWiFi")
2.
IF tablet.connected = ____ THEN send(tablet, "photo.jpg") END IF
3.
tablet.connect("ClassWiFi") data ← tablet._______() show(data)
4.
IF ___ laptop.connected THEN connect(laptop, "HomeWiFi") END IF
5.
networkDevices ← [desktop, laptop, ______]

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A device ← "laptop"
B connect(device "wifi")
C join(network, device)
Question 2
A device ← "tablet"
B connect(device, wifi)
C join(network, device)
D send(device, "hello")
Question 3
A connected ← false
B IF connected = true THEN
C send(device, "file")
D END IF
Question 4
A device ← "desktop
B connect(device, "cable")
C join(network, device)
Question 5
A device ← "tablet"
B connect(device, "wifi")
C join(network, devise)

Answer Key

Computers and tablets on a network
Section A: Quick Questions
Q1
A — A laptop
Q2
B — True
Q3
A — Connect by cable or wireless
Q4
B — A computer with a separate screen and keyboard that stays on a desk
Q5
A — Laptops and tablets are both devices that can be on a network
Section B: Match the Pairs
Q1
network device → A computer, laptop or tablet that joins a network so it can send and receive data
Q2
laptop.connect(wifi) → A laptop joins the network wirelessly so it can send and receive data
Q3
A tablet can join a network, but only after it is connected → tablet.connect(network)
Q4
A desktop computer can join a network using a cable → desktop.plugIn(cable)
Q5
tablet.send(photo) // not connected to any network → The tablet is not connected, so it cannot send data. It must join the network first, for example with tablet.connect(network).
Q6
network = [desktop, laptop, tablet, pencil] → A pencil is not a network device. Only computers, laptops and tablets can join a network and send or receive data.
Section C: Definitions
Q1
network device — A computer, laptop or tablet that joins a network so it can send and receive data. It must be connected by cable or wireless first.
Section D: Fill in the Blanks
Q1
connect(tablet, "SchoolWiFi")
Q2
IF tablet.connected = true THEN send(tablet, "photo.jpg") END IF
Q3
tablet.connect("ClassWiFi") data ← tablet.receive() show(data)
Q4
IF NOT laptop.connected THEN connect(laptop, "HomeWiFi") END IF
Q5
networkDevices ← [desktop, laptop, tablet]
Section E: Spot the Error
Q1
B — The comma between the two arguments is missing. It should be connect(device, "wifi") so the laptop connects by wifi before it joins the network.
Q2
B — The connection type is text, so it needs quote marks. Without them wifi looks like a variable that does not exist. It should be connect(device, "wifi").
Q3
A — A device must be connected to join a network. If connected is false, the IF never runs and the file is never sent. Line 1 should set connected ← true.
Q4
A — The text is missing its closing quote mark. It should be device ← "desktop".
Q5
C — The variable name is misspelled. The tablet was stored in device, so line 3 should be join(network, device).