Unique passphrase for each account

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

Unique passphrase for each account

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which is the safer way to protect your email, your school account and your gaming account?
A Use a different passphrase for each account
B Use the same passphrase for all three accounts
2. A gaming site you use has a data breach. What should you do first?
A Change that account's passphrase straight away
B Wait a few months to see if anything happens
3. Why is it risky to use the same passphrase on two accounts?
A If one account is breached, criminals can try it on the other account
B Your device will run more slowly
4. Which account should get your strongest and most carefully chosen passphrase?
A A old game you have not played for years
B Your main email account, because it can reset other accounts
5. Which is a good way to make several passphrases you can remember?
A Use one passphrase and only add the number 1 or 2 on the end
B Pick a different set of random words for each account and picture a silly story for each one

Match the Pairs

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

Left columnRight column
1email_account = "purple-turtle-sings-loud" bank_account = "seven-tiny-boats-wave" Agame_pass = "blue-koala-jumps-high"
2all_accounts = "purple-turtle-sings-loud" BOne passphrase is reused for every account, which is risky if it is leaked
3Rank accounts by importance so the most important ones, like email and banking, get the strongest unique passphrases Cimportance = ["bank", "email", "game"]
4After a breach, change the leaked passphrase straight away to a new, different one DTwo accounts use the same passphrase. Give each account its own different passphrase.
5school_pass = "cat-hat-sun-map" shop_pass = "cat-hat-sun-map" EEach account has its own different passphrase, so one leak does not open the others
6game_pass = "leaked-pass-1" # breach happened, keep using it FThe passphrase was leaked in a breach but not changed. It should be changed straight away to a new unique one.

Definitions

unique passphrase

Fill in the Blanks

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

1.
IF emailPass __ bankPass THEN SAY "Change one passphrase" END IF
2.
____ accounts BY importance SAY accounts[1]
3.
IF breach = ____ THEN changePassphrase(account) END IF
4.
FOR ____ account IN accounts createPassphrase(account) END FOR
5.
passphrase = ____(word1, word2, word3) SAY passphrase

Spot the Error

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

Question 1
A email = "blue-frog-jump-tree"
B bank = "red-cup-sing-moon"
C game = bank
D print("Each one is different")
Question 2
A accounts = ["email", "bank", "game"]
B for a in accounts
C print("New passphrase for " + a)
Question 3
A scores = {"bank": 10}
B scores["email"] = 9
C scores["shop"] = 5
D scores["game"] == 1
Question 4
A a = ["blue", "frog", "jump"]
B b = ["tall", "owl", "eat"]
C email = "-".join(b)
D game = "-".join(b)
Question 5
A breach = true
B if breach:
C print("Change passphrase now")

Answer Key

Unique passphrase for each account
Section A: Quick Questions
Q1
A — Use a different passphrase for each account
Q2
A — Change that account's passphrase straight away
Q3
A — If one account is breached, criminals can try it on the other account
Q4
B — Your main email account, because it can reset other accounts
Q5
B — Pick a different set of random words for each account and picture a silly story for each one
Section B: Match the Pairs
Q1
email_account = "purple-turtle-sings-loud" bank_account = "seven-tiny-boats-wave" → Each account has its own different passphrase, so one leak does not open the others
Q2
all_accounts = "purple-turtle-sings-loud" → One passphrase is reused for every account, which is risky if it is leaked
Q3
Rank accounts by importance so the most important ones, like email and banking, get the strongest unique passphrases → importance = ["bank", "email", "game"]
Q4
After a breach, change the leaked passphrase straight away to a new, different one → game_pass = "blue-koala-jumps-high"
Q5
school_pass = "cat-hat-sun-map" shop_pass = "cat-hat-sun-map" → Two accounts use the same passphrase. Give each account its own different passphrase.
Q6
game_pass = "leaked-pass-1" # breach happened, keep using it → The passphrase was leaked in a breach but not changed. It should be changed straight away to a new unique one.
Section C: Definitions
Q1
unique passphrase — A different passphrase for every account, so if one is leaked in a breach, criminals cannot use it to get into your other accounts. Change it straight away after a breach.
Section D: Fill in the Blanks
Q1
IF emailPass == bankPass THEN SAY "Change one passphrase" END IF
Q2
SORT accounts BY importance SAY accounts[1]
Q3
IF breach = TRUE THEN changePassphrase(account) END IF
Q4
FOR EACH account IN accounts createPassphrase(account) END FOR
Q5
passphrase = JOIN(word1, word2, word3) SAY passphrase
Section E: Spot the Error
Q1
C — The game account reuses the bank passphrase. Each account needs its own unique passphrase, so it should be game = "tall-owl-eat-sand".
Q2
B — A for loop line must end with a colon. It should be for a in accounts: so every account gets a new passphrase.
Q3
D — == compares values and does not store the importance score. Use = to assign the score: scores["game"] = 1.
Q4
C — Both accounts now get the same passphrase because they use the same word list. The email passphrase should be built from list a.
Q5
A — Python's Boolean value is True with a capital T. Lowercase true is not defined, so it should be breach = True.