IB Computer Science Year 1 Standard Level - May 18 2018 Lesson Notes
What are we going to learn today?[edit]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: credentials = {'joe':'mypassword', 'anna':'annpassword', 'pawel':'password123!'}
# this would be a good place to consider consent.
name = input("Please enter your name: ")
if name in credentials:
password = input("Please enter your password: ")
if credentials[name] == password:
print("Correct password")
print("We can now continue on with our program")
else:
print("incorrect password")
else:
print("We don't have that user in our system.")
3. Please 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"
|
What is our home learning?[edit] |
How am I being assessed today?[edit]I will assess you formatively today, and make a professional judgement to what extent you understand our learning material. I will use observation, your written work, answers to questions, and contribution to class discussions as data to make my decisions. I normally record my observations in a "evidence of learning" spreadsheet, which I will happily share with you privately if you so wish. I usually need a day or two notice. I will also ask you to complete a self-assessment which I will use to help me guage how well you think you understand our material in class. |
|
As a computer scientist, you have:[edit]
|
|
Credits[edit] |