[go: up one dir, main page]

0% found this document useful (0 votes)
7 views15 pages

Library Management System

The document is a laboratory report on a Library Management System project submitted by students of Narsimha Reddy Engineering College as part of their OOP through Java course. It outlines the project's purpose, implementation, benefits, and features, emphasizing the system's ability to efficiently manage library operations and improve user experience. The report includes acknowledgments, a certificate of completion, and a structured table of contents.

Uploaded by

harshithr283
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)
7 views15 pages

Library Management System

The document is a laboratory report on a Library Management System project submitted by students of Narsimha Reddy Engineering College as part of their OOP through Java course. It outlines the project's purpose, implementation, benefits, and features, emphasizing the system's ability to efficiently manage library operations and improve user experience. The report includes acknowledgments, a certificate of completion, and a structured table of contents.

Uploaded by

harshithr283
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/ 15

Laboratory Report on

Library Management System

Submitted to the narshima reddy engineering college, Hyderabad in partial


fulfilment of the requirement for the award of the Laboratory of

OOP THROUGH JAVA


of
II-B.Tech. I-Semester
in
Computer Science and Engineering (Data Science)
Submitted by
Ch satwika (23X01A6632)
CH.VAMISHI (23X01A6633)
CH.KIRAN SAI (23X01A6634)
C.RITHVIK SWAMY (22R01A6726)
D.AVINASH (22R01A6727)

Under the Guidance Of


MrS. P.REVATY
(Asst. Prof., Dept of CSE(AI/ML))

NARSIMHA REDDY ENGINEERING COLLEGE


Approved By AICTE, Permanently Affiliated to JNTUH, Accredited With NBA
and NAAC-A Grade,UGC 2(f) & 12(B), Hyderabad Sy.No.518, Maisammaguda
(V), Kompally – 500100, Telangana state

2024-2025

1
NARSIMHA REDDY ENGINEERING COLLEGE
Approved By AICTE, Permanently Affiliated to JNTUH, Accredited With NBA
and NAAC-A Grade,UGC 2(f) & 12(B), Hyderabad Sy.No.518, Maisammaguda
(V), Kompally – 500100, Telangana state
.

Department of Computer Science and Engineering (AI/ML)

CERTIFICATE
This is to certify that a Micro Project entitled with: “Library Management System” is being
Submitted By

CH.SATWIKA (23X01A6632)
C.VAMSHI (23X01A6633)
CH.KIRAN SAI (23X01A6634)
C.RITVIK SWAMY (23X01A6635)
D.AVINASH (23X01A6636)
In partial fulfillment of the requirement for award of the OOP through Java lab of II-
B.Tech II- Semester in CSE(AI/ML) towards a record of a bonafide work carried out under
our guidance and supervision.

Signature of Faculty Signature of HOD


Mr. P. RAVATHY MR.VARA PRASAD
(ASSITANT PROFESSOR) HEAD OF
DEPARTMENT
DEPT OF CSE(AI/ML) DEPT OF CSE(AI/ML)

2
ACKNOWLEDGEMENT

We are extremely grateful to Dr. M. Janga Reddy, Director, Dr. B. Satyanarayana,


Principal and Dr. A. Nirmal Kumar, Head of Department, Dept of Computer Science
and Engineering (Data Science), CMR Institute of Technology for their inspiration and
valuable guidance during entire duration.

We are extremely thankful to our OOP through Java faculty in-charge Mr. P. Niranjan
Reddy, Computer Science and Engineering department, CMR Institute of Technology for
his constant guidance, encouragement and moral support throughout the project.

We express our thanks to all staff members and friends for all the help and coordination
extended in bringing out this Project successfully in time.

Finally, we are very much thankful to our parents and relatives who guided directly or
indirectly for successful completion of the project.

CH.SATWIKA (23X01A6632)
C.VAMSHI (23X01A6633)
CH.KIRAN SAI (23X01A6634)
C.RITVIK SWAMY (23X01A6635)
D.AVINASH (23X01A6636)

3
CONTENTS

S. No. Particulars Page No.


1. Abstract 5
2. Introduction 6
3. Purpose 7
4. Implementation (Code) 8-10
5. Output 11-13
6. Benefits and Features of Library 14
Management system
7. Conclusion 15

4
ABSTRACT

Library management system is a project which aims in developing a computerized system to


maintain all the daily work of library .This project has many features which are generally
not available in normal library management systems like facility of user login and a facility
of teachers login .It also has a facility of admin login through which the admin can monitor
the whole system It also has facility of an online notice board where teachers can student
can put up information about workshops or seminars being held in our colleges or nearby
colleges and librarian after proper verification from the concerned institution organizing the
seminar can add it to the notice board. It has also a facility where student after logging in
their accounts can see list of books issued and its issue date and return date and also the
students can request the librarian to add new books by filling the book request form. The
librarian after logging into his account i.e. admin account can generate various reports such
as student report, issue report, teacher report and book report Overall this project of ours is
being developed to help the students as well as staff of library to maintain the library in the
best way possible and also reduce the human efforts.

5
INTRODUCTION
Library Management System is a comprehensive system designed to assist in the efficient
and effective management of a library. This system aims to provide library staff with tools
to efficiently manage the library's collection, resources, and patron data.
Library Management System is an application which refers to library systems which are
generally small or medium in size. It is used by librarian to manage the library record
various transactions like issue of books, return of books, addition of new books, addition of
new students etc. Books and student maintenance modules are also included in this system
which would keep track of the students using the library and also a detailed description
about the books a library contains. In addition, report module is also included in Library
Management System. If user's position is admin, the user is able to generate different kinds
of reports like lists of students registered, list of books, issue and return reports. All these
modules are able to help librarian to manage the library.

6
PURPOSE:

The purpose of this project is to provide a friendly environment to maintain the details of
books and library members.

The main purpose of this project is to maintain easy circulation system using computers and
to provide different reports.

Improved user service through greater access to accurate information.

Due to computerized information, it reduces the risk of paper work such as file lost, file
damaged and time consuming. It can help user to manage the transaction or record more
effectively and timesaving.

7
IMPLEMENTATION
import java.util.Scanner;

public class LibraryManagementSystem {


static Scanner sc = new Scanner(System.in);
static String title, author, section;
static int quantity;

static class Book {


String title, author, section;
int quantity;

public Book(String title, String author, String section, int quantity) {


this.title = title;
this.author = author;
this.section = section;
this.quantity = quantity;
}
}

public static void main(String[] args) {


System.out.println("Welcome to Library Management System!");
Book[] books = new Book[100];
while (true) {
System.out.println("\n1. Add a Book");
System.out.println("2. Display all Books");
System.out.println("3. Checkout a Book");
8
System.out.println("4. Return a Book");
System.out.println("5. Exit");
System.out.print("Enter your choice: ");
int choice = sc.nextInt();
switch (choice) {
case 1:
addBook(books);
break;
case 2:
displayBooks(books);
break;
case 3:
checkoutBook(books);
break;
case 4:
returnBook(books);
break;
case 5:
System.out.println("Exiting...");
System.exit(0);
break;
default:
System.out.println("Invalid choice. Please try again.");
}
}
}

static void addBook(Book[] books) {


System.out.print("Enter title: ");
title = sc.next();
System.out.print("Enter author: ");
author = sc.next();
System.out.print("Enter section: ");
section = sc.next();
9
System.out.print("Enter quantity: ");
quantity = sc.nextInt();
books[0] = new Book(title, author, section, quantity);
System.out.println("Book added successfully!");
}

static void displayBooks(Book[] books) {


if (books[0] == null) {
System.out.println("No books in the library.");
return;
}
System.out.println("\nTitle\tAuthor\tSection\tQuantity");
for (Book book : books) {
if (book != null) {
System.out.println(book.title + "\t" + book.author + "\t" + book.section + "\t" +
book.quantity);
}
}
}

static void checkoutBook(Book[] books) {


System.out.print("Enter title of the book you want to checkout: ");
title = sc.next();
for (Book book : books) {
if (book != null && book.title.equalsIgnoreCase(title)) {
book.quantity--;
System.out.println("Book checked out successfully!");
return;
}
}
System.out.println("Book not found.");
}

static void returnBook(Book[] books) {


10
System.out.print("Enter title of the book you want to return: ");
title = sc.next();
for (Book book : books) {
if (book != null && book.title.equalsIgnoreCase(title)) {
book.quantity++;
System.out.println("Book returned successfully!");
return;
}
}
System.out.println("Book not found.");
}
}

11
12
OUTPUT

13
BENEFITS OF LIBRARY MANAGEMENT SYSTEM

 User friendly.
 Highly flexibility.
 Highly secure.
 Risk reduction.
 Inventory and stock management.
 Complete reports.
 No filling errors.

FEATURES OF LIBRARY MANAGEMENT SYSTEM

 Using library management system the librarian can catalogue and maintain all types
of books, journals, CD's etc.
 Provision to request for new titles, journals and magazines.
 Powerful search engine allows users to find information in the library in no time.
 Charge users for lost/damaged books.
 Automatic fine fees calculation.
 Newspapers attendance is maintained.

CONCLUSION
14
In conclusion, a Library Management System is an essential tool for libraries of all sizes. By
providing efficient and effective management of library operations, it helps ensure the
library remains a valuable community resource.
With the evolution of technology and it being so blended in our daily lives, it is imperative
that we discard time-consuming laborious methods to implement something which would be
so clean and compact to use through computers. This system provides efficient service to
the various users. Implemented with the best technology available, this software is
convenient to use and virtually fault-free, providing the users with a smooth and unique
experience

15

You might also like