Consent when collecting personal data

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

Consent when collecting personal data

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Your class wants to collect classmates' favourite foods and names for a survey. What should you do first?
A Ask each person for permission
B Start collecting and tell them later
2. Which is a good way to get consent for a class survey?
A Explain why you need the data and how it will be used
B Just say it is for a school thing
3. A classmate says no to sharing their birthday for your project. What should you do?
A Ask again until they say yes
B Respect their answer and not collect it
4. True or false: Someone can say no when you ask for their personal data.
A True
B False
5. You want to collect personal data from students who are 9 years old. Who may also need to agree?
A A stranger online
B A parent or guardian

Match the Pairs

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

Left columnRight column
1consent AThe person said no, so you must not collect their data
2consent = "no" BPlease ask a parent or guardian to sign this form.
3Explain the purpose: tell people why you want their data and how it will be used CWe will use your answers to make a class chart.
4Parent or guardian consent: a young person's parent or guardian may also need to agree DBen's no was ignored. A person can say no and you must respect it.
5I wrote down my classmates' birthdays without asking them. ENo permission was asked. You must ask before collecting personal data.
6Ben said no, but I still collected his name. FAsking permission before collecting someone's personal data and explaining how it will be used

Definitions

consent

Fill in the Blanks

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

1.
_______ = ask_permission(person)
2.
_______________("to plan the class party")
3.
if consent == "__": stop_collecting()
4.
if age < 13: ____________()
5.
__ consent == "yes": collect_data()

Spot the Error

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

Question 1
A ok = input("Use your name? ")
B if ok = "yes":
C print("Thank you")
D else:
E print("No problem")
Question 2
A purpose = "a class survey"
B print("Used for " - purpose)
C ok = input("Is that OK? ")
Question 3
A age = 10
B needs_parent = age < 18
C if needs_parent:
D print("No need to ask")
Question 4
A ok = input("May I ask? "
B if ok == "yes":
C print("Asking now")
Question 5
A answer = "no"
B if answer == "no":
C collect = True
D print("Collect:", collect)

Answer Key

Consent when collecting personal data
Section A: Quick Questions
Q1
A — Ask each person for permission
Q2
A — Explain why you need the data and how it will be used
Q3
B — Respect their answer and not collect it
Q4
A — True
Q5
B — A parent or guardian
Section B: Match the Pairs
Q1
consent → Asking permission before collecting someone's personal data and explaining how it will be used
Q2
consent = "no" → The person said no, so you must not collect their data
Q3
Explain the purpose: tell people why you want their data and how it will be used → We will use your answers to make a class chart.
Q4
Parent or guardian consent: a young person's parent or guardian may also need to agree → Please ask a parent or guardian to sign this form.
Q5
I wrote down my classmates' birthdays without asking them. → No permission was asked. You must ask before collecting personal data.
Q6
Ben said no, but I still collected his name. → Ben's no was ignored. A person can say no and you must respect it.
Section C: Definitions
Q1
consent — Asking permission before collecting someone's personal data and explaining how it will be used. The person can say no. For young people, a parent or guardian may also need to agree.
Section D: Fill in the Blanks
Q1
consent = ask_permission(person)
Q2
explain_purpose("to plan the class party")
Q3
if consent == "no": stop_collecting()
Q4
if age < 13: ask_guardian()
Q5
if consent == "yes": collect_data()
Section E: Spot the Error
Q1
B — A single = assigns a value. To check the person's answer you need == so it reads: if ok == "yes":
Q2
B — You can't subtract text. Use + to join the words and the purpose so the person is told how their data will be used.
Q3
D — A person under 18 needs a parent or guardian to agree too. The program should say to ask a parent, not skip it.
Q4
A — The input( bracket is never closed. Add the closing ) at the end so the program can ask permission.
Q5
C — When someone says no, you must not collect their data. collect should be set to False.