mBot F1 - Functions: Lane-Changing mBots!
Concepts: Students are introduced to the concept of functions including definitions, examples, and how to create one in mBlock. Activity: Students create a driving sequence that includes left and right lane changing procedures. Students lane-change through a course filled with obstructions!
For students to understand what functions are in computer programming and why they are useful
For students to practice creating and using their own functions
For students to practice an iterative approach to problem solving and design in which they break larger tasks down into their smaller components