Outline for November 20, 2024

Reading: text, §14
Due: Homework 4, due November 25, 2024


  1. Classes and objects [cards.py]
    1. User-defined types (classes)
    2. Instantiate (create) new object (__init__)
    3. Objects and attributes
    4. Objects and methods
    5. Printing objects (__str__)

  2. Complex numbers, arithmetic, and comparison [complex.py]

  3. Copy, deepcopy [copying.py]

  4. Inheritance [inherit.py, inherit-mult.py]

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: [email protected]
ECS 235A, Computer and Information Security
Version of November 19, 2024 at 11:22PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh