Calvin seal CS 108: Introduction to Computing
Spring 2006

Comments for Lab #03

The lab this week asks you to run several experiments with a simple program.

What Experiments?

In the past, I've only assigned about half of the experiments for the lab exercise. But it appears that by using JUnit, the experiments are much faster, so do them all.

All of the experiments have you work with a JUnit test-case class. The lab exercise will lead you through the steps of creating this test case. Be sure to run your code for this lab as a JUnit application (not a driver application).

A few of the experiments ask you questions. Create a text file exercise03.txt in your Exercise Questions folder, just like you did for Lab #01.

Be sure to indicate exactly what question you are answering.

Lab Work for Lab #03

Note that the links open up new browser windows. That's because you're leaving the 108 website. This page clarifies certain issues in the lab manual, and so you'll find it useful to keep available.

Hand's on Testing Java's Prelab questions. Do these before your scheduled lab, reading the lab exercise to answer the questions. Check the webpage on electronic submission for suggestions for turning in your answers.

Hand's on Java's Lab exercise. Work through this exercise during the lab. Make a careful note of the changes listed above (if any) before working on this lab. Again, check the webpage on electronic submission for instructions on submitting your work.

Go to the schedule for your next project.