Choosing a safe username

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

Choosing a safe username

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which username is safer to use?
A BlueKoala42
B EmmaJones_Year6
2. Which username keeps your birthday private?
A Sam_12May2014
B SpeedyPanda
3. Which one should NOT be in a safe username?
A The name of your school
B A made-up nickname
4. True or false: Using your passphrase as your username is a safe idea.
A True
B False
5. Which username is safer?
A CoolFox_Gamer
B Liam2013Smith

Match the Pairs

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

Left columnRight column
1Username: SkyRunner42 AUsername: BlueKoala7
2Username: Mia_Chen_2013 BUsername: StarHopper9 / Passphrase: purple-tractor-melon-sings
3Use a nickname instead of your real name CAn unsafe username: it shows a full name and a birth year
4Your username must be different from your passphrase DA safe username: a nickname that does not show your full name, birthday, school or address
5Username: Liam_Smith_Year6_Hillview_PS EThe username is the same as the passphrase, so anyone who sees the username also knows the secret passphrase.
6Username: purple-tractor-melon-sings FIt shows a full name and the name of your school, so a stranger could work out where to find you.

Definitions

safe username

Fill in the Blanks

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

1.
nickname ← "StarKicker" username ← ________
2.
fullName ← "Ava Nguyen" IF username = ________ THEN SAY "Unsafe username"
3.
IF username CONTAINS _________ THEN SAY "Remove the number"
4.
IF username = __________ THEN SAY "Never do this!"
5.
username ← "StarKicker" safe ← username _ passphrase SAY safe

Spot the Error

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

Question 1
A address = "12 Park Street"
B username = address
C print("Username:", username)
Question 2
A nickname = "SamuelJamesCarter"
B username = nickname
C print("My username is", username)
Question 3
A username = "CoolCat2013"
B safe = "2013" not in username
C print("Safe?", safe)
Question 4
A nickname = "MoonOwl"
B school = "Ridge Primary"
C username = school
D print("Username:", username)
Question 5
A def is_safe(name):
B return "Ridge" in name
C print(is_safe("RedKite"))

Answer Key

Choosing a safe username
Section A: Quick Questions
Q1
A — BlueKoala42
Q2
B — SpeedyPanda
Q3
A — The name of your school
Q4
B — False
Q5
A — CoolFox_Gamer
Section B: Match the Pairs
Q1
Username: SkyRunner42 → A safe username: a nickname that does not show your full name, birthday, school or address
Q2
Username: Mia_Chen_2013 → An unsafe username: it shows a full name and a birth year
Q3
Use a nickname instead of your real name → Username: BlueKoala7
Q4
Your username must be different from your passphrase → Username: StarHopper9 / Passphrase: purple-tractor-melon-sings
Q5
Username: Liam_Smith_Year6_Hillview_PS → It shows a full name and the name of your school, so a stranger could work out where to find you.
Q6
Username: purple-tractor-melon-sings → The username is the same as the passphrase, so anyone who sees the username also knows the secret passphrase.
Section C: Definitions
Q1
safe username — A username that does not show your full name, birthday, school or address. Use a nickname, leave out your birth year, and never use your passphrase as your username.
Section D: Fill in the Blanks
Q1
nickname ← "StarKicker" username ← nickname
Q2
fullName ← "Ava Nguyen" IF username = fullName THEN SAY "Unsafe username"
Q3
IF username CONTAINS birthYear THEN SAY "Remove the number"
Q4
IF username = passphrase THEN SAY "Never do this!"
Q5
username ← "StarKicker" safe ← username ≠ passphrase SAY safe
Section E: Spot the Error
Q1
B — A safe username never shows your address. Line 2 should use a nickname like "BlueFox" instead of the address.
Q2
A — Line 1 uses a full name. A safe username uses a made-up nickname such as "SkyTiger" instead.
Q3
A — The username has a birth year (2013) in it, which gives away personal information. It should leave the year out: "CoolCat".
Q4
C — A safe username must not include your school. Line 3 should set username to the nickname.
Q5
B — The check is the wrong way round. A safe username must NOT contain the school name, so it should say not in.