Username and password
A username identifies who you are and can be shared. A password proves it is really you, so keep it secret and never share it. You use both together when logging in.
Understanding Username and password in Years 5–6 Digital Systems
What it does: Logging in needs two things: the username identifies the account and the password proves it is you. A password must stay secret. If someone else knows it, they can pretend to be you. Never share your password, even with friends. Anyone who has it can pretend to be you. Usernames can be shared, but passwords cannot. If someone learns your password, change it to keep your account safe. A password is the secret proof of identity, so it is hidden on screen and never shared.
Common mistakes: The string is missing its closing quote. It should be username = "sam_k". The variable name is misspelled. The username variable is called username, so the line should be print("Welcome " + username).
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 31–40) 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.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
username and passwordFill in the Blanks
Spot the Error
Student with a class code? Join your class →