Code from Monday class

Week 5 Outline

  • Midterm exam reminder
  • Review Quiz 1 answers
  • Work out solution for assignment 3 (code from class)
  • Using and defining classes with the Color class
  • Assignment 4
  • Midterm is next week (Monday for on-campus students)
    • 30 points (15% of the class grade)
    • 90 minutes is allowed; usually can complete in 45 minutes
    • Closed-book, closed notes
    • Question types: multiple choice, output prediction, writing Python code
    • Python data types: numbers (floats and ints), strings, lists, dictionaries
    • Execution constructs: loop by list value, loop by index, if/elif/else
    • Files
    • Formatting strings