Session 5 Preparation: Videos/Reading, Start-the-Session Quiz, and Start-the-Session Follow-Me
Videos / Reading

BEFORE this session's scheduled class time, for each of the following videos or reading:

  • Step 1:   Watch the video (or read the reading).
  • Step 2:   As you do so, do the associated quiz in Moodle.
  • Step 3:   Get help on anything that is not clear to you.

Videos / Reading:

  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.
    • This and all remaining items in this Videos/Reading section have a quiz associated with them on Moodle.
  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.
Start-the-Session Quiz

We will do this Start-the-Session Quiz together at the beginning of class.

Please print the above quiz before (or at the beginning of) class if you can.

Start-the-Session Follow-Me

AFTER completing the Start-the-Session Quiz to the left:

  • Use this link to your Session 5a-Debugging assignment on GitHub Classroom, following the same instructions that you used to get the Session 2 project into PyCharm, but using the above link instead of the one to Session 2 project. Use this link to get the 05b-Exam1_Practice starting code.
  • Step 2:   Watch the Follow-Me videos listed below, and as you watch each one:
  • Step 3:   Do the coding in PyCharm, following what you see on the video.
    • You can do the coding as the video does it or by reviewing the video afterwards (your choice).
    • The key is to UNDERSTAND what you are coding, not merely type what the video shows.

Follow-Me videos:

  1. Note:
    • You might prefer to do some or all of these Follow-Me videos in class so that you can ask questions as desired during them.
    • Improving your debugging skills is critical for your success on Exam 1. These Follow-Me videos help you do that.
    • When the video asks you to pause the video, do something (per the video) in PyCharm, and then resume the video, be sure that you really do PAUSE the video, DO what the video asks you to try, and only then RESUME the video.
  2. For the m1 module of 05a-Debugging: Video [14:25]
  3. For the m2 module of 05a-Debugging: Video [16:25]
  4. For the m3 module of 05a-Debugging: Video [15:32]
  5. For the problem0 module of 05b-Exam1Practice: Video [24:15]