0% found this document useful (0 votes)
24 views17 pages

CS Project-1

Uploaded by

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

CS Project-1

Uploaded by

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

SBOA CBSE SENIOR SECONDARY

SCHOOL, MADURAI

LIBRARY MANAGEMENT
SYSTEM

By -
● Pranav Yadhuveer. S
● Shreenath. G
● Jeeva. V
● Janath Kumar. S. R

1
TABLE OF CONTENTS

S.No Content Page.No


1 INTRODUCTION

2 OBJECTIVES OF THE PROJECT

3 PROPOSED SYSTEM

4 SYSTEM DEVELOPMENT LIFE


CYCLE

5 PHASES SYSTEM DEVELPOMENT


LIFE CYCLE

6 FLOWCHART

7 TESTING

8 HARDWARE AND SOFTWARE


REQUIREMENT

9 SOURCE CODE

10 OUTPUT

11 BIBLIOGRAPHY

2
LIBRARY MANAGEMENT SYSTEM
INTRODUCTION

A library management system is a software that is designed to


manage all the functions of a library. It helps a librarian to maintain
the database of new books and the books that are borrowed by
members along with their due dates.

This system completely automates all your library's activities. The


best way to maintain, oraganize, and handle countless books
systematically is to implement a library management system
software.

A library management system is used to maintain library records. It


tracks the records of the number of books in the library, how many
books are issued, or how many books have been returned or
renewed or late fine charges, etc.

You can find books in an instant, issue/reissue books quickly, and


manage all the data efficiently and orderly using this system. The
purpose of a library management system is to provide instant and
accurate data regarding any type of book, thereby saving a lot of
time and effort.

3
OBJECTIVES OF THE PROJECT

The main objective of the project on the library management


system is to manage the details of the Student, Book Issues,
Librarian, Member. It manages all the information about the
students .The project is totally built at the administrative end and
thus only the administrator is guaranteed the access. The purpose
of the project is to build a web-based application program to reduce
the manual work for managing the student, books, issues.

● The objective of a library management system is to operate a


library with efficiency and at reduced costs The system being
entirely automated streamlines all the tasks involved in
operations of the library.

● The activities of book purchasing, catologing,


indexing,circulation recording and stock checking are done by
the software. Such software eliminates the need for repetitive
manual work and minimizes the chances of errors.

● The system saves time for both the user and the librarian.
With just a click the user can search the books available in the
library. The Librarian can answer queries with ease regarding
the availability of books.

4
PROPOSED SYSTEM

Proposed system is an automated Library Management


System. Through our software user can add members, add
books, search members, search books, update information, edit
information, borrow and return books in quick time. Our
proposed system has the following advantages.

● User friendly interface

● Fast access to database

● Less error

● More Storage Capacity

● Search Facility

● Look and Feel Environment

● Quick transaction

All the manual difficulties in managing the library have been


rectified by implementing computerization.

5
SYSTEM DEVELOPMENT LIFE
CYCLE

The System Development Life Cycle (SDLC) is a process


that is used to design, develop, and maintain software
systems. It consists of several phases, including planning,
analysis, design, implementation, testing, and
maintenance.

● The Library management System shall be required to


maintain information about its users and books.

● It shall store databases for students, teachers, and books.

● The student database stores information about a student's


roll no., Course and year.

● The book database stores information about a book id,


book title, author, publisher and year of publishing.

● The teacher database stores information about a teacher's


id, name, department and designation and telephone
number.

6
PHASES OF SYSTEM
DEVELOPMENT LIFE CYCLE

1. Planning Phase :

● Before we even begin with the planning stage, the best tip we can give
you is to take time and acquire a proper understanding of the app
development lifecycle.

● The planning stage (also called the feasibility stage) is exactly what it
sounds like the phase in which developers will plan for the upcoming
project.

● It helps to define the problem and scope of any existing systems, as well
as determine the objectives for their new systems.

● By developing an effective outline for the upcoming development cycle,


they'll theoretically catch problems before they affect development.

● And help to secure the funding and resources they need to make their
plan happen.

● Perhaps most importantly, the planning stage sets the project schedule,
which can be of key importance if development is for a commercial
product that must be sent to market by a certain time.

7
2. Requirement analysis phase :

● The analysis stage includes gathering all the specific details


required for a new system as well as determining the first ideas for
prototypes.

● Developers may:

Define any prototype system requirements


Evaluate alternatives to existing prototypes

● Perform research and analysis to determine the needs of end-users


Furthermore, developers will often create a software requirement
specification or SRS document.

● This includes all the specifications for software, hardware, and


network requirements for the system they plan to build. This will
prevent them from overdrawing funding or resources when
working at the same place. as other development teams.

3. Design phase :

● The design stage is a necessary precursor to the main developer


stage. Developers will first outline the details for the overall
application, alongside specific aspects, such as its:

User interfaces

System interfaces

8
● Network and network requirements

● Databases

● They'll typically turn the SRS document they created into a more
logical structure that can later be implemented in a programming
language. Operation, training, and maintenance plans will all be
drawn up so that developers know what they need to do
throughout every stage of the cycle moving forward.

● Once complete, development managers will prepare a design


document to be referenced throughout the next phases of the
SDLC.

4. Development phase :

● The development stage is the part where developers actually write


code and build the application according to the earlier design
documents and outlined specifications.

● This is where Static Application Security Testing tools come into


play.

● Product program code is built per the design document


specifications. In theory, all of the prior planning and outlining
should make the actual development phase relatively
straightforward.

9
● Developers will follow any coding guidelines as defined by the
organization and utilize different tools such as compilers,
debuggers, and interpreters.

● Programming languages can include staples such as C++, PHP, and


more. Developers will choose the right programming code to use
based on the project specifications and requirements.

5. Integration and test phase :

● Building software is not the end. Now it must be tested to make sure that there aren't
any bugs and that the end-user experience will not negatively be affected at any
point.

● During the testing stage, developers will go over their software with a fine-tooth
comb, noting any bugs or defects that need to be tracked, fixed, and later retested.

● It's important that the software overall ends up meeting the quality standards that
were previously defined in the SRS document.

● Depending on the skill of the developers, the complexity of the software, and the
requirements for the end-user, testing can either be an extremely short phase or take
a very long time.

● After testing, the overall design for the software will come together.

6. Implementation phase :

The information system will be integrated into its environment and


eventually installed. After passing this stage, the software is theoretically
ready for market and may be provided to any end-users.

7. Operation and Maintenance phase :

● The SDLC doesn’t end when software reaches the market.


Developers must now move into maintenance mode and begin

10
practicing any activities required to handle issues reported by
end-users.
● Furthermore, developers are responsible for implementing any
changes that the software might need after deployment.

● This can include handling residual bugs that were not able to be
patched before launch or resolving new issues that crop up due to
user reports. Larger systems may require longer maintenance
stages compared to smaller systems.

11
REQUIREMENTS

HARDWARE :
● Printer to print the project report.

● Compact Disc.

● Ram 4 GB to 8GB

● Hard Disk 1024Gb

SOFTWARE :
● Operating System Windows 10

● IDLE Python For Execution Of Program.

● MS Word For Report Presentation.

12
SOURCE CODE
bk=[]
novbk=["Ponniyin selvan","The adventures of tintin","The adventures of sherlock
holmes","The Lord of the Rings","Emma","Great Expectations","His dark materials
trilogy","Middlemarch","Adventures of Huckleberry Finn","Diary of a Nobody"]
stobk=["Panchathanthira","The three little pigs","Call of the wild"]
engbk=["snapshot","moments","Footprints without feet","Hornbill","Voyagers"]
csbk=["Learn python","learn c++","Learn Java","Learn C#","Learn HTML","Learn
CSS","Learn Javascript"]
scibk=["S.l.Arora","All in one science","MTG science","Fullmarks science"]
socbk=["Gurukul social science, Oswal social science, All in One social science"]
matbk=["R.D.Sharma, Handbook of mathematics, The mathematics of the universe","The
Vedic mathematics"]
otherbk=["Encyclopedia","world famous scientists","Biography of APJ Abdul kalam"]
opt=int(input("The options are : \n 1. Add a new book \n 2. Search for a book \n 3. Sell a
book for rent \n 4. Display the books of the selected category \n 5. Exit \n Enter the option :
"))
if opt ==1:
while True:
bkname=input("Enter the book name : ")
print("SUBJECTS: 1.English 2.Maths 3.Science 4.Social Studies 5.Computer Science
6.Novels 7. Story Books 8. Others")
bksub=input("Enter the subject of the book (1,2,3,4,5,6,7) :")
if bksub == 1:
engbk.append(bkname)
elif bksub == 2:
matbk.append(bkname)
elif bksub == 3:
scibk.append(bkname)
elif bksub == 4:
socbk.append(bkname)
elif bksub == 5:
csbk.append(bkname)
elif bksub == 6:
novbk.append(bkname)
elif bksub == 7:
stobk.append(bkname)
else:
otherbk.append(bkname)
bkauth=input("Enter the Author of the book:")
bkpri=float(input("Enter the price of the book:"))
bkid=int(input("Enter the book id:"))
nbk=[bkname,bksub,bkauth,bkpri,bkid]
bk.append(nbk)
print("The new book is added",bk)
ans=input("Do you want to add another book? (yes/no)")

13
if ans in "NOno":
break
elif opt ==2:
sbkname=input("Enter the book name to search :")
if sbkname in engbk:
print("The book is in the English category")
elif sbkname in matbk:
print("The book is in the Maths Category")
elif sbkname in scibk:
print("The book is in the Science Category")
elif sbkname in socbk:
print("The book is in the Social Studies Category")
elif sbkname in csbk:
print("The book is in the Computer science Category")
elif sbkname in novbk:
print("The book is in the Novels Category")
elif sbkname in stobk:
print("The book is in the Story Books Category")
elif sbkname in otherbk:
print("The book is in the Others Category")
else:
print("The book is not found")
elif opt==3:
rnt=[]
rentcus=input("Enter the customer name :")
rentbk=input("Enter the book name :")
if rentbk in engbk:
print("The book is available in english category")
elif rentbk in matbk:
print("The book is available in maths category")
elif rentbk in scibk:
print("The book is available in science category")
elif rentbk in socbk:
print("The book is available in social studies category")
elif rentbk in csbk:
print("The book is available in computer science category")
elif rentbk in novbk:
print("The book is available in novels category")
elif rentbk in stobk:
print("The book is available in story books category")
elif rentbk in otherbk:
print("The book is available in others category")
else:
print("The book is not found")
rentdue=input("Enter the due date :")
rentadd=input("Enter the address of the customer :")
rent=[rentcus,rentbk,rentdue,rentadd]
rnt.append(rent)

14
print("The book is rented to",rentcus)
elif opt==4:
sele_bk=int(input("Enter the category of the book (1.English 2.Maths 3.Science 4.Social
Studies 5.Computer Science 6.Novels 7. Story Books 8. Others) : "))
if sele_bk == 1:
print("The books in English category are :",engbk)
elif sele_bk == 2:
print("The books in Maths category are :",matbk)
elif sele_bk == 3:
print("The books in Science category are :",scibk)
elif sele_bk == 4:
print("The books in Social Studies category are :",socbk)
elif sele_bk == 5:
print("The books in Computer Science category are :",csbk)
elif sele_bk == 6:
print("The books in Novels category are :",novbk)
elif sele_bk == 7:
print("The books in Story Books category are :",stobk)
elif sele_bk == 8:
print("The books in Others category are :",otherbk)
else:
print("Invalid option")
elif opt==5:
print("Thank you for using the library management system")

15
OUTPUT
For option 1 :

The options are:


1. Add a new book
2. Search for a book
3. Sell a book for rent
4. Display the books of the selected category
5. Exit
Enter the option: 1
Enter the book name: Harrypotter and the goblit of fire
SUBJECTS: 1. English 2.Maths 3.Science 4.Social Studies 5. Computer Science 6. Novels
7. Story Books 8. Others
Enter the subject of the book (1,2,3,4,5,6,7) :6
Enter the Author of the book: JK rowling
Enter the price of the book: 123.50
Enter the book id: 12345
The new book is added [['Harrypotter and the goblit of fire', '6', 'JK rowling', 123.5, 12345]]
Do you want to add another book? (yes/no) no

For option 2 :

The options are:


1. Add a new book
2. Search for a book.
3. Sell a book for rent
4. Display the books of the selected category
5. Exit
Enter the option: 2
Enter the book name to search ponniyin Selvan
The book is not found

The options are:

1. Add a new book


2. Search for a book
3. Sell a book for rent
4. Display the books of the selected category
5. Exit
Enter the option: 2
Enter the book name to search Ponniyin selvan
The book is in the Novels Category

For option 3 :

The options are:

16
1. Add a new book 2. Search for a book
3. Sell a book for rent
4. Display the books of the selected category
5. Exit
Enter the option: 3
Enter the customer name : Jeeva
Enter the book name : Ponniyin selvan The book is available in novels category
Enter the due date: 12.12.2023
Enter the address of the customer anna nagar Madurai
The book is rented to Jeeva

For option 4 :

The options are:

1. Add a new book

2. Search for a book

3. Sell a book for rent

4. Display the books of the selected category

5. Exit

Enter the option: 4

Enter the category of the book (1. English 2. Maths 3.Science 4. Social Studies 5.Computer
Science 6. Novels 7. Story Books 8. Others): 5 The books in Computer Science category
are:
['Learn python', 'learn c++', 'Learn Java', 'Learn C#', 'Learn HTML', 'Learn CSS', 'Learn
Javascript']

17

You might also like