Session 12 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. 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.
Start-the-Session Quiz

AFTER completing the Preparation to the left:

  • Step 1:   Do this Start-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.
  • Step 2:   Check your own answers by watching the videos listed below.
    • Of course, do the quiz BEFORE checking its answers!
    • Check your answers carefully!
  • Step 3:   Turn in your answers to the Before-the-Session Quiz in the usual way, on Moodle, via the item named Turn in your Before-the-Session Quiz here.
  • Step 4:   Get help on anything that is not clear to you.

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

  1. There is no video solution for the quiz:
    • Instead, check your work by using the answer key below.
    • Get help if there are any problems whose answer you do not 100% understand.

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

Start-the-Session Follow-Me

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

  • Step 1:   Open PyCharm and do   VCS ~ Update Project   to obtain the new in-class project if it is not already in your list of projects in PyCharm.
  • 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. For TODO 1 through TODO 4 of module m1_pizza: Video [16:56]
    • This video was made when we used a different tool than PyCharm. However, you should be able to follow things OK in your PyCharm project.