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

Java

Uploaded by

aartichandolkar7
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Java

Uploaded by

aartichandolkar7
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,

MUMBAI

A
MICRO PROJECT REPORT
ON

“DEVELOP A LIBRARY MANAGEMENT SYSTEM”

SUBMITTED BY
AARTI RAMESH CHANDOLKAR
VIDYA VINAYAK MADDE
SANIKA SANDIPRAO PAUL

GUIDED BY
“MS. CHOUDHARY N.G”

DEPARTMENT OF COMPUTER ENGINEERING


INDIRA INSTITUTE OF TECHNOLOGY (POLYTECHNIC),
VISHNUPURI, NANDED.
ACADEMIC YEAR (2023-2024)

I
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI

CERTIFICATE

CERTIFIED THAT THE MICROPROJECT REPORT ENTITLED


“DEVELOP A LIBRARY MANAGEMENT SYSTEM”

Is a bonafied work carried out by Aarti Ramesh Chandolkar, Vidya Vinayak


Madde, Sanika Sandiprao Paul in partial fulfillment for the award of diploma in
Computer Engineering of the Maharashtra State Board of Technical Education Mumbai
during the year 2023-2024.It has been certified that all the corrections/suggestions indicated
for internal assessment has been incorporated in the report deposited in the Department
library.The Micro-project report has been approved as it satisfied the academic requirements
in respect of Micro-project for the Diploma.

Course In-Charge HOD PRINCIPAL


(Ms. Choudhary N. G.) (Ms. Choudhary N.G.) (Dr. Agrawal E. S.)

DEPARTMENT OF COMPUTER ENGINEERING


INDIRA INSTITUTE OF TECHNOLOGY (POLYTECHNIC),
VISHNUPURI, NANDED.

II
ACKNOWLEDGEMENT
I offer my sincere thank with a deep sense of gratitude to my guide “Ms.
CHOUDHARY N.G.” and Head Of Department “Ms. CHOUDHARY N.G.” for their
valuable direction and guidance to my micro project work his meticulous attention
towards my micro project without taking of his voluminous work. I am also thankful to
our principle “Dr. AGRAWAL E. S.” for his encouragement towards my micro project.
Last but not least I am also thankful to all staff members of our department for their
valuable guidance during my micro project work.

Sincerely

Name Roll no
Aarti Ramesh Chandolkar 01
Vidya Vinayak Madde 08
Sanika Sandiprao Paul 12

Branch : Computer Engineering.


Class : CO4I

III
Evaluation Sheet For The Micro Project
Academic Year : 2023-2024. Name Faculty : MS. CHOUDHARY N. G.
Course : Java Programming Course Code : 22412 Semester : 4I

Title of the project : “DEVELOP A LIBRARY MANAGEMENT


SYSTEM’’
Major learning outcomes achieved by the students by doing this project :
A) Practical Outcomes In Cognitive Domain :
1) Apply Information Technology knowledge to solve broad-based Information
Technology related knowledge.
2) Apply appropriate computer engineering related technique /tools with an understanding
of the limitations.
B) Unit Outcome In Cognitive Domain:
1) Apply ethical principles for commitment to professional ethics, responsibilities and
norms of the practice also in the field of computer engineering.
C) Outcomes In Effective Domain:
1) Follow ethical practices.
2) Follow precautionary measures.

D) Comments/Suggestions About Team Work/Leadership/Interpersonal


Communications (If Any)

Marks out Marks out of


of 6 for 4 for
Roll performance performance Total out of
Student Name
no. in group in oral / 10
activity (d5 presentation
col.8) (d5 col.9)
Aarti Ramesh
19.
Chandolkar
24. Vidya Vinayak Madde
22. Sanika Sandiprao Paul

IV
INDEX

Sr. Page
Particulars
No. No.

Part-A 1

1.1 Introduction 1

1.2 Aim Of The Micro Project 1

1.3 Action Plan 2

1.4 Resource Used 3

Part-B 4

2.1 What Is Library Management System? 9

2.2 Features Of Library Management System 10

2.3 How Do You Manage A Library? 10

2.4 Importance Of Library Management System 11

2.5 What Is JAVA? 13

2.6 Program Code 14

2.7 Output 19

2.8 Conclusion 21

2.9 References 22

V
Part-A
1.1 INTRODUCTION
Library Management System project is developed using JAVA.The Project is based on the
concept of managing book records.Talking about the project, it contains lots of features. A
user can manage all the records, such as borrowed, return books, history, reader, users etc.

Planned Name of
Sr. Planned
Details of Activity Finish Responsible Team
No. Start Time
Date Members

Decide the Subject of Aarti Ramesh


1
project Chandolkar

Vidya Vinayak Madde


Collect information of
2
project

Sanika Sandiprao Paul


3 Creating report

1.2 Aim Of The Micro Project :

To develop library management system using JAVA

1.3 Action Plan :

Department Of Computer Engineering 6


1.4 Resources Used :

Sr. Name of
Specifications Quantity Remark
No. Resources

Department Of Computer Engineering 7


Computer (i3-i5
Hardware prefarable),
01) Computer RAM minimum 2GB and
System onwards,HDD free Space
1GB or more

As per For all


batch practical of
Size used

Operating
02) Windows 7/Linux or higher
System

03) Software Notepad, Command promt

PART-B
2.1 What Is Library Management System?
Talking about the features of the Library Management System, he/she can manage the
each and every book records. In order to manage borrowed books, he/she has to search
readers id, name, type, accession number, title, publisher and availability. The admin can also

Department Of Computer Engineering 8


list all the borrow history and manage readers record by providing reader id, number, name,
sex and type.Talking about books section, the user has to provide book code, title and
publisher name for the record. This section contains CRUD functions. For the easy
management of the system, it contains user management too.

The user can generate the report on the basis of most borrowed books, readers who
paid the most penalty or borrowed many times. Talking about database, it contains Ms
access.Design of this is so simple that user won’t find difficulties while working on it. This
project is easy to operate and understood by the users.

To run this project you must have installed Visual Studio IDE and MS Access on your
PC. Library Management System in JAVA is free to download with source code. Every
librarian wants something that would make their work easier inside the library. We all know
that it’s not very easy to handle lots of books with different categories. That’s why
this Library Management System in JAVA is very helpful for school or public libraries.

With the use of this Library Management System in JAVA, it will be easier for the
librarian/admin to manage the books in categorical order. He has the ability to add books,
groups, issue and return books. He can also view book report, customer details and rented
book details. The admin should also provide all the details about the books such as ID, name,
Publisher, Author, Year, Price, Edition and many more.

2.2 Features Of Library Management System :

1. User Management
2. Borrow books, history, return books
3. Manage reader

Department Of Computer Engineering 9


4. Manage books
5. Generate report
6. Manage Borrowers
7. Manage Groups
8. Issue Books
9. Return Books
10. View Rented Books
11. Generate Reports
12. Change Background Picture

2.3 How Do You Manage A Library ?


Managing a library requires knowledge of library management and skills to perform
the activities. The task involves planning, decision making, organizing, collecting and
disbursing information and controlling and monitoring the various functions.

The management should have an objective for running the library. They should have a
clear idea of the members they wish to serve. The selection of books in different categories is
dependent on the interests of the members.

An understanding of the organizational hierarchy will enable proper delegation of


responsibilities to the personnel employed. Governmental regulations regarding structure,
space and systems should be in place.A budget has to be allocated for the operation of the
library. Maintenance of the library has to be scheduled on a regular basis. Dusting, cleaning,
pest control, exposure to air and sunlight, replacement of fixtures is essential in preserving
the library.

A proper inventory check has to be done annually to record the details of books incirculation.
Provisions for the replacements have to be done accordingly.These are the basics for
operating a library efficiently.

2.4 Importance Of Library Management System :

1. Enhance Efficiency :

Department Of Computer Engineering 10


Monitoring daily data on the total number of volumes issued, unreturned, reissued,
and available can be a time-consuming chore for a librarian.

A school library management system boosts the effectiveness of a library by enabling


all tasks to be accomplished with a single click, making the work of a librarian easier.
Signing into individual accounts allows students to access the catalogue, their book status,
and other information.

In addition to that, they can be informed of due dates for returning books,
notifications to pay late fines, and more through SMS.

2. Keep Track Of Data :

Any educational institution requires data, and library books are a vital asset. Manual
data management raises risks such as data misplacement and data input errors.

Using a library management system, the whole catalogue can be maintained along
with the details of library books, reissued, unreturned, and available. They can be retrieved
with a few easy clicks. This functionality also makes it easy for management to keep track of
all existing materials.

For example, if the librarian requires the current number of a specific genre, the
system can instantly provide the count. Because it is computer-based, this program keeps a
more accurate record of the available materials. It enables the librarian to organize the books
b y title, author, publication date, or whatever works best for the library.

3. Boost Productivity :

Having a management system in libraries can significantly streamline overall


efficiency.

With records of the books available with a single click, a portal for real-time analysis,
and a direct connection with students, the system can handle the majority of the tasks, saving
the team a substantial amount of time.

4. Saves Time :

Department Of Computer Engineering 11


The conventional way of managing library activities can take a while. During the
examination period, the number of students using the library surges, causing students to wait
even longer than usual.

At this time, using library management software can be incredibly advantageous. The
library team can issue books to students promptly while also using their track record to
efficiently distribute the books. Students can also check the catalogue to see if the book they
require is presently available. This can save both students and the library staff a significant
amount of time.

The future scope of library management systems will relieve the stress of manual
Labour by automating complex activities and saving time.

5. Economical :

Educational institutions have a budget for technological investments. As a result,


some institutes may regard such systems as a significant financial investment.

The sheer volume of materials in a library makes it difficult for librarians to


physically track books and other publications. But technology automates this type of Labour.
This saves Labour costs in addition to having low maintenance costs and efficiency.

6. Management Of Resources :

Managing the demand and availability of books can be difficult for librarians. With
the assistance of a library management system, they can swiftly verify the records, see the
history, and issue the books accordingly.

They can make book issuance and return faster and smarter with the help of SMS
notifications and alerts.

7. Effective Collection Of Late Fee :

Late fines from students who fail to return books on time make it difficult for the
librarian to collect. This system enables students to get automated SMS notifications and
messages regarding books issued, late library fees, due dates, and more.

As a result, the library can verify a student's book record and issue payments the next
time they come to pay their fees.

Department Of Computer Engineering 12


8. Safety :

System updates and maintenance are performed on a regular basis to guarantee that
user databases are always confidential and safe.

A library management system is regularly upgraded to ensure that it is error-free and


can handle large user increases.

9. Improves Reporting And Monitoring :

Self-updating records in an automated library management system offer dynamic


reporting and oversight. It enables more efficient bookings, distribution of material, and user
tracking.

10. Both Ends Find It Easier To Use :

The benefits of using a library management system extend beyond management. This
tool will also help end users.

Furthermore, the library management system allows both parties to view materials in
circulation as well as their current state. This improves communication and the flow of
procedures in the library.

2.5 What Is JAVA?


Java is a computing platform, class-based, high-level object-oriented programming
language that has been first released in the year 1995 by Sun Microsystems. From humble
beginnings, it has evolved to power a large share of today's digital world by giving a reliable
platform using which many different services, as well as applications, are built. New,
innovative products and digital services that are designed for the future will also continue to
rely on Java. Java is a programming language that is secure, fast, and reliable for coding
everything from enterprise software to server-side technologies and big data applications.

2.6 Program Code :

Department Of Computer Engineering 13


import java.util.ArrayList;
import java.util.Scanner;
class Book {
private String title;
private int quantity;
private boolean available;
public Book(String title, int quantity) {
this.title = title;
this.quantity = quantity;
this.available = true;
}public String getTitle() {
return title;
}
public int getQuantity() {
return quantity;
}public boolean isAvailable() {
return available;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public void setAvailable(boolean available) {
this.available = available;
}
}
class Student {
private String name;
public Student(String name) {
this.name = name;}
public String getName() {
return name;
}
}
public class LibraryManagementSystem

Department Of Computer Engineering 14


{
private static ArrayList<Book> books = new ArrayList<>();
private static ArrayList<Student> students = new ArrayList<>();
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
boolean exit = false;
while (!exit)
{
System.out.println("Library Management System Menu:");
System.out.println("1. Add a new book");
System.out.println("2. Upgrade quantity of a book");
System.out.println("3. Search a book");
System.out.println("4. Show all books");
System.out.println("5. Register a student");
System.out.println("6. Show all registered students");
System.out.println("7. Check out a book");
System.out.println("8. Check in a book");
System.out.println("9. Exit application");
System.out.print("Enter your choice: ");
int choice = scanner.nextInt();
scanner.nextLine(); // Consume newline
switch (choice)
{
case 1:
addNewBook(scanner);
break;
case 2:
upgradeBookQuantity(scanner);
break;
case 3:
searchBook(scanner);
break;
case 4:

Department Of Computer Engineering 15


showAllBooks();
break;
case 5:
registerStudent(scanner);
break;
case 6:
showAllRegisteredStudents();
break;
case 7:
checkOutBook(scanner);
break;
case 8:
checkInBook(scanner);
break;
case 9:
exit = true;
break;
default:
System.out.println("Invalid choice. Please enter a number between 1 and 9.")}}
System.out.println("Exiting the application. Thank you!");}
private static void addNewBook(Scanner scanner)
{
System.out.print("Enter book title: ");
String title = scanner.nextLine();
System.out.print("Enter quantity: ");
int quantity = scanner.nextInt();
scanner.nextLine(); // Consume newline
Book book = new Book(title, quantity);
books.add(book);
System.out.println("Book added successfully.");
}
private static void upgradeBookQuantity(Scanner scanner)
{
System.out.print("Enter book title: ");

Department Of Computer Engineering 16


String title = scanner.nextLine();
System.out.print("Enter additional quantity: ");
int additionalQuantity = scanner.nextInt();
scanner.nextLine(); // Consume newline
for (Book book : books)
{
if (book.getTitle().equalsIgnoreCase(title))
{
int currentQuantity = book.getQuantity();
book.setQuantity(currentQuantity + additionalQuantity);
System.out.println("Quantity upgraded successfully.");
return;
}
}
System.out.println("Book not found.");
}
private static void searchBook(Scanner scanner)
{
System.out.print("Enter book title: ");
String title = scanner.nextLine();
for (Book book : books) {
if (book.getTitle().equalsIgnoreCase(title)) {
System.out.println("Book found:");
System.out.println("Title: " + book.getTitle());
System.out.println("Quantity: " + book.getQuantity());
System.out.println("Availability: " + (book.isAvailable() ? "Available" : "Not
Available"));
return;
}
}
System.out.println("Book not found.");
}
private static void showAllBooks() {
System.out.println("List of all books:");

Department Of Computer Engineering 17


for (Book book : books) {
System.out.println("Title: " + book.getTitle() + ", Quantity: " + book.getQuantity() +
", Availability: " + (book.isAvailable() ? "Available" : "Not Available"));
}
}
private static void registerStudent(Scanner scanner) {
System.out.print("Enter student name: ");
String name = scanner.nextLine();
Student student = new Student(name);
students.add(student);
System.out.println("Student registered successfully.");
}
private static void showAllRegisteredStudents() {
System.out.println("List of all registered students:");
for (Student student : students) {
System.out.println("Name: " + student.getName());
}
}
private static void checkOutBook(Scanner scanner) {
System.out.print("Enter book title: ");
String title = scanner.nextLine();
for (Book book : books) {
if (book.getTitle().equalsIgnoreCase(title)) {
if (book.isAvailable()) {
book.setAvailable(false);
System.out.println("Book checked out successfully.");
return;
} else {
System.out.println("Book is not available for checkout.");
return;
}
}
}
System.out.println("Book not found.");

Department Of Computer Engineering 18


}
private static void checkInBook(Scanner scanner) {
System.out.print("Enter book title: ");
String title = scanner.nextLine();
for (Book book : books) {
if (book.getTitle().equalsIgnoreCase(title)) {
if (!book.isAvailable()) {
book.setAvailable(true);
System.out.println("Book checked in successfully.");
return;
} else {
System.out.println("Book is already available.");
return;
}
}
}
System.out.println("Book not found.");
}
}

2.7 Output

Department Of Computer Engineering 19


1. System Menu

2. Register Student

3. Add Book

4.Show all registered Student

5. Upgrade book quanlity

Department Of Computer Engineering 20


6. Book checked out

7. Book checked in

8. Show all books

10. Exit

2.8 Conclusion
A library management system is software that is designed to manage all the functions of a
library. It helps librarian to maintain the database of new books and the books that are
borrowed by members along with their due dates.

Department Of Computer Engineering 21


This system completely automates all your library’s activities. The best way to maintain,
organize, and handle countless books systematically is to implement a library management
system software.The Library Management System Project in Java represents a significant
step forward in developing efficient, scalable, and user-friendly library management
solutions. Through the library management system article, we have explored the myriad
features that make this project necessary and innovative in its approach to managing
library resources.

From detailed system requirements to the intricacies of coding in Java using inheritance,
this project exemplifies the power of Java in creating robust applications. The benefits of
working on such a Java program extend beyond mere academic exercise; they encompass
practical, real-world applications that enhance library operations and user experience. As
we look towards the future of library management systems, it’s clear that projects like
these, developed with Java, will continue to set the benchmark for excellence.

2.9 References

1. Book Name: Core Java (TM), Author Name: Cay S. Horstmann, Edition:2007, Volume: I
—Fundamentals.
2. Book Name: JAVA: The Complete Reference, Author Name: Herbert Schildt, Edition:
2005, Volume: I – Fundamentals.

Department Of Computer Engineering 22


3. Book Name: Java: A Beginner's Guide, Author Name: Herbert Schildt, Edition: 2002,
Volume: I : Core Technologies.
4. Book Name: JAVA2, Author Name: Herbert Schildt, Edition:1997, Volume: Li—
Advanced Features.
5. Book Name: JAVA RMI, Author Name: Troy Downing, Edition:1998, Volume: I—
Fundamentals.

Department Of Computer Engineering 23

You might also like