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

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

  1. Patterns for Iterating Through Sequences: Video [15:21]
    • In the previous session you watched this video. Watch it again (double-speed is OK), to be sure that you have mastered its concepts.
    • Then, do the associated Moodle quiz.
      • The Moodle quiz purposefully repeats questions that you saw in a previous quiz. It has new questions as well.
    • Be sure to understand:
      • The 3 basic ways to iterate through a loop
      • The FIND pattern
      • The TWO-PLACES-AT-ONCE pattern
      • The PARALLEL SEQUENCES pattern
      • The MAX/MIN pattern
  2. [OPTIONAL] RANGE expressions: Reading.
    • Optional: If you think that it would be helpful to you, review this document that you read in a previous Preparation.
    • It extends the 1-argument form that you know to the 2 and 3-argument forms.
    • There is no Moodle quiz associated with this item.
  3. [OPTIONAL] Iterating Through a Sequence: Video [11:35]
    • Optional: If you think that it would be helpful to you, review this video that introduces iterating through a sequence.
    • There is no Moodle quiz associated with this item.
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. (The quiz says Session 13 but it is really for this session.)
  • Turn in your answers via Gradescope.
  • Check your own answers by using either or both of:
  • Video solutions: There are no video solutions for this session.
  • Written answer key
3. Get the starting code

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