U4Ch1L2_Variables Investigate

Purpose: Students investigate three working examples of apps that make use of variables.

 Log Into: U4Ch1L2: Follow instruction from this page, but at the same time use the App. 

Activity: Level #1: Thermostat App. V.1_  

  1.  Go to the front board. Half the class will write the code for just the UpButton, and the other half of the class will write the code for just the DownButton. Much of the code that you will be writing, you have previously written .    Log onto Code.org, U3Ch1L5_Level6. This program contains many of the lines of code that you will need for this Thermostat Program (eg. On Event, Play Sound, Switch Screens, Set Text), so just copy and edit the lines you will need into this program. 
  2. In the last lesson, you became familiar with Variables, Values, Strings, Numbers, Operators and Expressions. But there are some new programming skills I will share with you now, inorder for this Thermostat Program to work.
  3. Play with the Thermostat App one more time. Think about what is occurring, now begin writing the program on the board. We will compare your program to the actual program in a few minutes.

Activity: Level #2: Thermostat App. V.2_This Activity shows the actual program for the Thermostat App.     

 Activity: Level #3: Thermostat App.

Activity: Level #4: Thermostat App.    

Activity: Level #5: Thermostat App.

Activity: Level #6: Thermostat _This is the program for the App. above.