1 - WARM UP (5 min)
2 - WE DO (3 min)
3 - UCSD DOES (6 min)
4 - TURN & TALK (5 min)
5 - WE DO (10 min)
6 - UCSD DOES (6 min)
7 - WE DO (5 min)
8 - YOU DO (20 min)
9 - REFLECT & SHARE (5 min)
Pairs, Groups,
Whole Class
1
(5 min)
This week, we will be using variables in our code. Let's think about what we may already know about variables.
Can you think of a game that keeps a score? How does it keep track of the points?
A game that keeps score is ________.
The game keeps track of points by ________.
We will also be programming with if-then-else code blocks.
What happens when you use a strong password for your computer? Otherwise (else), what happens?
If _________ then __________.
Else __________.
(3 min)
Let's use TRIPR to learn about variables in the How Strong is Your Password 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!
(6 min)
(5 min)
In TRIPR, we ran the app How Strong is Your Password. Explain how the app works in your own words. Use transition words like "first," "next," and "last."
In SEEC, the programmer identifies the two ways variables are used in the app. What is one way a variable keeps track of information?
Partner A: Ask a question
Partner B: Answer the question
Partner A: "I see what you're saying. I also think..."
Switch Roles & Repeat for Question #2
(6 min)
(5 min)
Open the Week 1 Student Hyperdoc.
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 different characters to the password checker app that could make even stronger passwords.
Pairs, Groups,
Whole Class
(5 min)
Today in App Lab, we used if-then-else and variables to test password strength.
Partner A: Share your project and talk about your process.
Today I _______. Let me show you...
Partner B: Respond to your partner with feedback.
I see you were able to ________.
Can you tell about how you ________?
Switch roles!