Course Home | Homework | Lab Open Hours | Programming | Schedule & Lecture Notes | Submit

Saint Louis University

Computer Science 180
Data Structures

Michael Goldwasser

Spring 2007

Dept. of Math & Computer Science

Programming Assignment 02
Car Dealer

Due: Thursday, 8 February 2007, 8pm

Please see the general programming webpage for details about the programming environment for this course, guidelines for programming style, and details on electronic submission of assignments.

The files you need for this assignment can be downloaded here.

Collaboration Policy

For this assignment, you must work individually in regard to the design and implementation of your project.

Please make sure you adhere to the policies on academic integrity in this regard.


Contents:


Overview

This assignment is designed to be a bit of a puzzle. In the end, it will take relatively few lines of actual code. The key will be to successfully settle upon a those lines of code. The topic we wish to explore are the subtleties involve the life cycle of an object: how and when objects are constructed and destroyed; the distinctions between objects, references to objects, and pointer variables; the ways in which information is passed to and from functions. For preparation, we strongly suggest that you review all aspects of the object demo which we have discussed in class.


The Model

This assignment builds upon the following model for automobiles. We will be providing a complete implementation of a simple Car class. However we have carefully tailed the access control for that class in the following way:


Your task


Submitting Your Assignment

Please see details regarding the submission process from the general programming web page, as well as a discussion of the late policy.

You should submit four files:

Notice that you need not submit the Car class files or the makefile, as they are presumed to be unchanged from those we originally provided.


Files you will Need

We will provide you with an initial set of files for your use.


Grading Standards

The assignment is worth 10 points.

Extra Credit (1 point)

TBA


Michael Goldwasser
CSCI 180, Spring 2007
Last modified: Saturday, 04 February 2006
Course Home | Homework | Lab Open Hours | Programming | Schedule & Lecture Notes | Submit