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

Saint Louis University

Computer Science 146
Object-Oriented Practicum

Michael Goldwasser

Spring 2013

Dept. of Math & Computer Science

Assignment 05

Alternative Designs

Overview

Topic: Alternative Designs
Due: 11:59pm Tuesday, 26 March 2013
Related Reading: Pages 36 through 42 in case study

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


Table of Contents


Your task

Please complete exercises 2, 3, 4, 5, 6, and 8 on page 42. (That is, skip #1 and #7.)

Exercises 3, 4 and 5 are each asking you to make major modifications to the source code that will effect multiple files (and which are mutually incompatible). To help manage the different versions you are asked to completed, we wish for you to make multiple copies of the entire project directory, and then to complete each modification on a clean copy. If working on turing on your osx system, go to the parent directory of your partII directory and execute the following:

cp -Rp partII modification3
cp -Rp partII modification4
cp -Rp partII modification5
Each of those commands will recursively copy all files from the partII directory into a newly named directory. Please use "modification3" to do the implementation decribed as Exercise "Modification 3" and so on.


Revised Sequence Diagrams

In previous lecture notes, we provided a formal sequence diagrams that described the actions related to one step of the simulation using the original (reference) code base.

To aid you in this assignment, we have created a comparison between the original diagram, and three new sequence diagrams, each of which represents one of the required modification. Click here for the images.


Submitting your project

Your assignment should be submitted electronically (details on the submission process). This should include your summary prose document, as well as any modified versions of source code.

Given the large scope of modifications made to the multiple versions of the source code, we would like you to create a single "zip" file for each of the modification version. If working on turing or osx, you should execute the following commands. First, from within your "modification3" directory, execute:

make clean
zip -o modification3.zip *
That will create a new file named modification3.zip that is an archive of your directory (the call to make clean intentionally removes the various compiled files, leaving only the original source code). That zip file is the one that I would like for you to submit online.

Please create and submit similar zip files for modification4 and modification5.


Michael Goldwasser
CSCI 146, Spring 2013
Last modified: Thursday, 21 March 2013
Course Home | Assignments | Computing Resources | Lab Hours/Tutoring | Questionnaire | Schedule | Submit