Cyber Robotics 101 Teacher's Guide
What methods help in solving larger problems?
This lesson is based around a series of challenge missions. With missions that require students to use everything they have learned so far, this pack will test the student’s understanding and ability to code virtual robots in multiple complex environments. This lesson can be run as a collaborative or competitive team exercise.
Decompose a problem into component parts
Use multiple testing and debugging strategies to improve a program
Decompose a problem into component parts
In reflection question 1, ensure that students have broken down the missions in a logical way, based on patterns or clear groupings of sub-goals.
Use multiple testing and debugging strategies to improve a program
In reflection questions 2 and 3, check that students have referenced running code to see what happens as a part of the software development or debugging process, and that they have cited at least one effective debugging strategy.
This lesson will be based around a series of challenge missions. This pack will test the student’s understanding and ability to code virtual robots at a basic level. There are two options in which you can introduce the challenges to the class:
Option 1: Competitive activity (Team/Individual effort)
Allow students 30-40 minutes to solve the missions on their own (or as pairs) before going over the rest of the slides with them. If there are students that want to explain their solutions in front of the class, they should be given the opportunity.
Option 2: Class activity
Give students 5-10 minutes to look at and try to figure out each mission, asking the students to lead the discussion on how to solve the challenges.
Slideshow: Challenge Missions I
Give an example of how you were able to take one big, complicated mission and break it up into smaller challenges.
Student answers may vary, but they should demonstrate a logical decomposition of any of the sample missions. For example, the ‘Zig Zag is Back’ mission can be separated into two different zig zag patterns, ‘X Marks the Spot’ can be separated into four identical challenges in which the robot turns and touched a block then retreats to the center, ‘The Pentagon’ and ‘The Other Way’ can be separated into the polygon’s sides, and ‘Big Challenge’ can be broken into a square, semicircle, and triangle.
Describe a time your program did not work as expected (a bug!) and how you were able to find the problem and debug it.
Students should describe the debugging process, in at least broad strokes. These should include how they noticed the bug in the first place, an effective strategy for finding and correcting it (e.g. running the code to see where exactly the robot deviated from the expected path, looking at similar missions that were completed correctly, tracing code by explaining its behavior step by step, or collaborating with a friend).
Why might a coder want to run the program, even if it’s not completely finished yet?
Student answers will vary, but they should show an understanding that there is value in testing incomplete code. For example, in the last mission, students may want to check that the robot can complete the square before moving onto the semicircle. Students also may run code to test whether their understanding of a particular block or algorithmic structure is correct before relying on it in subsequent parts of the program.
Description
Let students complete Missions: 1-4
Pack: Challenge Missions I
Timing
20 minutes
Description
Go through slides 6-7
Timing
5 minutes
Description
Let students explore and try to solve the last challenge
Timing
15 minutes
Links/comments
Ask students to explain the methodology in which they reached their solution
Description
Walk you students through a process of exploring and solving the big challenge as described in slides 8-17
Timing
15 minutes
Links/comments
Focus in the process not the solution
Whether you choose to introduce it as a competitive activity between students, or as exercises that they solve as a class together, we recommend you allow students to compare solutions. Go through slides 8-17 which outline the methodologies of problem solving and the specific solutions.