1 - WARM UP (5 min)
2 - WE DO (5 min)
3 - UCSD DOES (5 min)
4 - TURN & TALK (3 min)
5 - WE DO (10 min)
6 - UCSD DOES (5 min)
7 - WE DO (10 min)
8 - YOU DO (15 min)
9 - REFLECT & SHARE (5 min)
Pairs, Groups,
Whole Class
1
(5 min)
This week, we will continue using variable, but in a new way. Let's think about some variables we may already know about.
What does the score variable you already know about do in an app?
The score variable ________ in an app
by ________.
Can you think of a way we use variables in math? What does a variable mean in an equation?
In math, a variable ________.
For example ________.
(5 min)
Let's use TRIPR to learn about variables in the Mad Libs app.
Click on the app, and click "View Code."
Locate the Title and read it.
Locate the Remix button and click it.
Locate the Instructions and read them.
Locate the Purpose and read it.
Locate the Run button and try the app!
What do you notice?
(5 min)
(3 min)
When the amusement park and beach images are clicked, they do not work correctly.
If the variables blocks are keeping track of information that creates a story, what could be wrong with the code on the two other screens?
How could you fix the stories?
Follow up with your partner.
Tell me more about ______.
Why do you think ______?
(5 min)
(10 min)
Open the Week 5 Student Hyperdoc provided by your teacher.
Click on one of the images to open the App Lab project.
Click on "View Code."
Sign in and click on "Remix" to create your own project copy.
Read the Instructions section at the top of the code to see what you need to fix.
(15 min)
Design: Add an Image Element
Code: Add Event code and playSound code
Last, make sure you have shared your project with your teacher using this week's hyperdoc.
Your project will automatically save in App Lab.
Pairs, Groups,
Whole Class
(5 min)
Today in App Lab, variables kept track of information that, when put together, told an adventure story.
Share your project and talk about your process in completing the task.
Today I _______. Let me show you...
What did you notice or wonder while working in App Lab today?
I noticed ________.
I wonder _______.
Why _______?