Session 7 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. 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]
    • As you watch the video, do its associated quiz on Moodle.
    • 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.
      • It says that it is for Session 8, but it is really for Session 9.
    • 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.
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.

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. Review of Implementing a Class and what SELF is: Video [5:22]
    • Do not do any coding for this video. Simply watch and ABSORB THE CONCEPTS of this important video.
  2. Implementing a Point class: Video [29:08]
    • The video indicates that the project is 08-Implementing Classes, but in fact it is 07-ImplementingClasses.
    • It is best to do this Follow-Me video BEFORE class, since that makes the most effective use of your time. But as always with Follow-Me videos, you may do them in-class. It just means that you will have more to do AFTER class than you would otherwise.
      • If you noticed that you tended to fall behind during Sessions 1 through 5, we strongly recommend that you do this Follow-Me video BEFORE class.