Lesson 5
Interactions
In this lesson, students examine sensing blocks as a way to detect interactions in a Scratch project. They are then introduced to conditions as statements that can only be true or false and conditionals as commands that run only if a statement is true. Through a code tracing activity, the class evaluates the need for some conditionals to be looped. Finally, students apply their learning to their own project by creating draggable objects for their matching game.
Learning objective
Students will use conditional statements in their programs.
Standards
CSTA Standards
- 2-AP-12: Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.
- 2-AP-13: Decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs
Multi-lesson projects
Students will use the same project across multiple lessons.
Lesson contents
Want to teach this lesson?
Log in and get access to the full curriculum for free.
Scratch projects
Time travelers
Student resource
Log in to access
Multi-lesson project
Students will use the same project across multiple lessons