Session 3 Preparation — Videos, Reading and Quizzes

Instructions:

BEFORE this session, for each of the following videos or reading:

Videos and Reading:

  1. Coding to a Specification Video [4:23 minutes]
    • You will apply the ideas of this video in all subsequent exercises in this class (and beyond).
  2. 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.
  3. 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.
  4. Thinking Like a Computer: Namespaces, Parameters, and Returns
    • Video [5:22 minutes] by Valerie Galluzzi
    • Code (from the video, for your reference)
    • 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. **
  5. Counted Loops (using FOR loops with RANGE expressions)
  6. The Accumulator Pattern — Summing
  7. Pair Programming