L/O1 To develop your understanding of data types
L/O2 To develop your understanding of variables
Outcomes: You will start to store personal data using variables in Python
Intro
What is an integer? Can you come up with three examples of data which could be stored as an integer?
Starter - 5 minutes
Just like Facebook stores specific data on you (name, birthday, phone number, etc), we will use Python to store data on us. But in order to store the data the computer needs to know the data type.
In teams, take a look at my data and see if you can match it to the data type using the helpsheet.
Q: What does variable mean?
In teams, take a look at my data and see if you can match it to the data type using the helpsheet.
Q: What does variable mean?
Main Tasks - 45 minutes
Red Task
- Over to you....
- Open Python and create a new file
- Open Lesson 3 on Google Classroom
- Have a go at storing some data on YOU using the variables on slide 24
- Don't forget to evidence this
- **You might need to use the feet/inches to centimetres sheet to convert your height!
Amber Task
Complete slides 1-9
Green Task
Red Task
- Over to you....
- Open Python and create a new file
- Open Lesson 3 on Google Classroom
- Have a go at storing some data on YOU using the variables on slide 24
- Don't forget to evidence this
- **You might need to use the feet/inches to centimetres sheet to convert your height!
Complete slides 1-9
Complete slides 10-19
Ext Task
Complete slides 20-28
Mini-Plenary - 5 minutes
- Which colour are you working on? Change cards so that I can see progress for Greens/Golds. How are you going to progress onto the next colour?
- Swap seats with a Test Buddy and check their code
Plenary - 5 minutes
Showcase and hand in!!
Which colour have you ended on?
Greens and Golds for progress
Plenary - 5 minutes
Showcase and hand in!!Which colour have you ended on?
Greens and Golds for progress
No comments:
Post a Comment