Question: 1. Use the following problem statement to guide you through software development Create a book management system for a small local library. The library


 1. Use the following problem statement to guide you through software development Create a book management 

1. Use the following problem statement to guide you through software development Create a book management system for a small local library. The library allows patrons to check out books from the library Patrons can check out up to 3 books at any given time. When a book is returned, it is added back to the library's shelves. All books are cataloged by title and author. There are multiple copies of some books and the library's entire catalog of books is stored in a text file. Patrons are tracked by their name and are not allowed to check out two or more copies of the same book The library should provide the ability to checkout and return books using a patron's name and a book's title. 2. To simplify this assignment, assume patrons can only have one book checked out at a time 3. Perform a noun-verb analysis on the above problem statement. Store the results of the analysis in a file named noun verb analysis.txt. a. The file should be formatted with nouns that correspond to classes fully left justified. All nouns and verbs related to the class should be on separate lines immediately following the class noun 4. Draw class diagrams for each class, except Library, using the drawing tool of your choice, e.g. Draw.10 Include a picture of the class diagrams in the repository named class diagrams. a Save your diagram as an image (eg. jpg. bep.png) 5. Implement a solution for the Book and Fat con classes. Al of your files should be in the books package. Some design constraints are provided below, which you must adhere to a You are only allowed to use Java features and data structures that we have discussed in class (so only Arrays and strings for data structures) b. You most likely will need to create at least one other classfenum for use with your Book and/or Patron classes. c. Each book must have a status of AVAILABLE OF CHECKED OUT associated with it d. If an invalid argument is passed to a method, it should throw an 111egalArgumentException with an appropriate message Example: User tries to return a book they did not check out. 6. You should write unit tests for all non-inval methods and use those to verify your code is working as expected

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Problem Statement Create a book management system for a small local library The library allows patrons to check out books from the library Patrons can check out up to 3 books at any given time When ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!