Choosing wired or wireless for a device

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

Choosing wired or wireless for a device

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A desktop computer sits on the same desk in the school lab every day. Which connection suits it best?
A Wireless
B Wired
2. A tablet is carried from classroom to classroom. Which connection suits it best?
A Wireless
B Wired
3. The school printer stays in a fixed spot in the library. Which connection is a good choice?
A Wired
B Wireless
4. Which device is the better match for a wireless connection?
A A lab desktop that never moves
B A tablet you carry between rooms
5. Which reason is a good one for choosing wired?
A The device stays in one place and needs a steady link
B The device is carried around all day

Match the Pairs

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

Left columnRight column
1Lab desktop -> wired AA device that is carried between rooms should connect without a cable.
2Tablet -> wireless BA tablet gets carried around, so a cable would limit where it can go. It should be wireless.
3A printer that sits in one fixed spot needs a steady link, so choose a cable. CA computer that stays on one desk and needs a steady link should use a cable.
4A device you carry around should not be tied to a cable, so choose wireless. DPrinter in the library corner -> wired
5Tablet moved between classrooms -> wired EA printer that stays in one place needs a steady link, so it should be wired, not wireless.
6Printer fixed in one spot -> wireless FTablet carried to the art room -> wireless

Definitions

wired or wireless

Fill in the Blanks

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

1.
connect("lab desktop", "_____")
2.
connect("tablet", "________")
3.
device = "printer" connect(device, "_____")
4.
IF moves = true THEN link = "wireless" ____ link = "wired"
5.
device = "printer" moves = _____ link = "wired"

Spot the Error

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

Question 1
A device ← "lab desktop"
B stays_put ← false
C connection ← "wired"
D PRINT connection
Question 2
A device ← "tablet"
B carried ← false
C connection ← "wireless"
D PRINT connection
Question 3
A IF in_fixed_spot = false THEN
B connection ← "wired"
C ELSE
D connection ← "wireless"
E END IF
Question 4
A device ← "tablet"
B moves_rooms ← true
C IF moves_rooms = true THEN
D connection ← "wired"
E ELSE
F connection ← "wired"
Question 5
A FUNCTION pick()
B IF moves THEN RETURN "wireless"
C ELSE RETURN "wired"

Answer Key

Choosing wired or wireless for a device
Section A: Quick Questions
Q1
B — Wired
Q2
A — Wireless
Q3
A — Wired
Q4
B — A tablet you carry between rooms
Q5
A — The device stays in one place and needs a steady link
Section B: Match the Pairs
Q1
Lab desktop -> wired → A computer that stays on one desk and needs a steady link should use a cable.
Q2
Tablet -> wireless → A device that is carried between rooms should connect without a cable.
Q3
A printer that sits in one fixed spot needs a steady link, so choose a cable. → Printer in the library corner -> wired
Q4
A device you carry around should not be tied to a cable, so choose wireless. → Tablet carried to the art room -> wireless
Q5
Tablet moved between classrooms -> wired → A tablet gets carried around, so a cable would limit where it can go. It should be wireless.
Q6
Printer fixed in one spot -> wireless → A printer that stays in one place needs a steady link, so it should be wired, not wireless.
Section C: Definitions
Q1
wired or wireless — Pick wired for a device that stays in one place and needs a steady link, like a lab desktop or printer. Pick wireless for a device you carry around, like a tablet.
Section D: Fill in the Blanks
Q1
connect("lab desktop", "wired")
Q2
connect("tablet", "wireless")
Q3
device = "printer" connect(device, "wired")
Q4
IF moves = true THEN link = "wireless" ELSE link = "wired"
Q5
device = "printer" moves = false link = "wired"
Section E: Spot the Error
Q1
B — A lab desktop stays in one place, so stays_put should be true. That is why it gets a wired connection.
Q2
B — A tablet is carried between classrooms, so carried should be true. That is why wireless suits it.
Q3
A — A printer in a fixed spot should get the wired branch. The test must be in_fixed_spot = true, not false.
Q4
D — A tablet that moves between rooms needs wireless. Line 4 should set connection to "wireless".
Q5
A — The function checks moves, so moves must be a parameter. It should be FUNCTION pick(moves).