Computer Science 120
Introduction to Programming

Spring 2012, Siena College

Lecture 7: Defining Classes
Date: Tuesday, February 7, 2012

Agenda

Lecture Assignment 7

Due at the start of class, Thursday, February 9.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT siena.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CS 120 Lecture Assignment 7, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

  1. BDM Exercise 5.1.1, p. 125 (3 points)
  2. BDM Exercise 5.4.2, p. 133 (3 points)

Examples