IT 117: Intermediate Scripting
Class 18

Today's Topics

Review

New Material

Reading Assignment

In Chapter 10, Classes and Object-Oriented Programming, from our textbook, Starting Out with Python, you should read sections 10.3 and 10.4, Working with Instances and Techniques for Designing Classes, before next Tuesday's class.

Homework 8

I have posted homework 8 here.

It is due this coming Sunday at 11:59 PM.

Review

Writing Better Programs

Demonstrating Different Approaches to Programming

An Example Problem

First Approach

Procedural Programming Approach

Object Oriented Programming

Object Oriented Approach

New Material

The Constructor Is Special

Defining a Class

Creating An Object from A Class

The self Variable

Improving the Date Class

Refactoring the Date Class

The Time Class

Changing the Attributes of a Class

Attendance

Class Quiz