
The George Washington University
School of Engineering and Applied Science
Department of Electrical Engineering and Computer Science
CSci 51 – Spring 2002
Project #8
Due Date: Tuesday, April 30, 2002
The University wants you to spend exam period studying
for exams, so I cannot accept late projects.
4/30 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:
ReadDatabaseDisplayDatabase
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
WriteDatabaseAddDisc
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.