Digital account

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

Digital account

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which best describes a digital account?
A A personal record on a system that you log in to reach
B A free gift that anyone can open without logging in
2. Which is an example of a digital account?
A A poster stuck on the classroom wall
B Your school account that you log in to at school
3. What do you usually need to do to reach your email account?
A Log in
B Turn the screen brightness down
4. Which statement is true about game and social accounts?
A They are not accounts because they are only for fun
B They are digital accounts that hold your own information
5. Whose information does a digital account hold?
A Your own information
B Every user's information mixed together

Match the Pairs

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

Left columnRight column
1school account AA digital account is only reached by logging in, so a person cannot open it without a login.
2email account BA personal record on a mail system that holds your messages and needs a login to open
3You can have many accounts, each on a different system, such as school, email and games CDifferent accounts are separate records kept on different systems, each holding its own information.
4A game or social account holds your own profile and information and you log in to reach it Dmultiple accounts across multiple systems
5Anyone can open my school account without logging in. Egame and social accounts
6My email account and my game account are the same record on one system. FA login that gives you access to your own files and work on your school's system

Definitions

digital account

Fill in the Blanks

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

1.
_____(username, password)
2.
login(________, password)
3.
if _________: show_account()
4.
accounts = ["school", "email", "game"] ______(accounts[0])
5.
for _______ in accounts: login(account)

Spot the Error

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

Question 1
A account = school
B username = 'sam.k'
C password = 'Blue!Tree7'
D print('Log in to', account)
Question 2
A email == 'sam@mail.com'
B password = 'Kite#Rain42'
C login(email, password)
Question 3
A game_account = 'PixelPal'
B has_login = true
C if has_login:
D print('Welcome')
Question 4
A accounts = ['school', 'email']
B for a in accounts
C print('Log in to', a)
Question 5
A user = 'sam.k'
B pw = 'Blue!Tree7'
C if user = 'sam.k':
D print('Logged in')

Answer Key

Digital account
Section A: Quick Questions
Q1
A — A personal record on a system that you log in to reach
Q2
B — Your school account that you log in to at school
Q3
A — Log in
Q4
B — They are digital accounts that hold your own information
Q5
A — Your own information
Section B: Match the Pairs
Q1
school account → A login that gives you access to your own files and work on your school's system
Q2
email account → A personal record on a mail system that holds your messages and needs a login to open
Q3
You can have many accounts, each on a different system, such as school, email and games → multiple accounts across multiple systems
Q4
A game or social account holds your own profile and information and you log in to reach it → game and social accounts
Q5
Anyone can open my school account without logging in. → A digital account is only reached by logging in, so a person cannot open it without a login.
Q6
My email account and my game account are the same record on one system. → Different accounts are separate records kept on different systems, each holding its own information.
Section C: Definitions
Q1
digital account — A personal record kept on a system, like a school, email, game or social account, that you must log in to reach. Each account holds your own information.
Section D: Fill in the Blanks
Q1
login(username, password)
Q2
login(username, password)
Q3
if logged_in: show_account()
Q4
accounts = ["school", "email", "game"] logout(accounts[0])
Q5
for account in accounts: login(account)
Section E: Spot the Error
Q1
A — The account name is text, so it needs quotes. Without them Python looks for a variable called school. It should be account = 'school'.
Q2
A — A single = stores a value in a variable. == compares two values and does not save anything. It should be email = 'sam@mail.com'.
Q3
B — Python's true value is spelled True with a capital T. Lowercase true is not recognised. It should be has_login = True.
Q4
B — A for loop line must end with a colon. It should be for a in accounts:
Q5
C — An if statement checks the username, so it needs == to compare. A single = tries to assign. It should be if user == 'sam.k':