Coding Dash to Bulldoze: Problem Solving Using Geometry and Measurement

posted May 1, 2016, 5:41 PM by Patrick Johnson
Students have been coding Dash the Robot for a few weeks now. On Friday they applied their coding knowledge to program Dash to complete a specific task. The task was to code Dash to remove as many balls as possible from a hundred's mat. Dash could start anywhere on the perimeter of the mat (it was not allowed to start on a diagonal). 

This activity linked to the curriculum and learning skills in many ways:
  • Students worked together to complete the task, often troubleshooting together when their code didn't work as expected (LS- Collaboration)
  • Programming movement on a grid (Geometry)
  • Right, acute and obtuse angles (Geometry)
  • Area-the number of squares that contained balls compared to those that were empty (Measurement)
  • Students were told that for every 20cm they programmed Dash to travel, it would move one square on the grid (Measurement)
  • Friction-The carpet slowed the distance Dash travelled so in fact each square measured less than 20 cm(Science-Forces)
First students (in groups of two) decided what version of the task they wanted to try.


The layout of the balls on the mat:

Then students were given grid paper that showed the layout of the balls on the mat. They were told that if they programmed Dash to move 20cm, that was the equivalent of moving one square on the grid. Students planned a route for Dash on the grid paper before coding their route on the iPad app.

Students figuring out the angle Dash must turn in order to follow their planned route on the grid:

Finally, when students were satisfied with their code, they attempted the task. Students were allowed up to three attempts. This gave students the opportunity to analyze Dash's performance and make modifications to the code before the next attempt. It is interesting to note that almost every group was able to improve Dash's performance in subsequent attempts.

Celebrating Dash's success!
Comments