The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 4 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
Show how your solution to Problem 12.15 can be used to design and implement a menu-driven product for the library circulation system (Problem 8.7).
Problem 12.15:
Use the finite state machine approach to specify the library circulation system of Problem 8.7.
Problem 8.7:
Â
Consider an automated library circulation system. Every book has a bar code, and every borrower has a card bearing a bar code. When a borrower wishes to check out a book, the librarian scans the bar codes on the book and the borrower’s card, and enters C at the computer terminal. Similarly, when a book is returned, it is again scanned and the librarian enters R . Librarians can add books ( + ) to the library collection or remove them ( − ). Borrowers can go to a terminal and determine all the books in the library by a particular author (the borrower enters A= followed by the author’s name), all the books with a specific title ( T= followed by the title), or all the books in a particular subject area ( S= followed by the subject area). Finally, if a borrower wants a book currently checked out, the librarian can place a hold on the book so that, when it is returned, it will be held for the borrower who requested it ( H= followed by the number of the book). Explain how you would ensure a high percentage of reusable code artifacts.
-----------