There are 32 open "slots" for users to create and save their own procedures. There are an additional five slots for users to program the special sensors on the robot. These sensors include the front bumper, back bumper, sound sensor, and sensors that detect the presence or absence of light. An example of how the sensors might be used is that the robot could be programmed so that if the front bumper hits something, the robot might honk its horn, back up, and turn completely around. Or perhaps, its headlights come on when the lights are turned off in the room.
Students learned how to create, save, and call procedures by inputting commands that were given to them on the interactive whiteboard. They executed the main program to see the outcome. One of the shapes turned out to be a simple flower, and the second was a much more complex flower.
Some students then chose to see what they could create with procedures, while others continued their Programming 101 lessons in Tynker.
0 comments:
Post a Comment