CODING INNOVATIONS
LESSON 6: VARIABLES AND DATA TYPES
TODAY'S MISSION
ACTIVITY 1: WHAT DO YOU KNOW ABOUT IT?
Accounting and Discussion Forum
DO THIS ACTIVITY AS SOON AS YOU ARRIVE TO CLASS. DO NOT WAIT FOR OTHERS TO ARRIVE!
BELLRINGER #1
BELLRINGER #2
ACTIVITY 2: GET READY FOR ITPreparing Your Journal
Create a Lesson 6 page in your Innovations Journal. See the example below. As we go through the activities today, make notes of anything you find interesting or things that you learned.
|
TERMS TO KNOW
Data: Information your code works with
Variable: Memory space for storing things; think of variables as boxes with labels on them, that you can put stuff in. That stuff might be numbers, text, an Image, etc... String type: a sequence of characters, like words or sentences Ex) state = "Alabama" Integer type: a whole number that can be positive, negative, or zero and no decimals or fractions Ex) zipcode = 35173 String data type: a real number with a decimal point or a fraction Ex) temperature = 98.6 Boolean values: true or false Ex.) cool = true Branching: an if condition or decision points in coding Comparison operators: testing different conditions > Greater than < Less than == Equal to != Not equal to >= Greater than or Equal to <= Less than or Equal to Reboot: to start over |
Read All Directions
Read this whole paragraph before taking any action!
Today you will begin real coding in Python! But before we get started, we need to talk about some things that will help you.
Today you will begin real coding in Python! But before we get started, we need to talk about some things that will help you.
|
ACTIVITY 3: DO IT
CodeSpace 2.6 - 2.17
YOUR ON YOUR OWN NOW!
Today, work on your own in CodeSpace until you get to Lesson 2.15. When you get to Lesson 2.15 Stop and raise your hand. A teacher will come to you and show you how to download your code and hook up your battery pack to the micro:bit. Do not do this without a teacher. It will cost you 50 units if you do! YIKES!!!
Click on the CodeBot Icon on the right to get started.
Today, work on your own in CodeSpace until you get to Lesson 2.15. When you get to Lesson 2.15 Stop and raise your hand. A teacher will come to you and show you how to download your code and hook up your battery pack to the micro:bit. Do not do this without a teacher. It will cost you 50 units if you do! YIKES!!!
Click on the CodeBot Icon on the right to get started.
ACTIVITY 4: YOU DID IT!
Let's think about all that you have learned today. Write your reflections of today's lesson in your Innovations Journals.
- Describe at least one thing you learned today.
- Discuss something that you liked about today's lesson.
- Name one thing that you need explained because you did not fully understand.