Lab 8

The following exercises are to be completed during lab class.  If you do not have time to finish during lab, they must be completed before the beginning of the following lab session.  You will turn in the lab gradesheet  at the beginning of the following lab.

Before beginning the exercises, copy this lab's folder from the T: drive to your H: drive.

  1. Complete the debugging exercise found on the ITK 168 website and include the corrected BankAccount.java file in your zip file for submission.
    You should also answer the questions throughout the debugging exercise on a separate sheet of paper (you may use the back of your gradesheet) and turn them in with your lab 8 gradesheet.
    Note that the debugging exercise MUST be done individually; do not work in pairs. This is to ensure that everyone has the basic tools needed to do debugging as you move away from Robots.
     
  2. Complete exercise 6.8 on page 324 of your textbook. Include the FixedDistanceBot.java file and your test file in your zip file for submisson.
     
  3. Complete exercise 6.15 on page 326 of your textbook. Include the HomingBot.java file and your test file in your zip file for submission. Hint: you might want to copy some code from a previous lab exercise.
     

Use the windows zip utility to zip all required files into a single zip folder. Submit the single zip folder to your lab section under project #8 using Web Submit.

NOTE: Do NOT put your files into a folder to be zipped as this will make grading more complicated. Simply select the necessary .java files, right click, choose Send To => Compressed (zipped) Folder.