← Years 5–6 Digital Systems

Passphrase

A password made of several unrelated words that is long but easy to remember. You can add numbers or symbols to make it stronger.

Understanding Passphrase in Years 5–6 Digital Systems

What it does: Four unrelated words joined together make a long passphrase that is easy to remember but hard to guess. The number 42 and the symbol ! have been added to a group of random words, which makes the passphrase stronger. Numbers and symbols add extra variety, so the passphrase is harder to guess. A passphrase is made of several words, not just one.

Common mistakes: The variable holding the passphrase is called passphrase, not passphrase2. Python would give a NameError. It should be print(passphrase). A for loop line must end with a colon. It should be for w in sentence.split():.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 41–52) and word search (Modules 21–52).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
Which is a passphrase?
purple-tractor-melon-skyPurple1
Matches
Sam2012
↓
This is not a passphrase. It is a short password using a name and a year, which is easy to guess. Use several unrelated words instead.
Applying
Meanings
Term
passphrase
Meaning
A password made of several unrelated words that is long but easy to remember. You can add numbers or symbols to make it stronger.
Practice
Passphrase: purple-tiger-bicycle-cloud-47!
Testing
Gaps
= "purple-tiger-cloud-boat"
Check Answer
Spots
3passphrase += "42"
4print(passphrase2)

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Silverback Gorilla' badge — Savannah Master, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. Which is a passphrase?
A. Purple1
B. purple-tractor-melon-sky ✓
A passphrase joins several unrelated words, which makes it long but easy to remember.
2. What makes a passphrase strong?
A. It is short and uses one common word
B. It is long and uses several unrelated words ✓
Length and unrelated words make a passphrase hard to guess.
3. Which words make the best passphrase?
A. Random words that do not belong together ✓
B. Words from your name and birthday
Unrelated words are hard for others to guess. Personal details are easy to find out.
4. How can you make a passphrase even stronger?
A. Add numbers or symbols ✓
B. Make it shorter
Numbers and symbols add extra variety, so the passphrase is harder to guess.
5. A passphrase can be built from a memorable sentence. Which is a true example?
A. The sentence 'My cat eats 3 green apples' becomes Mycat3greenapples ✓
B. The sentence 'My cat eats 3 green apples' becomes 123
Taking the words from a sentence gives a long passphrase you can still remember.

Match the Pairs

purple-Teapot-runs-87 → A passphrase that combines random, unrelated words and adds numbers and a symbol to make it stronger
Myd0gEats2Pies! → A passphrase built from a memorable sentence, using the first letters or words plus numbers and a symbol
A passphrase is made by combining several random, unrelated words → cloud-banana-rocket-pencil
You can make a passphrase stronger by adding numbers or symbols → frog-lamp-ocean-42!
Sam2012 → This is not a passphrase. It is a short password using a name and a year, which is easy to guess. Use several unrelated words instead.
my-name-is-sam-and-i-like-cats → The words are related and form a personal sentence that is easy to guess. Use unrelated words instead, such as from your own memorable sentence.

Key Term

passphrase
A password made of several unrelated words that is long but easy to remember. You can add numbers or symbols to make it stronger.

Fill in the Blanks

1. passphrase = "purple-tiger-cloud-boat"
Hint: Type the variable name for a password made of several unrelated words that is long but easy to remember
2. passphrase = word1 + word2 + word3
Hint: Type the operator that joins the random words together into one long passphrase
3. words = "blue-frog-tree" passphrase = words + number + symbol
Hint: Type the variable name for the digits that are added to make the passphrase stronger
4. sentence = "My dog likes red apples" passphrase = sentence.replace(" ", "-")
Hint: Type the method name that swaps the spaces in a memorable sentence for dashes
5. passphrase = "purple-tiger-cloud-boat" if len(passphrase) >= 16: print("Long and strong")
Hint: Type the comparison operator that checks the passphrase is at least a certain length

Spot the Error

Question 1
A words = ["frog","lamp","tea"]
B passphrase = "".join(words)
C passphrase += "42"
D print(passphrase2)
Line D — The variable holding the passphrase is called passphrase, not passphrase2. Python would give a NameError. It should be print(passphrase).
Question 2
A sentence = "I eat 3 red pies"
B letters = ""
C for w in sentence.split()
D letters += w[0]
E print(letters)
Line C — A for loop line must end with a colon. It should be for w in sentence.split():
Question 3
A import random
B words = ["moon","tree","bus"
C pick = random.sample(words,3)
D passphrase = "-".join(pick)
E print(passphrase)
Line B — The list of random words is missing its closing square bracket. It should end with ].
Question 4
A passphrase == "pig-rain-kite"
B if len(passphrase) >= 12:
C print("Long enough")
D else:
E print("Add more words")
Line A — A single = stores the passphrase in a variable. == only compares values, so passphrase would not exist. It should be passphrase = "pig-rain-kite".
Question 5
A words = ["pen","sky","fox"]
B passphrase = " ".join(words)
C passphrase = passphrase + 7
D print(passphrase)
Line C — Numbers and symbols added to a passphrase must be text. 7 is not in quotes, so Python cannot add it to a string. It should be + "7!" or + "7".

Student with a class code? Join your class →