The George Washington University
School of Engineering and Applied Science
Department of Computer Science

CSci 131 -- Algorithms and Data Structures I
Project #5

Due Date: May 5, 2000 (last day of class)
No projects can be accepted after this date!

The purpose of this project is to develop a concurrent simulation of a bank in operation. It builds on Project 4 and depends, in addition, on the concurrency material from Chapter 15. This chapter contains a bank simulation that uses a very simple (too simple!) database.

Your objective in this project is to redesign and rebuild the bank simulation so it uses your Project 4 work as its database.

The lectures on April 24 and 26 will help you understand the concurrency material; be sure to read chapter 15 before coming to class on April 24!

On this project (only) it is OK to work as a team with another student, but

  1. both team members must e-mail Prof. Feldman and Ali to indicate that they are working together
  2. both team members must put their names on all results
  3. both team members will get the same grade for the project
  4. each team must do its own work and not work together with other teams
Be creative and have fun!

Follow these steps:

  1. remove all unnecessary files, especially *.exe files, from your hobbes file system. You will need space for this project!
  2. make a separate directory for this project, so you don't get confused by the large number of files you'll generate.
  3. move to your new directory and copy into it all the files to start this project, from the subdirectory programs131/bankstuff.
  4. one of these files is called bank.exe. Execute it as usual: gexecute bank.exe.
  5. now recreate bank.exe by following these compilation steps:
    1. gnatmake -g -v bank.adb
    2. mv bank bank.exe
  6. you are now ready to start revising the bank project, little by little. Copy the source files you files you need from your project 4 directory and recompile them as necessary, using the normal gcompile command, linking as usual with glink.