Lesson 3 - Events and Actions
Lesson 3 - Events and Actions
Students are asked to look at the difference between events and actions with an
introduction to conditional statements. Students are then guided through adding
Overview
an event and action to the car game to allow it to collide with a cone and the cone
disappears.
Ignite
Students are asked to look at the different snippets of text and identify which are events and
actions. This can be done as a worksheet 3.1 or as a task on the slides.
This can be an individual or group task.
An introduction to conditional statements is to ensure whilst learning the basics in the software, the
basic concepts are covered also.
● A conditional statement defines a condition and what will happen if the condition is true.
● The condition is the first line defined by the use of ‘if’
● If the condition is true then what is indented (moved in) underneath is the output.
Use this time for an unplugged demonstration of what a conditional statement is. Unplugged
activities use no technology and are a great way to introduce a concept.
● On the slide for the conditional statement intro, there is an example of a conditional
statement:
○ If the teacher raises their arm:
○ Stand up
● Ask the students to react correctly to the condition.
It is important to understand that an event is different to an input and that the input triggers the
event within the system.
https://editor.construct.net/
Select Menu
Select Open recent
Select file
The aim is to build on the previous lessons use of a testing table and understanding how it is used
and how important they are for finding errors and areas for improvement.
The testing table will show that the car is not visible at the start of the game easily. Ask students
what behavior needs to be added.
Add the test to the testing table and complete the test to make sure the car is visible at the start
and always in the game.
It is important that students save their work to continue with in the next lesson.
To save, click the save button.
Students are asked to look at the slide with an event and action image from the game.
There are two areas covered and they are asked to identify what is missing to complete the event
and action?