Conditional Statements with VEX V5
Introduction: Autonomous Orchard Tractor
Robot Configuration: Conditional Statements
Lesson: Conditional Statements
Mini-Challenge: Orchard Tractor Part 1
Robot Configuration: Looped Conditional Statements
Lesson: Looped Conditional Statements
Mini-Challenge: Orchard Tractor Part 2
Activity: The Buggy Code
Robot Configuration: Optical Sensor
Lesson: Decisions with the Optical Sensor
Mini-Challenge: Fill in the Blanks
Robot Configuration: Embedded Conditional Statements
Lesson: Triple Sensor Line Tracking
Activity: Looping for Encoder Degrees
Unit Challenge: Orchard Tractor Part 3
Unit Quiz: Conditional Statements
Back to Overview
Activity Directions
Programmers often ask each other for help with their code. In this activity, you will help debug someone else’s solution attempt to the Orchard Tractor Pt. 2 Challenge. To do this, you will compare their pseudocode to the “buggy code” which will help you understand the programmer’s original train of thought and therefore, spot the errors in the code. You will need to read and understand their code, find and fix the bug(s), then explain what the problem was (and why your changes fixed it).
Upload a photo of the Buggy Code chart with circles that highlight the identified errors.