Assignments | Class Photo | Computing Resources | Course Home | Lab Hours/Tutoring | Schedule | Submit

Saint Louis University

Computer Science 180
Data Structures

Michael Goldwasser

Spring 2009

Dept. of Math & Computer Science

Programming Assignment 02
Car Dealer

Due: Sunday, 15 February 2009, 11:59pm

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.

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 that we have discussed in class.

This project attempts to model the relationships between car manufacturer, car dealers, and the end customers. The manufacturers produce cars and in some cases provide support to dealers for properly servicing cars. The dealers act as intermediaries between the manufacturers and the customers. The customer is the end client and interacts only with the car dealer (never with the manufacturer).


Our Model

There are three main components to this project: the Car class, the Dealer class, and a Customer application.


Files we are providing

The files you need for this assignment can be downloaded here or copied directly on turing as
cp -R /Public/goldwasser/180/programs/carDealer/ .


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.


Grading Standards

The assignment is worth 10 points.
Michael Goldwasser
CSCI 180, Spring 2009
Last modified: Saturday, 14 February 2009
Assignments | Class Photo | Computing Resources | Course Home | Lab Hours/Tutoring | Schedule | Submit