Session 5 Preparation
1. Videos/Reading with Quizzes in Moodle

Do all the items on this Preparation page BEFORE this session's scheduled class time.

  1. Debugging: Good Practices to minimize the need for debugging: Video [12:07]
    • Being more adept at debugging (i.e., fixing errors in your programs) will be important for Exam 1 and beyond. The above video contains 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.
    • For reference, here is an OPTIONAL PowerPoint slide version of the Good Practices video. If you choose to view these slides, download and run this PowerPoint as a Slide Show, since it has animations.
  2. Debugging: What to do when you get a run-time exception (error): Reading.
    • Download this PowerPoint presentation and run it as Slide Show since it has animations.
  3. Debugging: What to do when a test fails: Reading.
    • Download this PowerPoint presentation and run it as 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.
2. Preparation-Summary Quiz

There is no Preparation-Summary quiz for this session.

3. Get the starting code

Get BOTH of the following and attach them into PyCharm: in BOTH cases, follow the link, accept the assignment, refresh the page, copy the resulting link; then in PyCharm, do Git ~ Clone, paste into the box that appears, and select ATTACH when given that option.