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.

school
Grade 8
local_library
Subject Social studies
schedule
Length of lesson 50 minutes

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