IB Computer Science Year 1 Standard Level - May 18 2018 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) (Created page with " __NOTOC__ <table cellspacing="10" style="width:100%;"> <tr> <td style="width:50%; margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1...") |
Mr. MacKenty (talk | contribs) |
||
Line 5: | Line 5: | ||
==[[File:class_plan.png]] What are we going to learn today?== | ==[[File:class_plan.png]] What are we going to learn today?== | ||
Today's class will be a real-world coding exercise. | Today's class we will review our test and we will be working through a real-world coding exercise. | ||
1. Copy this code into whatever you are running python in: | 1. Copy this code into whatever you are running python in: | ||
Line 12: | Line 12: | ||
credentials = {'joe':'mypassword', 'anna':'annpassword', 'pawel':'password123!'} | credentials = {'joe':'mypassword', 'anna':'annpassword', 'pawel':'password123!'} | ||
# this would be a good place to consider consent. | |||
name = input("Please enter your name: ") | name = input("Please enter your name: ") | ||
Line 27: | Line 28: | ||
Please | 2. Please understand how this code works. I'll go over it with you. | ||
3. Please [https://www.eugdpr.org/key-changes.html review this page on the GDPR] | |||
4. Please design and implement: | |||
4.1 A function to get consent to process data. This consent must be stored. | |||
4.2 A function to remove consent. | |||
4.3 A function that realizes "the right to be forgotten" | |||
Revision as of 13:27, 18 May 2018
|
|
|
|
|
|
|