1. Use the following problem statement to guide you through software development Create a book management...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
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 the full answer
Related Book For
Accounting Information Systems
ISBN: 978-0133428537
13th edition
Authors: Marshall B. Romney, Paul J. Steinbart
Posted Date:
Students also viewed these programming questions
-
Can we calculate future cash flows precisely and obtain an exact value for the NPV of an investment?
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
A scholarship recipient may exclude from gross income the scholarship proceeds received for: Tuition, housing, and meals. O Tuition, books, and supplies. O Meals but not housing. O Meals and housing,...
-
The total error is dominated by the 8% error in the estimate of clearance, (Ro Ri). We might state the experimental result for viscosity as the belt in Fig. P1.52 moves at steady velocity V and skims...
-
1.Which ADO.NET object is a forward only cursor and is connected to the database while the cursor is open? a.DBDataReader b.DataSet c.DataTable d.DataAdapter 2.Which ADO.NET Command object's property...
-
A \(250-\mathrm{m}\)-long ship has a wetted area of \(8000 \mathrm{~m}^{2}\). A \(\frac{1}{100}\)-scale model is tested in a towing tank with the prototype fluid, and the results are: Calculate the...
-
Flexible-budget and sales volume variances. Marron, Inc. produces the basic fillings used in many popular frozen desserts and treatsvanilla and chocolate ice creams, puddings, meringues, and fudge....
-
Parkview Fish Tacos sells tacos for $4.80 each. The cost of each taco follows: Materials (food) Labor Variable overhead Fixed overhead ($7,200 per month, 4,500 tacos per month) Total costs per taco $...
-
This unadjusted trial balance is for Challenger Construction at the end of its fiscal year, September 30, 2023. The beginning balance of the owners capital account was $46,000 and the owner invested...
-
You have the choice of purchasing or renting a three-bedroom condo in Miami, Florida. The purchase price of the condo is $585,000. The condo can be rented for $2,500 per month. If you purchase the...
-
On January 1, The Parts Store had a $550,000 inventory at cost. During the first quarter of the year, it purchased $1,690,000 of merchandise, returned $28,100, and paid freight charges on purchased...
-
How does it contribute to the usability and functionality of a digital product?
-
Procurement plan of a barn construction: this plan should identify the types of external resources that must be secured, the process for selecting and managing these external resources and the...
-
Which methomu.C 2024 called just before an object is Garbage Collect wait() notify() donmu.divya01 finalize() 2-JAN-2024
-
The shear frame shown in Fig. 6.21 is constructed of rigid girder and flexible columns. The frame supports uniformly distributed load of total weight of 120kN and the frame is subjected to step force...
-
What is the Rule of Law About?
-
In the current year, the City of Omaha donates land worth $500,000 to Ace Corporation to induce it to locate in Omaha and create an estimated 2,000 jobs for its citizens. a. How much income, if any,...
-
Some products, like music and software, can be digitized. How does this affect each of the four main activities in the revenue cycle?
-
The Moose Wings Cooperative Flight Club owns a number of airplanes and gliders. It serves fewer than 2,000 members, who are numbered sequentially from the founder, Tom Eagle (0001), to the newest...
-
The ABC Company is considering the following options for its backup plan: 1. Daily full backups: .Time to perform backup = 60 minutes . Size of backup = 50 GB Time to restore from backup = 30 minutes...
-
A4-stroke, 4-cylinder, single acting spark ignition petrol engine develops \(20 \mathrm{~kW}\) brake power at \(3000 \mathrm{rpm}\). The following data are given : Bore \(=65 \mathrm{~mm}\), Stroke...
-
A six cylinder four stroke I.C. Engine is to develop \(100 \mathrm{~kW}\) i.p. at 800 RPM. The stroke to bare ratio is 1.25. Assuming Mechanical efficiency of \(80 \%\) and break mean effective...
-
The following data is available for a four stroke petrol engine stroke volume \(=6\) Litres. Mean effective pressure \(=6\) bar. Speed of engine \(=750\) RPM. Calculate i.p. of the engine.
Study smarter with the SolutionInn App