CS151 Lab 5:  Event Simulations, Continued...

Home Search E-mail Java Resources Discussion

Due Sunday March 11, 2001 at 11:59 PM

This week we will complete the bank simulation started last week.

For those who haven't gotten the message yet:

Write your code is small, isolated pieces.   Test each encapsulated piece separately and thoroughly BEFORE combining them together.

For formality's sake, this process is called "unit testing" and is one of most important skills you'll need to write complex software.

Before proceeding with this week's lab, be sure that your code has at least the following capabilities:

  1. The event manager can handle any type of event:  simple, stop, macro, repetitive.     YOU SHOULD NOT NEED TO MODIFY YOUR EVENT MANAGER AT ALL THIS WEEK!
  2. You can add a Customer to the system and see that the ATM  and Teller queues fill with the correct Customers.

The Tricks and Traps web page has been updated with more items.   Please read them!