You will clone the starter code and create a private repository of your own that you will share with me. I will grade your work by cloning your homework repository. All of the homework assignments will reside in a single repository so there will be times you will update from the original (base) repository and other times you will update from your own bitbucket repository.
To get properly setup you will read and follow the instructions in the first three sections of Using git for Homework. The sections you should work through are titled: ``Background'', ``Setting up Your Workspace'', and ``Setting Up a Hosted Repository''. The URL for the base homework repository for this course is:
NOTE: Since you may already have some experience with git or with bitbucket.org you may not need to perform every step listed.
os_homeworkworking 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:
|Setup and use of git||4||pts|