The George Washington University
School of Engineering and Applied Science
Department of Computer Science
CSci 131 -- Algorithms and Data Structures I
Lab #5
For labs meeting on Oct. 5 and 8, 2001

This exercise will get you started on Project 3, and help you to learn incremental development.

  1. Read the piece on incremental development, and also p. 139-143 in the data structures book, about the package Debugging_Support.
  2. Copy the files for Project 3 from programs131/chess_lists.ads and test_chess_lists.adb.
  3. Following the process in the incremental development note, make a copy of chess_lists.ads into a file chess_lists.adb, and convert this into a package body with stubbed operations. Use Debugging_Support calls as suggested on p. 142-143.
  4. Try compiling and running the test program with this "empty" package body.
  5. If you have time, start developing a few ofthe package operations.