Session 5 Preparation — Videos, Reading and Quizzes

Instructions:

For each of the following videos or reading:

Videos and Reading:

  1. Well before Exam 1, read the Exam 1 information.
  2. Debugging: Being more adept at debugging (i.e., fixing errors in your programs) will be important for Exam 1. The following materials contain examples from topics that we have not yet discussed, but the debugging concepts apply to the work that you have done already. Focus on the debugging concepts and not on the specifics of the examples.

    1. Watch this video on Debugging: Good Practices to minimize the need for debugging.
    2. Download and run as a Slide Show this PowerPoint presentation on Debugging: What to do when you get a run-time exception (error). Be sure to run this PowerPoint as a Slide Show, since it has animations.
    3. Download and run as a Slide Show this PowerPoint presentation on Debugging: What to do when a test fails. Be sure to run this PowerPoint as a Slide Show, since it has animations. This PowerPoint presentation uses an example that is well beyond what you have seen so far; no worries, just concentrate on the debugging principles that it demonstrates.
  3. If you have not already done so, complete ALL the exercises in Sessions 1 through 4.
    • Reminder: You must COMPLETELY understand ALL of your solutions.
    • Get help from your instructor and/or course assistants if you have some solutions that you do NOT completely understand.
  4. If you have not already done so, complete the exercise on Piazza (our question-answering system) that you received by email.