Professional Documents
Culture Documents
U2L2 VariableInvestigationGuide
U2L2 VariableInvestigationGuide
Directions: Use this activity guide to record your thoughts and responses to the prompts, all
marked by bullet points below.
Level 1
● How does the app work?
____________________________________________________________
Level 2
Complete the following prompts for both sections of code
Lines 1-12
● Explain what the section does.
● Call out any lines of code you thought were interesting or confusing.
Lines 14-21
● Explain what the section does.
● Call out any lines of code you thought were interesting or confusing.
____________________________________________________________
Variables Investigate Activity Guide
Level 3
● How do you think Math.round works?
● Try deleting Math.round in lines 3, 15, and 28. What happens? Add it back in.
● Delete the space in between the quotation marks and the letter "F" in line 4.
How does this change what is displayed on the screen?
____________________________________________________________
Level 4
● What new information is being stored?
____________________________________________________________
Level 5
Investigate the code for this new version of the Thermostat App.
● What code has been changed?
● What's happening on line 40? Hover over the getText() block in the toolbox
to read its documentation.