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

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

  1. Range expressions: Reading.
    • This document on Python's RANGE expression extends the 1-argument form that you know to the 2 and 3-argument forms.
    • As you read the document, do its associated quiz on Moodle.
  2. Box-and-Pointer Diagrams: Video [9:22]
    • There is no Moodle quiz associated with this video.
    • Optional reading: This handout on Box-and-Pointer diagrams covers the same material as the video, plus a little more.
  3. What is a CLASS -- the concept: Video [7:44]
    • This video reviews the concepts of a object and class.
    • As you watch the above video, answer questions 1 to 9 of this Quiz for the Session 8 videos on CLASSES.
    • 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.
    • It is likely that you will not know the answers to all of the questions in the above quiz. That is OK — just do what you can and BRING YOUR QUESTIONS TO CLASS.
  4. What is a CLASS -- the notation: Video [6:56]
    • This video reviews the notation of a class, as well as the concepts. It is important preparation for the next video.
    • As you watch the above video, answer questions 10 to 15 of the above Quiz for the Session 8 videos on CLASSES.
      • Mysteriously, there is no question 12.
      • If question 14 does not make sense to you, no worries, just skip it.
  5. What is a CLASS -- the implementation: Video [11:43]
    • This is the new stuff (but the previous videos are super-important preparation without which this video will make no sense).
    • It shows all the basics of how to implement a class, using a Point class as an example.
    • As you watch the above video, answer questions 16 to 22 of the above Quiz for the Session 8 videos on CLASSES.
    • Reminder: It is likely that you will not know the answers to all of the questions in the above quiz. That is OK — just do what you can and BRING YOUR QUESTIONS TO CLASS.
2. Preparation-Summary Quiz

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

3. Get the starting code

Get the following and attach them into PyCharm: follow the link, accept the assignment, refresh the page, copy the resulting link; then in PyCharm, do Git ~ Clone, paste into the box that appears, and select ATTACH when given that option.