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 02

The AquaFish class

Overview

Topic: The AquaFish class
Due: 11:59pm Tuesday, 5 February 2013
Related Reading: Pages 13-18 of case study

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


Your task

You are to do exercises 1-7 on page 18 of the case study. You may use the same partI codebase from the previous assignment.

Please create one summary document with your responses. For exercise 7, rather than you asking someone else to introduce a flaw, we have taken the liberty of introducing several flaws. So as not to conflict with changes you may already be making to the source code, we have made a separate flawedI project for your use. In answering that question, please give an excerpt of the error messages produced by the compiler, an explanation of why it is complaining, and the remedy used to resolve the error.

You may copy the flawed source code to your own directory on turing by executing the following command from within your csci146 directory (Note well the period at the period at the end of the command):

    cp -Rp /Public/goldwasser/146/flawedI .
This will cause a new folder named flawedI to appear in your working directory including all files that you need for this assignment. Note: if you have a C++ compiler on your personal computer and wish to work directly on that computer, the necessary files may be downloaded here as flawedI.zip.


Submitting your project

Your assignment should be submitted electronically (details on the submission process). This should include your summary prose document, as well as your modified versions of aquafish.h, aquafish.cpp, and aquamain.cpp files.


Michael Goldwasser
CSCI 146, Spring 2013
Last modified: Wednesday, 23 January 2013
Course Home | Assignments | Computing Resources | Lab Hours/Tutoring | Questionnaire | Schedule | Submit