0% found this document useful (0 votes)
2 views

Software Engineering Lab

The document outlines a software engineering assignment focused on a library management system, detailing the use case diagram and actors involved. It identifies primary and secondary actors, including users and librarians, and lists various use cases such as registering, borrowing, and returning books. Additionally, it describes relationships between actors and use cases, emphasizing the interactions necessary for managing library operations.

Uploaded by

Aryan Baibaswata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Software Engineering Lab

The document outlines a software engineering assignment focused on a library management system, detailing the use case diagram and actors involved. It identifies primary and secondary actors, including users and librarians, and lists various use cases such as registering, borrowing, and returning books. Additionally, it describes relationships between actors and use cases, emphasizing the interactions necessary for managing library operations.

Uploaded by

Aryan Baibaswata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Software Engineering Lab -

Assignment 02
Name: Aryan Baibaswata
Roll Number: 2023UCS1561
CSE-1

Consider a library, where a member can perform two operations: issue book and return it.
A book is issued to a member only after verifying his credentials. Draw a use case diagram for the
problem:
Table 1: List of Actors

Actor Type Description


User Primary Can avail Library Management
System Facilities; may be staff
(i.e. faculty) or students
Librarian Secondary Can manage the library
database, library members;
handles fines and the return of
books

Table 2: List of use cases

# Use Case Description


UC1 Register Allows to register and create
an account for all transactions
UC2 Login LMS authenticates the user
and allows them to avail the
facilities
UC3 Borrow Books A member can request to
borrow a specified book
against their account
UC4 Return Books A member can request to
return the book issued earlier
by them
UC5 Issue Book Librarian can accept the
request for borrowing the
book and mark it against the
member’s account details
UC6 Accept returned books Librarian accepts the returned
book, which adds the book
back into the system for other
users to issue
UC7 Issue late fee If the book has been returned
late, the librarian can issue a
fine that the member who
returned the book must pay
UC8 Pay late fee If the book has been returned
late, then the user must pay a
late fee to the library
UC9 Managing the library database Librarian can add, delete and
modify records in the library
database (e.g. adding a new
book, modifying the number of
copies, deleting books that are
not available in the library
anymore)
UC10 Managing the library member Librarian can allow new
database registrations for the library
usage, modify and update the
member data (e.g. adding fines
to their account, adding issued
books to their account), and
delete the user data if the
member is not available
anymore and has cleared all
dues.

Table 3:

# Relationship Type
R1 User ↔ Login Association
R2 User ↔ Borrow Books Association, Includes Login
R3 User ↔ Return Books Association, Includes Login
R4 User ↔ Pay Late Fees Association, Extends Return
Books
R5 Librarian ↔ Issue Book Association, Includes Login
R6 Librarian ↔ Managing Library Association
Database
R7 Librarian ↔ Managing Association
Member Database
R8 Librarian ↔ Accept Returned Association
Books
R9 Return Book ↔ Pay Late Fees Extends
R10 Managing Library Database ↔ Includes
Add records
R11 Managing Library Database ↔ Includes
Update Records
R12 Managing the Library Database Includes
↔ Delete Records
R13 Managing the Member Includes
Database ↔ Add records
R14 Managing the Member Includes
Database ↔ Update Member
Details
R15 Managing Member Database Includes
↔ Access Member Details

You might also like