1 - WARM UP (2 min)
2 - WE DO (7 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 (20 min)
9 - REFLECT & SHARE (5 min)
Pairs, Groups,
Whole Class
1
(2 min)
What do you remember about variables in the Let's Vote project from the previous lesson?
I remember _________.
What does a variable do in an app?
A variable _________.
(7 min)
Let's use TRIPR to learn about variables in the Ghost Festival 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!
Play the easy and hard levels. What do you notice?
(5 min)
(3 min)
The programmer notices that when the whistling emoji is clicked, the score (the variable) increases.
What problem are they trying to fix with the cake and the broom?
How could you debug the variable?
Connect with your partner after they share.
That's an interesting idea. I think ______.
What I think is similar/different to you because _________.
(5 min)
(10 min)
Open the Week 3 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.
(20 min)
Add code blocks and update variables to add to the score or subtract from the score. Make the Hard setting go faster.
Add code blocks and update variables to add to the score or subtract from the score. Make the Hard setting go faster.
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, we used a variable to make the score increase or decrease.
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 _______?