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)
What do you remember about events in the previous lesson's Foley Board project?
I remember _________.
How does an event cause an action in an app?
An event causes an action _________.
(7 min)
(3 min)
The programmer notices that when some of the next buttons are clicked, the screens do not change. They need to "debug," or fix, the program.
What is the problem with some of the 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 new video game 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 make buttons connect 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.