Preview Mode. Sign in to save progress!
You are in preview mode! Progress will not be saved!
Sign in to save your progress!

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).  

The Buggy Code Activity

Download and/or print the PDF and follow the directions to help the programmer debug the code! 
The Buggy Code Activity.pdf 380.13 KB


Look below at the worked out example of another program to understand the activity expectations. 

Upload Buggy Code Chart

Upload a photo of the Buggy Code chart with circles that highlight the identified errors.

Upload Debug Log

Upload a photo of your completed debug log.
Contact Us