CS 117: Introduction to Computer Science

Getting set up.

Log on to one of the department Linux computers, and send me an e-mail message at dmusican introducing yourself. In particular, tell me about your experiences with computers, what inspired you to take this course, and what you hope to get out of it, and anything else that comes to mind.

Object-Oriented Thinking, Part 1.

Suppose that you wish to model doing laundry. After all, laundry needs all the excitement it can get! Give a name and a short description (approx. 1 sentence) for at least four classes that would be useful. Choose one of these classes, and provide more detail. Draw a class/object diagram for it that contains both variables and methods. Describe briefly each variable and method (approx. 1 sentence), and make sure that in the diagram and description you make it clear which ones are class members and which ones are object members. Make sure to include at least one class variable, one class method, one object variable, and one object method. In the diagram, instantiate (create) at least two objects from the class.