The George Washington University
School of Engineering and Applied Science
Department of Electrical Engineering and Computer Science
CSci 51 -- Fall 2001
Project #8


Due Date: 5pm Tuesday, December 11, 2001 Computer Science Office, 7th Floor Academic Center. This is the last day of clases. We will not be holding class.

The University wants you to spend exam period studying for exams, so I cannot accept late projects. 12/11 IS THE LAST DAY FOR ALL PROJECT SUBMISSIONS.

This project MAY NOT BE DROPPED.

Implement the body of the Compact package and test it using the interactive My_CD_Manager as you developed it in Project 7.

You'll find it easiest to do the project step-by-step, as follows (Note: these are not separate submission requirements, just a suggestion for what to do first):

Step 1: Implement the following operations in Compact and tie them into My_CD_Manager:

ReadDatabase
DisplayDatabase

You will be able to test these operations by running My_CD_Manager, entering an R command, then a P command.

Step 2: Now implement the operations

Put
WriteDatabase
AddDisc

so you can read in the data, add a few AddDisc transactions, then display and write the database to disk. You can then examine the disk file with vi or cat.

Step 3: Complete the other operations in the database package and tie them into My_CD_Manager.