Using public Wi-Fi safely

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

Using public Wi-Fi safely

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Data sent over public Wi-Fi can be seen by other people on the same network.
A True
B False
2. Which is the safer choice at a cafe using public Wi-Fi?
A Log in to your bank account to check your balance
B Avoid logging in to important accounts
3. Which Wi-Fi network is usually safer to use?
A An open network that anyone can join with no password
B A network that needs a password
4. You need to pay for an online order while out and about. What should you do?
A Use mobile data instead of public Wi-Fi
B Connect to the free airport Wi-Fi and enter your card details
5. Public Wi-Fi is fine for entering passwords because the network is free.
A False
B True

Match the Pairs

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

Left columnRight column
1Free Wi-Fi, no password AMaking a payment on public Wi-Fi is risky because card details sent over it could be seen by others.
2Wi-Fi with a password (WPA2) BA password-protected network that is safer than an open one, though it is still shared with other people
3Avoid logging in or paying on public Wi-Fi because others may see your data CAn open network that anyone nearby can join, so data sent over it can be seen by others
4Use mobile data as a safer choice for sensitive tasks when away from home DLogging in to a bank account on an open public Wi-Fi network means others could see the login details.
5connect("Cafe_Free_WiFi") login("bank") Eif task == "banking": connect("mobile data")
6if wifi == "public": pay("online shop") Fif network == "public": skip(login, payment)

Definitions

public Wi-Fi risk

Fill in the Blanks

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

1.
__ wifi == "public": print("Use mobile data")
2.
if wifi __ "public": login = False
3.
wifi = "public" login = _____ payment = False
4.
wifi = "public" mobile = ____ print("Pay using mobile data")
5.
if task == "login" __ task == "payment": print("Do not use public Wi-Fi")

Spot the Error

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

Question 1
A wifi = "Cafe_Free"
B is_open = True
C if not is_open:
D print("Avoid logins")
Question 2
A network = open
B if network == "open":
C use_mobile_data = True
Question 3
A task = "payment"
B on_public = true
C if on_public:
D print("Use mobile data")
Question 4
A public = True
B paying = True
C elif public and paying:
D print("Use mobile data")
Question 5
A def check_wifi(open_wifi)
B if open_wifi:
C return "Risky"
D return "Safer"

Answer Key

Using public Wi-Fi safely
Section A: Quick Questions
Q1
A — True
Q2
B — Avoid logging in to important accounts
Q3
B — A network that needs a password
Q4
A — Use mobile data instead of public Wi-Fi
Q5
A — False
Section B: Match the Pairs
Q1
Free Wi-Fi, no password → An open network that anyone nearby can join, so data sent over it can be seen by others
Q2
Wi-Fi with a password (WPA2) → A password-protected network that is safer than an open one, though it is still shared with other people
Q3
Avoid logging in or paying on public Wi-Fi because others may see your data → if network == "public": skip(login, payment)
Q4
Use mobile data as a safer choice for sensitive tasks when away from home → if task == "banking": connect("mobile data")
Q5
connect("Cafe_Free_WiFi") login("bank") → Logging in to a bank account on an open public Wi-Fi network means others could see the login details.
Q6
if wifi == "public": pay("online shop") → Making a payment on public Wi-Fi is risky because card details sent over it could be seen by others.
Section C: Definitions
Q1
public Wi-Fi risk — Data sent over public Wi-Fi can be seen by others, so avoid logging in or paying there. Use mobile data instead for sensitive tasks.
Section D: Fill in the Blanks
Q1
if wifi == "public": print("Use mobile data")
Q2
if wifi == "public": login = False
Q3
wifi = "public" login = False payment = False
Q4
wifi = "public" mobile = True print("Pay using mobile data")
Q5
if task == "login" or task == "payment": print("Do not use public Wi-Fi")
Section E: Spot the Error
Q1
C — The warning should show when the Wi-Fi is open. The condition should be 'if is_open:', not 'if not is_open:'.
Q2
A — The text open must be in quotes so it is a string. Without quotes Python looks for a variable called open. It should be network = "open".
Q3
B — In Python the Boolean value must be written with a capital T. It should be on_public = True.
Q4
C — An elif cannot start a decision without an if before it. The line should begin with if: 'if public and paying:'.
Q5
A — A function definition must end with a colon. It should be 'def check_wifi(open_wifi):'.