Session 15 Preparation — Videos, Reading and Quizzes

Instructions:

BEFORE this session, for each of the following videos or reading:

Videos and Reading:

  1. The   Wait Until Event Pattern   and   while True:   Loops

    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. Continue preparing for Exam 2 by doing the following, as described at the Exam 2 information:

    • Complete and UNDERSTAND the TWO items that are your ADMISSION TICKET for taking Exam 2.
    • Prepare your TWO-page “Hint Sheet” for the paper-and-pencil part of Exam 2.

    Complete these before Exam 2 (not necessarily before Session 15).

  3. After doing the above, but before doing the in-class project (in PyCharm):

    • Do this before-the-session quiz.
    • You do not have to print the quiz (unless you want to). Just hand-write your answers on paper or type your answers into a file, whichever is easier for you.
    • Exception: Do the last problem (problem 5) on the above quiz as you watch the first “Follow Me” video. (The link below brings you to the “Follow Me” videos et al.)
  4. When you are ready to begin the in-class project (in PyCharm):