Students will soon learn that events are a great way to add flexibility to a pre-written algorithm. Sometimes you want your program to be able to respond to the user exactly when the user wants it to. Events can make your program more interesting and interactive.
Today, students will learn to distinguish events and actions. The students will see activities interrupted by having a "button" pressed on a paper remote. When seeing this event, the class will react with a unique action. Events are widely used in programming and should be easily recognizable after this lesson.
Students will be able to:
- repeat commands given by an instructor.
- recognize the movements of the teacher as signals to initiate commands.
- practice differentiating pre-defined actions and event-driven ones.
Note: You will need to create a free account on code.org before you can view this resource.