0% found this document useful (0 votes)
267 views16 pages

Library Management System

The document provides information about a library management system including: 1) Level 0 and level 1 data flow diagrams showing the flow of data between students, staff, and the library management system for activities like borrowing books, returning books, and paying fines. 2) Algorithms for validating students, borrowing books, validating staff, and returning books. 3) A use case diagram showing use cases for students, staff, and the librarian including borrowing books, returning books, renewing books, adding books, and calculating fines. 4) An entity relationship diagram is mentioned but not shown, implying database tables will be used to store student, book, borrowing, and other data.

Uploaded by

Sumit Garg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
267 views16 pages

Library Management System

The document provides information about a library management system including: 1) Level 0 and level 1 data flow diagrams showing the flow of data between students, staff, and the library management system for activities like borrowing books, returning books, and paying fines. 2) Algorithms for validating students, borrowing books, validating staff, and returning books. 3) A use case diagram showing use cases for students, staff, and the librarian including borrowing books, returning books, renewing books, adding books, and calculating fines. 4) An entity relationship diagram is mentioned but not shown, implying database tables will be used to store student, book, borrowing, and other data.

Uploaded by

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

Library

Management
System
DFD LEVEL 0
STUDENT

pay
book ID of fees
book to be book ID of login fine details
returned book to be
borrowed return
date pay fines

Library login
Management STAFF
System
fines

add/update Library
Books info fees
fine
info

LIBRARIAN
DFD LEVEL 1
Library LIBRARIAN
1.registration fees
pay fees Add/update
books info

3.Add/update books
Students DB
STUDENT
Login
Book ID of Fine info
Book to be 2.Validate Student Books DB
borrowed & borrow a book

Return date
Book ID of
Book to be Books DB Borrowed DB
returned

4.Validate staff & Login STAFF


return a book
Fine details fines

pay fines Staff DB


DFD LEVEL 2
Return date

Book ID of book to
be borrowed

Login 2.1 Student 2.2


STUDENT
Validate Student details Borrow a book

Students DB Books DB Borrowed DB


DFD LEVEL 2
STUDENT

Fine details
Pay
Book ID of book Fines
to be returned

Login 4.1 Staff 4.2


STAFF
Validate Staff details Return a book

Staff DB Books DB Borrowed DB

Fine info

Fines LIBRARIAN
ALGORITHMS
2.1). Validate Student :
1. Input Students Login credentials on student login page.
2. Verify the login details with the student database.
3. Give access to borrow the book if the login is valid, else show error.

2.2). Borrow a Book :


1. Input book Id of the book to be borrowed.
2. Check in the book database for the availability of the book.
If it is available, borrow the book and give return date to the student and
make an entry in the borrowed book database.
Otherwise, show that book is not available.
4.1). Validate Staff :
1. Input Staffs Login credentials on staff login page.
2. Verify the login details with the staff database.
3. Give access to the library page if the login is valid, else show error.

4.2). Return a Book :


1. Input book Id of the book returned by the student.
2. Check whether the book is returned within the issued time period. If not,
then display the fine which is to be paid by the student. Else, terminate.
3. Give fine details to student.
4. Collect fine from student.
5. Forward fine info to librarian.
6. Remove the corresponding entry from borrowed book database and make
that entry in available books database.
USE CASE DIAGRAM
check_limit

1 requests
1..* check_availability
1
1
Student 1 <<include>>
issue_book
request_renew

<<include>> 1
performs 0..* verify_member
Librarian
1
give_book

<<include>>
renew_book
adds_new_book
0..*
perform_transaction_updation
*
Staff *
return_book
Calculate_fines
View_logs <<extend>> add_book

calculate_fine
update_record
ER DIAGRAM

You might also like