Session 5 Preparation — Videos, Reading and Quizzes

Quiz

There is no quiz associated with this preparation. But there ARE things to do, as listed below.

Videos and Reading:

All of the following are required except items labeled Optional are, well, optional (i.e., things that may be interesting but do not directly pertain to your success in this course).

  1. 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.
  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. Checkout Session05_Exam1_Practice (it is already in your repository) and:
    • Do its Problem 0 by watching this video that shows an instructor live-coding the problem0 module [22 minutes, 650 MB].
      • As you watch the video, pause it at key points to think through a problem (or a part of the problem), type in your solution (at whatever speed you like to type), and then see our solution and explanation.
    • Then continue working on Session05_Exam1_Practice as best you can. The more that you can get done before the Session 5 class, the better, since:
      • In Session 5, you will get practice problems for the paper-and-pencil part of Exam 1 along with additional problems on which to practice Debugging.
      • In Session 6, we will have our first session using robots!
  4. During the exams, you are on your own for finding errors in your code. We will not answer questions about your code. However, we have collected some of the common questions that students have previously asked during Exam 1.

    You might want to review those Questions that students frequently ask on Exam 1 (AND their answers) at this time.

    • You are permitted to refer to this document during the on-the-computer part of Exam 1, if you wish.