1 - WARM UP (2 min)
2 - UCSD DOES (7 min)
3 - TURN & TALK (3 min)
4 - WE DO (10 min)
5 - UCSD DOES (5 min)
6 - WE DO (10 min)
7 - YOU DO (20 min)
8 - REFLECT & SHARE (5 min)
Pairs, Groups,
Whole Class
1
(2 min)
Complete the sentence frame for an event using your own words.
When _________, then _________.
How do events help you change screens in the Fun Facts about Among Us app?
When we clicked _________,
then _________.
(7 min)
(3 min)
The programmer notices that when the first image element is clicked, the screen changes and the back button causes the home screen to appear.
What is the problem with the other two events?
Can you think of how you might debug these events?
Share your ideas with a partner.
I think ______ because ______.
Maybe I could______so _______.
(5 min)
(10 min)
Open the Week 1 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)
Design: Change one of the images to a different Filipino food image.
Code: Add onEvent code or add a 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 events to connect buttons to the correct screen.
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 _______?
Standards Alignment: CSTA 1B-AP-10, 1B-AP-15. California CS 3-5.AP.12, 3-5.AP.17.