Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Directions: Create the model based on the information of the following description and on your knowledge of UML. Record your answers at the last

1. Directions: Create the model based on the information of the following description and on your knowledge of UML. Record your answers at the last section of this document.
3.The Description of the Library Management System

In the library management system, students who want to borrow books must firstly register an account in the system and then get a corresponding borrowing card. The account in the system is called borrower and has the student's name, faculty and borrowing card number. A student having a borrowing card can borrow books, return books, and query borrowing information. But these operations can only be performed by librarians, because only the librarians are allowed to interact with the system. When borrowing books, students firstly enter the library to find the books they want to borrow, and then go to the service desk to hand over the borrowing cards and books to the librarian for lending. When the librarian performs the borrowing operation, the first step is to input the student's borrowing card number. After receiving the number, the system verifies whether the borrowing card is valid. Even if the card is valid, the lending attempt will be denied if the number of the books the borrower borrowed has reached the upper limit or the borrower has a book overdue. If the borrower is verified, the borrower's information will be displayed to prompt the librarian to enter the book id to be borrowed. Each time the librarian enters a book id, the system generates a borrowing record and add it to the student account.

When a student comes to return his books, what he needs to do first is that hand over the books to the librarian. The librarian is responsible for inputting the book id. After receiving book id, the system verifies whether the book is belong to the library. If so, the system deletes the corresponding borrowing record, update the corresponding student account. When the book is returned, the borrower will also be checked whether there is a book he borrowed overdue. Students can also check their own borrowing records.

In order for the system to function properly, the system requires administrators to maintain the system.

According to the description above, the following functional requirements about the library management system can be obtained:

Each student holds a borrowing card;

As a proxy for the borrower, the librarian can borrow books, return books, and query borrowing operations;

The system administrator is responsible for the maintenance of the system: adding or deleting the borrowing card, adding or deleting the administrator, adding or deleting the book, adding or deleting the title information.

It should be noted that "Book" is different from "Title". In a library, different kinds of books that wrote by different authors or published by different publisher may have same title (name). Furthermore, there may be multiple books of the same kind. The system uses the item, title, to distinguish each kind of book. The title in the system includes the book title, the publisher, the author, and the ISBN. Each single book can be distinguished by a unique number. In the implementation of the system, the title for a book is represented by the Title class, and the book is represented by the Book class.

3Questions

Question 1: UML Structural

Depict the architecture with class diagram(s). The component diagram(s) and deployment diagram for the system are optional.

Question 2: UML Behavioral

Depict the requirements with a use case diagram. The use case diagram contains at least 4 use cases. Model the behaviors mentioned in the use case specifications using interaction diagrams. Model the business process with activity diagram(s). Provide the state machine diagrams for the one or two most important objects of the system.

Note: Each diagram except use case diagrams must be accompanied by a brief explanation.

4. Results and Analysis (Record your answer at this section.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions