Question

In: Computer Science

Library Management System allows the user to borrow and return the books. The book is identified...

Library Management System allows the user to borrow and return the books. The book is identified by book name, accession number, item category, due date, due time, and status. Before the user proceeds to borrow or return the books, they need to register for an account. Each user can have only one account. The user can be a staff or student. Each user is identified by ID number, name, school/department name, address. The books are arranged on a shelf. The shelf can be of two categories: open shelf or red spot. The user is allowed to reserve the book, in case, if the book is already borrowed by someone. While reserving a book, the user needs to specify the user name, ID number, book name, and accession number.

##Based on the above scenario, draw a Class Diagram. Your diagram should include attributes, methods and multiplicity.

Solutions

Expert Solution

Answer:- Library Management System class diagram includes Library Management System Class, the attributes, the methods and also describes the relationships among the objects. The Library management System is the main base class that includes Students, Books, Book issue, User, Address.

Classes of the Library Management System included in Class Diagram as below:

Student Class – All the operations of Student class are managed in this class.

Books Class – All the operations related to Books are managed in this class.

Book Issue Class – All the operstion related to book issues are managed in this class

User Class – All the operations related to the user is managed in this class

Address Class- All the operations related to Address are managed in this class

Classes and the Attributes of Library management System Class Diagram are as below:   

Student Attributes – student_id, student_name, student_user_name, student_password, student_address, student_college_id

Books Attributes: student_id, book_id, book_name, accession_number, item_category,due_date, due_time, status

Book Issue Attributes – issue_student_id, issue_date, issue_id, book_id, book_name, accession_number, issue_due_date,issue_due_time,issue_renewal,issue_description

User Attributes – user_id, user_name, user_role_id, user_role_password, user_address

Address Attributes - address_id, address_student_id, address_description

Classes and the Methods of Library management System Class Diagram are as below:

Student Methods – addstudents() ,editstudents() ,savestudents() , deletestudents() ,searchstudents()

Books Method - addbooks() ,editbooks() ,savebooks() ,updatebooks(), deletebooks() ,searchbooks()

Book issue Method - addbookissue() ,editbookissue() ,savebookissue() ,updatebookissue(), deletebookissue() ,searchbookissue()

User Method - addsuser() ,edituser() ,saveuser() ,updateuser(), deleteuser() ,searchuser()

Address Method - addAddress() ,editAddress() ,saveAddress() ,updateAddress(), deleteAddress() ,searchAddress()

Class Diagram of Library Management System is as below:

  

     


Related Solutions

A Library Management System is designed to carry out the management of library books in the...
A Library Management System is designed to carry out the management of library books in the library. In order to carry out the receipt and issuance of books, the library management information system must store, organize, share, and retrieve information. Part 1: Describe Your Library Management Information System: Part 2: Draw a Use Case Diagram for Your System: *Use case descriptions are optional Part 3: Draw a Class Diagram for Your System: Part 4: Draw a Sequence Diagram for Your...
Create a C# application for Library that allows you to enter data for books and saves...
Create a C# application for Library that allows you to enter data for books and saves the data to a file named Books.txt. Create a Book class that contains fields for title, author, number of pages, and price of the book and ToString() method. The fields of records in the file are separated with asterisk (*). Expecting sentinel value for ending the process of writing to file is "000"
Go to a local library; collect a sample of books consisting of the ages of book...
Go to a local library; collect a sample of books consisting of the ages of book (based on copyright dates). Plan and describe the sampling procedure, then use the results to construct a confidence interval estimate of the mean age of all books in the library. Please, post and share your results with the class.
Create a library system Description: Library system is aimed to computerize the library management operations. Example,...
Create a library system Description: Library system is aimed to computerize the library management operations. Example, registring a student, issuing a book,Handling book returns,etc. Required skill set: OOP,Arrays Use File handling if necessary The language is visual studio c++
Write a OOP class called BookList that uses a Book class and allows multiple books to...
Write a OOP class called BookList that uses a Book class and allows multiple books to be entered into a BookList object. Include normally useful methods and boolean addBook(Book b), Book searchBook(String title, String author). addBook returns true if b is successfully added to the list. searchBook returns a book matching either the title or author from the current list. You do not need to write Book (assume there are suitable constructors and methods) or any test code (main). You...
A library system lends books for periods of 21 days. This policy is being reevaluated in...
A library system lends books for periods of 21 days. This policy is being reevaluated in view of a possible new loan period that could either lengthen or shorten the 21-day period. To aid in this decision, book-lending records were consulted to determine the loan periods actually used by the patrons. A random sample of eight records revealed that following loan periods in days: 21, 15, 12, 24, 20, 21, 13, and 16. Do the actual loan periods differ from...
A LIBRARY MANAGEMENT SYSTEM is a Public Library. Currently it has about 300 members. A person...
A LIBRARY MANAGEMENT SYSTEM is a Public Library. Currently it has about 300 members. A person who is 18 or above can become a member. There is a membership fee of USD 100 for a year. There is a personal details form to be filled . These forms are kept in store for maintaining members’ records and knowing the membership period. A member can issue a maximum of three books. He/she has three cards to issue books. Against each card...
4. The DuPont System allows us to relate the return on total assets and the return...
4. The DuPont System allows us to relate the return on total assets and the return on common equity to various measures of firm characteristics. Consider a firm with a ROA of 0.04. a. If you were analyzing a firm that had sales of $12500 and total assets of $10000, how much in earnings were available for common shareholders? b.If the firm had common stockholders' equity of $3300, what would be the firm's ROE? c. If we compare this firm...
Consider a library management system and create the problem statement for that. For domain modelling what...
Consider a library management system and create the problem statement for that. For domain modelling what are the domain classes that might be included in a model? What are some of the associations among these classes? What are some of the attributes of each class? Draw a domain model class diagram for this system
Task # 1: Create a Context Diagram that describes the following: A library management system that...
Task # 1: Create a Context Diagram that describes the following: A library management system that works as described below: When a new book arrives, the librarian open a menu item, which display a message that prompts him to enter the following details: Complete ISBN, Title, Author, and Book Info. The book management system will create a file and save this file on a file management system. Task # 2: Create a Context Diagram that describes the following: An ATM...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT