Session 4 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. Preparation from Session 3:
  2. Conditionals: IF and IF-ELSE and IF-ELIF-ELIF...ELSE statements: Reading.
  3. The Accumulator Pattern (revisited): Video [9:36]
    • This video extends the accumulator pattern from the summing pattern that you have seen previously to include the counting and in-graphics accumulator patterns.
    • The video uses a graphics system call Zellegraphics that preceded RoseGraphics, so you will see zg instead of rg and other such small changes from what we use now.
  4. First Do a Concrete Example By Hand: Video [10:39]
    • In almost ANY non-trivial software development coding problem, you simply MUST do a concrete example by hand, as shown in this video.
    • Note: The video uses the following example: Given a line, draw a diamond from the line. The video should have said that the given line is the upper-left line of the diamond. Instead, the video wrongly spoke of "positive slope".
  5. Optional:
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. Solutions to the Start-the-Session Quiz: Video [16:58]

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:

  • Use this link to your Session 4 assignment on GitHub Classroom, following the same instructions that you used to get the Session 2 project into PyCharm, but using the above link instead of the one to Session 2 project.
  • 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. An introduction to Session 4: Video [4:51]
  2. For m1r_accumulator_examples, Part 1: Video [5:16]
  3. For m1r_accumulator_examples, Part 2: Video [11:07]
  4. For m1r_accumulator_examples, Part 3: Video [7:53]