https://josephus.hsutx.edu/classes/os/source/bookdb-documentation/
You should clone this repository into your own BitBucket account and then share your copy with me (terrys@gmail.com) and give me write access. For later assignments you'll need to pull additional files so it will be convenient to set in your local work space remotes referring to both the original repository and to your version of the repository. NOTE: If you don't remember how to make all this happen you can follow the instructions in the first three sections of Using git for Homework.
os_homework
working repository. Take some time to compile and run the starter program.
Then study the source code to see how it works. The link to the online
documentation provided above will likely prove helpful. Once you have a decent
understanding of the existing code you will be ready to start the assignment.
IMPORTANT: DO NOT CHANGE ANY CODE IN THESE FILES: Book.java, BookDatabase.java, and SearchRequest.java. You will not receive full credit for this assignment if git indicates any of these files are modified.
<Enter>
to indicate they are
done searching. A transcript of the results of running my version
of the program against the database is given at the end of this assignment.
In the provided hw02 directory you will find a file named bookdb.out that contains a transcript of my program for a variety of search values. This will give you an indication of how the program should function. Notice that in some search results the output from different threads is interleaved.
In the case that a thread finds a match, it should display the matching entry together with the field upon which the match was found. Then it should continue searching that field for additional matches.
In the driver program the threads should all be started prior to issuing any joins. Once the threads have finished you will prompt the user to enter another search string.
As part of these instructions you will have created and shared a private
repository with me that was initially created by cloning the provided
os_homework
repository. I will grade the source code found in
that shared repository according the following criteria:
Correctness/Completeness | 22 | pts |
Documentation | 2 | pts |
Java Conventions | 2 | pts |
Setup and use of git | 4 | pts |
Total | 30 | pts |