CS-489 Lab 1: C++ or Java Referesher and the Personal Software Process

by Dr. Durant
This lab is based on a lab developed by Dr. Welch.

Overview

The purpose of this lab is to refresh your knowledge of C++ or Java and to gain some familiarity with the Personal Software Process.

Activities

This is an individual lab; each student is to submit a separate report. However, you are encouraged to discuss your work with others and to consult with the instructor as necessary.

In this lab, you will:

Detailed instructions

If you have difficulties with any part of the lab, consult the instructor for assistance. The basic sequence is:

  1. Review the C++ or Java language if you are out of practice. Ask your instructor if you have any questions.
  2. Review the material provided on the Personal Software Process.
  3. Sketch the design for a small C++ or Java program with at least one user-defined class. The class should have a constructor, destructor (C++ only; include a finalize method for your Java class only if needed), copy constructor (clone method for Java class), an assignment operator (C++ only), and other member functions. For example, you might implement a bank account class with member functions to make deposits and withdrawals and to print the current balance.
  4. Implement the program using an IDE, such as Eclipse or Visual Studio. It is recommended that you use a Windows tool (not a Linux tool) since we will be using the Windows version of Enterprise Architect, our CASE tool, later in the term.
  5. Submit the lab report (details below).

Lab report

The lab report should consist of the following:

Submit this report to the instructor via email, zipping all your files into a single archive.