1 - WARM UP (5 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 (8 min)
Teachers: For this lesson and future lessons, plan to lead students in the TRIPR code reading strategy.
Pairs, Groups,
Whole Class
1
(5 min)
This week, we will be using variables. Let's think about some variables we may already know about.
How does a scoreboard work? What do the numbers mean?
A scoreboard ___________.
The numbers ___________.
Can you think of a game that keeps a score? How do you earn or lose points?
You earn points in the game ________
by ________.
You lose points in the game by ________.
(7 min)
Let's use TRIPR to learn about variables in the Let's Vote 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)
The programmer notices that when the white shoe is clicked, the total votes (the variable) increase.
What problem are they trying to fix with the black shoe?
How could you fix 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 to create a variable for the black shoes and link the results button to the results screen.
Design: Add an Image Element, or Change the Image Elements to your favorite sneakers.
Code: Add onEvent code or 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 keep score.
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 _______?