Session 3 Preparation — Videos, Reading and Quizzes (to do BEFORE September 5, 2018)

Quiz

Go to Moodle to find the Quiz for this Preparation.

Do the quiz as you watch the videos and do the reading. The quiz follows the same order as the videos/reading do.

You can access the videos from here or from Moodle; they both point to the same place.

Videos and Reading:

All of the following are required except items labeled Optional are, well, optional (i.e., things that may be interesting but do not directly pertain to your success in this course).

  1. Functions with Parameters and Returned Values
    • Read this explanation of Functions with Parameters
      • Read this important explanation carefully!
      • It reinforces what you saw previously in a video on functions.
      • BRING your QUESTIONS about it to class.
  2. Scope and Namespaces
    • Read this handout on Namespaces and Variables' Scope
    • Don't worry if some of its ideas are confusing to you. The NEXT item (a video) should clear up your confusion.
  3. Thinking Like a Computer: Namespaces, Parameters, and Returns
    • Video [9:36 minutes]
    • Code [3:04 minutes]
    • The contents of this video are critical to your success in this course. Be sure that all of this video is crystal clear to you, and if not, ** BRING YOUR QUESTIONS ABOUT IT TO CLASS. **
  4. Counted Loops (using FOR loops with RANGE expressions)
  5. The Accumulator Pattern — Summing