Personal data

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

Personal data

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which of these is an example of personal data?
A Your full name and birthday
B The colour of the sky today
2. True or false: Your home address is personal data.
A False
B True
3. A photo of you in your school uniform is...
A Personal data, because it shows who you are and maybe where you go
B Not personal data, because it is just a picture
4. Which piece of information tells someone where you are right now?
A Your location
B Your favourite number
5. When you create an online account, where is your personal data usually kept?
A Deleted as soon as you sign up
B Stored in the account by the company or service

Match the Pairs

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

Left columnRight column
1personal data Aaccount = {"name": "Mia", "photo": "mia.jpg", "address": "4 Oak St"}
2location = "Geelong, Victoria" BA piece of personal data showing where a person is or lives
3A name and a birthday are personal data because they identify a specific person Cname = "Mia Chen"; birthday = "12 May 2013"
4Personal data stored in an online account needs protecting so others cannot misuse it DInformation that identifies or relates to a specific person, like their name or birthday
5post("My address is 4 Oak St and my birthday is 12 May") EA photo that shows a person or their location is personal data, so it should not be treated as harmless.
6photo = "mia_school.jpg" # not personal data, share it with anyone FSharing an address and birthday publicly puts personal data at risk. Keep this information private.

Definitions

personal data

Fill in the Blanks

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

1.
_____________ = ["name", "address"]
2.
_____("Birthday is personal data")
3.
_______ = {"name": "Sam", "city": "Perth"} print(account["city"])
4.
__ location_on: print("Location is shared")
5.
print(___ False)

Spot the Error

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

Question 1
A name = "Mia
B birthday = "4 May"
C print("Name:", name)
Question 2
A name = "Sam"
B address = "5 Oak St"
C print("Address:" address)
Question 3
A account = {}
B account["name"] = "Lee"
C account["photo"] == "lee.jpg"
D print(account)
Question 4
A location = "Perth"
B is_personal = True
C if is_personal:
D prnt("Keep it private")
Question 5
A birthday = "4 May"
B share_online = False
C if share_online = True:
D print("Sharing", birthday)

Answer Key

Personal data
Section A: Quick Questions
Q1
A — Your full name and birthday
Q2
B — True
Q3
A — Personal data, because it shows who you are and maybe where you go
Q4
A — Your location
Q5
B — Stored in the account by the company or service
Section B: Match the Pairs
Q1
personal data → Information that identifies or relates to a specific person, like their name or birthday
Q2
location = "Geelong, Victoria" → A piece of personal data showing where a person is or lives
Q3
A name and a birthday are personal data because they identify a specific person → name = "Mia Chen"; birthday = "12 May 2013"
Q4
Personal data stored in an online account needs protecting so others cannot misuse it → account = {"name": "Mia", "photo": "mia.jpg", "address": "4 Oak St"}
Q5
post("My address is 4 Oak St and my birthday is 12 May") → Sharing an address and birthday publicly puts personal data at risk. Keep this information private.
Q6
photo = "mia_school.jpg" # not personal data, share it with anyone → A photo that shows a person or their location is personal data, so it should not be treated as harmless.
Section C: Definitions
Q1
personal data — Information that identifies or relates to a specific person, like their name, birthday, address, photos or location. It needs protecting because it is stored in online accounts.
Section D: Fill in the Blanks
Q1
personal_data = ["name", "address"]
Q2
print("Birthday is personal data")
Q3
account = {"name": "Sam", "city": "Perth"} print(account["city"])
Q4
if location_on: print("Location is shared")
Q5
print(not False)
Section E: Spot the Error
Q1
A — The string for the name is missing its closing quote. It should be name = "Mia".
Q2
C — There is a comma missing between the two items in print(). It should be print("Address:", address).
Q3
C — == compares values, so the photo is never stored in the online account. Use = to store it: account["photo"] = "lee.jpg".
Q4
D — The function name is misspelled as prnt, so Python does not know it. It should be print("Keep it private").
Q5
C — A single = assigns a value. An if statement needs == to compare: if share_online == True:.