In: Computer Science
Draw the Use Case Diagram for the case
You have to create a Community Library Borrowing System based on the following requirements:
When new books arrive, these books must be cataloged into the system by a librarian (i.e., entered in the system). The system also needs to record who has borrowed what books. When someone (called a patron in library terms) borrows a book, the system checks his or her library card to ensure that it is still valid and records the book under his or her account. The system must also check to ensure that the borrower does not have any overdue books or unpaid fines before he or she can borrow another book. If the borrower has unpaid fines (e.g., fines for overdue/lost/damaged book), he or she must pay the fines before borrowing another book. If the borrower has overdue books, he or she must return these books before borrowing another book.
When someone returns a book, the system needs to record who has returned what books. Sometimes a patron reports a lost book or returns a book in a damaged condition. A librarian will then update the library catalog by removing these books from the system and impose a fine on the borrower.
Every morning the system will automatically print a report of every book that is overdue by more than two weeks. The librarians will then telephone the borrowers to remind them to return the books.