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

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

  1. The Wait Until Event Pattern; WHILE Loops: Video [7:34 minutes]
    • Note: WHILE loops are traditionally introduced in the form:
      while some-condition:
          do-stuff
    • We will instead use the less common form:
      while True:
          do-stuff-here-if-you-want
          if some-condition:
              break
          do-stuff-here-if-you-want
      See the video for details.
2. Preparation-Summary Quiz

AFTER doing all the Videos / Reading to the left, along with their associated quizzes in Moodle:

  • Do the Preparation-Summary Quiz.
  • Turn in your answers via Moodle.
  • Check your own answers by using either or both of:

    Videos with solutions to the Start-the-Session Quiz:

    1. Solutions to the Start-the-Session Quiz, Problem 1: Video [1:43]
    2. Solutions to the Start-the-Session Quiz, Problems 2 through 4: Video [5:34]
    3. Do the last problem (problem 5) on the above quiz:
      • as you watch the first “Follow Me” video.

    For your reference, here is a written Answer Key to the above Start-the-Session Quiz.

3. Get the starting code

Clone the following into PyCharm, using the standard instructions for getting the Starting Code.

Additionally, if you are pair programming, use the standard instructions for forming a Team project on this: