• CS 111.01 - Winter 2024
  • Schedule
  • Assignments
  • Project
  • About

Lesson 12: Looping, maybe

29 January, 2024

Outline:

  1. Quiz 2
  2. Color models
    • how humans see color
    • converting an image to grayscale: Review Lesson 11
    • how computers output color
  3. Conditional loops
    • while loops
    • example: max of n

Explore after class:

  1. Additive versus subtractive color
  2. More practice with while loops: Exercises 1-3

Reading assignment (to be completed by the next class):

  • Zelle sections 8.3-8.7 (pp. 247-276)