Sequential and Concurrent Events (Ages 5-8)
In this activity we’ll be learning about sequential and concurrent events. We’ll learn what they are, the difference between them, and how you can use them in Blockly. By the end of the activity, you’ll be able to control your KINI using both types of events!
Before we begin:
Make sure that you have your KINI robot, and that it is connected to the internet.
Open the app, and go to the Blockly tab by clicking the Blockly button in the bottom right corner. We will be using the two Repeat blocks to create our code.
Understand the basics of Blockly - if you don’t I’d suggest checking out the “Introduction to Blockly” activity before this one.
Sequential events are a set of instructions that happen one at a time
In the example below, KINI will first move forward for 1 second, then rotate left for 1 second, then finally move backwards for 1 second
These are sequential events, as they happen in order, and one at a time
Concurrent events are the opposite of sequential events; they are two or more actions that are happening at the same time
In the example below, as KINI is moving, it’s light is changing colour. As these happen at the same time, they are concurrent events.
Great work everyone!
You just learnt the difference between sequential and concurrent events, and how to identify each of them. You can now use sequential and concurrent events to control your KINI!
You can try out the code used in the example with your KINI, or try making your own! Good luck and have fun coding!