Session 3 Preparation — Videos, Reading and Quizzes

Instructions:

For each of the following videos or reading:

Videos and Reading:

  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