1 - Warm-Up (5 min)
2 - UCSD Does (5 min)
3 - We Do (10 min)
4 - UCSD Does (4 min)
5 - Turn & Talk (5 min)
6 - We Do (10 min)
7 - You Do (20 min)
8 - Reflect & Share (5 min)
Pairs, Groups, Whole Class
1
(5 min)
Let's think about some ways we use conditionals, like if-thens, at school.
What conditions would make you feel prepared for the school day?
If _________(condition), then I will be ready for the school day.
What conditions would make you feel unprepared for the school day?
If _________(condition), then I will not be ready for the school day.
2
(5 min)
4
(4 min)
5
(5 min)
In the TIPP video, the programmer looks at the clothing data collection. What are the two things that need to be "debugged" in the project?
In the SEE video, the programmer notices the if-then blocks and what is inside them. What code blocks cause the blue shirt to only show when the cursor is hovering over the blue pie slice?
Partner A: Ask a question
Partner B: Answer the question
Partner A: "Let me see if I understand. You think...Is that correct?"
Switch Roles & Repeat for Question #2
7
(20 min)
Open the Week 4 Student Hyperdoc provided by your teacher.
Open the project under the "You Do" section in your hyperdoc.
Play the project.
Fix the code so the pie chart shows the correct images and labels when the mouse touches colors of the pie chart.
Instead of 1 tank top, 4 t-shirts, 1 jacket, and 3 long sleeve shirts, change the number of each item in the "say" blocks. See what happens!
Do More:
Instead of 9 people, change the total of people to a new amount. Program each piece of the pie chart so it represents part of your new total.
Make sure you have shared your project with your teacher using your hyperdoc.
File -> Save to your computer to save your program for later.
(How To)
8
(5 min)
Today, we used if-thens to show the correct image only when the cursor is hovering over it.
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!
Standards Alignment: CSTA 1B-AP-10, 1B-AP-15. California 3-5.AP.12, 3-5.AP.17.