0% found this document useful (0 votes)
103 views25 pages

Library Management System Project Report

fdg

Uploaded by

Tanmay Nimbalkar
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)
103 views25 pages

Library Management System Project Report

fdg

Uploaded by

Tanmay Nimbalkar
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

34

COMPUTER SCIENCE
PROJECT
(LASS- XIA
PROJECT PREPARED BY:

NAME OF THE STUDENT: TUSHAR YADAV

ROLL NUMBER : 14602152

PROJECT TOPIC : LIBRARY MANAGEMENT

PM SHRI KENDRIYA VIDYALAYA KHICHRIPUR


2023-2024
CERTIFICATE

THIS IS TO CERTIFY THAT THE PROJECT WORK ENTITLED

ABONAFIDE RECORD OF WORK


99

"LIBRARY MANAGEMENT IS

DONE BY TUHSAR YADAV. ROLL NO:14602152 IN PARTIAL


FULFILMENT FOR THE AWARDOF 12TH'A'STANDARD DURING THE

ACADEMICYEAR 2023- 2024.

SIGNATURE PF INTERNAL SIGNATURE OF EXTERNAL


EXAMINER EXAMINER
ACKNOWLEDGEMENT

Iwould like to take this opportunity to express my deep


sense of gratitude to all those peoplewithout whomthis project
could have never been completed. First and foremost Ilike to
thank God for giving me such agreat opportunity to work on this
project.
Iwould also like to thank our Principal - Mr Sandeep Kumar,
PM Shri Kendriya Vidyalaya Khichripur for her constant
encouragement and moral support without which I would have
never be able to give mny best.
|Iwould also like to thank Mrs. Suman, Computer Science
Teacher, PM Shri Kendriya VidyalayaKhichripur, who gave me the
wonderful opportunity to do this project, which also helped me
in doing alot of research and Icame to know about so many new
things from this study Iam really thankful to all.
INDEX

[Link] CONTENTS [Link] SIGNATURE


1. ABSTRACT
2. INTRODUCTION
3. SYSTEM REQUIREMENT
4. FEASIBILITY STUDY
5. ERRORS AND ITS TYPES
6. TESTING
7. MAINTENANCE
8. MODULES USED
9. REQUIREMENT
ANALYSIS
10. CODING
11. OUTPUT
12. CONCLUSION
13. BIBLIOGRAPHY
ABSTRACT
The aim of this project is to crcate a platform for people to find
the contact details in an easy and better way through python.
Some of the features of this program are:

1. Customers can give short and brief information of their


contact details.
2. The firm can get instant details about the customers in their
database.
3. With this python program, the firm can easily add and
delete the contact details of their customers.
4. The main details of the customers which are needed to be
recorded through this program are their:
" First name
" Last name
Gender
Age
" Address
Contact
INTRODUCTION
The computers have gained a lot of importance in the past five
decades. Most of our day-to-day jobs are being influenced by the use
of computers. Now a day, computers are used for performing almost
every function, which were performed by humans in thepast. In some
areas such as science and technology, targets can't be achieved
without the use of computers. The characteristics that make the
computer so important include its extra ordinary speed, large storage
capacity, accuracy and consistency.

Today computers play a great role in various industries and a large


number of industries are using computers for various application such
as maintaining cashbook, sales book, purchase book and other books
of accounts. Computers can also be used for the designing of various
products. Computers provide many options for the designing of
products.

The analysis of the project has been undertaken with utmost


sincerity and honesty and we will be extremetly satisfied if the effort is
appreciated.
SYSTEM REQUIREMENT

HARDWARE SPECIFICATIONS
The folowing is the hardware specification of the system on which the software has been
developed

Operating System Windows 7/10

Machine Used i3 Processor 2.8 GHz, 2 GB RAM, 500 GB Hard Disk

SOFTWARE SPECIFICATIONS
Front End Used Python
Backend Used CSV File
FEASIBILITY STUDY

proposed
During the course of completion of this project work, the complete analysis of
of the proposed
System was done. In the analysis task, a complete care about the feasibility
course of this
System was taken. The following feasibility analyses were carried out during the
project work on call management system for customer care

1 Economical feasibility
2. Technical feasibility
3. Operationalfeasibility
Economical Feasibility:
Economic analysis is the most frequently used method for evaluating the effectiveness of
because the benefits and
a candidate system. The proposed system is economically feasible
case
the savings that are expected from a candidate system outweigh the cost incurred. In this
of data, less
we are getting the intangible benefits in terms of low cost of maintenance
redundancy and getting the quick results.

Technical Feasibility:

The existing Hardware and Software facilities support the proposed system Computer
and storage mediaare available and software can be developed.

Hardware configuration:
a) Processor : i3
: 2 GB RAM
b) Memory
500 GB
c) HDcapacity
Software configuration:
a) Operating system Windows 7/10
b)Back end CSv files
c) Front end Python
There is nothng which is not technically feasible

Operational feasibility:
As in the case of present system the entire work is being done manually So the data
being Scattered, information retrieval becomes difficult and maintaining database is also very
tedious In case of proposed system, entire work will be done automatically. So the above
details regarding the feasibility study show that the design of the proposed system is verY
effective.
ERRORSAND ITS TYPES
the code that
Anerror, some time called "A BUGis anvthing in
Ihere
prevents a program from compiling and running correctly.
are broadly three Ivpes of errors as tollows:
1. Compile- time errors: Errors that occurs during
Compilation of aprogram is called compile time error. It
has two types as follows:

a. Syntax error: It refers to formal rules governing the


construction of valid statements in alanguage.

b. Semantics error: It refers to the set of rules which give the


meaning of a statement.
2. Run time Errors: Errors that occur during the execution of
program are runtime errors. These are harder to detect
errors. Some run-time error stop the execution of program
which is then called program "Crashed".
3. Logical Errors: Sometimes, even if you don't encounter any
error during compiling-time and runtime, your program does
not provide the correct result. This is because of the
programmer's mistaken analysis of the problem he or she is
trying to solve. Sucherrors are called logical error.
MAINTENANCE
Programming maintenance refers to the modifications in the
program. After it has been completed, in order to meet changing
requirement or to take care of the errors that shown up. There
are four types of maintenance:
1. Corrective Maintenance: When the program after
compilationshowS error because of some unexpected
situations, untested areas such errors are fixed up by Corrective
maintenance.

2. Adaptive Maintenance: Changes in the environment in


which an information systemoperates may lead to system
management. To accommodate changing needs time to time
maintenance is done and is called Adaptive maintenance.

3. Preventive Maintenance: If possible the errors could be


anticipated before they actually occur; the maintenance i
called Preventive maintenance.

4. Perfective Maintenance: In this rapidly changing worid,


information technology is the fastest growing area. If the
existing system is maintained to keep tuned with the new
features, newfacilities, newcapabilities, it is said tobe
Perfective maintenance.
MODULES USED

DATABASE

Database is an organized collection of structured information, or data,


typically stored electronically in a computer system. ... The data can then
be easily accessed, managed, modified, updated, controlled, and
organized. Most databases use structured query language (SQL) for
writing and querying data.

DELETE DATA

As we allare aware that Python considers everything as an object, that is


why
we can easily use delto delete a dictionary in Python by deleting
elements individually. Python del keyword can also be used to delete a
key-value pair from the input dictionary values. Syntax: del dict [key]
UPDATE DATA
Update and Edit The terms "update" and "edit" are used synonymously
to make changes to text, data, images and video. ... However, "update"
refers to changes within the same version, while "upgrade" means
switching to an entirely new version (upgrades are huge updates).
REQUREMENT ANALYSIS
Proposed system
Allthe four activities of systems have been automated and efforts have been made to minimize the
manual working.

Benefits Of Purposed System:


1. Less Paper Work
The paper work is reduced to minimal level. Computer prepares the lists of
customers.

2. No Manual Work.

There is no manual work. Allthe processes are done through computer.


3. Record of Librarys.
There is record of allthe Librarys who got registered.
4. Register Maintenance is Easier

Register can now easily be maintained by producing a report with a format of adding
Librarys' records

5. Data ls Not Scattered

Data is now stored at one place. Any information regardinganything can be easily
available to the user.

6. User-friendly Software
The software is be menu-driven and is very easy to use.

7. Flexibility

The system is more flexible than the manual system being used presently.
8. Beneficial

The system is easy to use and reduces the user'sworkload a lot. It provides timely
and accurate information and there automatic generation of reports.
Coding
CSV

e f newBook():
plnt ("Add a New Book Record")
print ("===: ====" )
f=open('Library. cSv', 'a',newline="\r\n')
S=[Link] (f)
BookId=int (input('Enter Book Id='))
BookName=input('Enter Book Name=')
Author=input ('Ernter Author=")
Cost=float (input('Enter Cost='))
rec=[BookId, BookName, Author,Cost]
[Link] (rec)
[Link] ()
print ("Record Saved. .. ")
input ("Press any key to continue.. ")

def updateBook():
print ("Modify a Book Record")
print ("====== =======*")
f=open ('[Link]','r',newline="\r\n')
fl=open ('[Link]', 'w', newline= \r\n')
fl=open ('[Link]','a',newline=!\r\n')
r=input ('Enter Book Id of Book you want to modify=')
S=[Link] (f)
sl=[Link] (f1)

for rec in s:
if rec [0]==r:
print ("BookId=", rec[0])
print ("BookName=", rec[1])
print ("Author=", rec[2])
print ("Cost=", rec[3])
choice=input ("Do you want to modify..?(y/n)=")
if choice=='y' or choice=='Y':
BookId=int (input ('Enter New BookId= '))
BookName=input('Enter new Book Name=')
Author=input ('Enter Author=)
Cost=float (input ('Enter Cost='))
rec= [BookId,BookName, Author, Cost]
[Link] (rec)
print ("Record Modified. .. ")
[Link]
else:
[Link](rec}

.close )
[Link] ()
[Link] ("[Link]"
os. rename ("[Link]", "Library. csv")
input("Press any key to cont inue...")
def deleteBook():
f=open("[Link]','r',newline='\r\n')
il=open([Link]',"w',newline='\r\n')
fl=open('[Link]', 'a',newline='\r\n')
r=input('Enter BookId of Book you want to delete')
S=[Link] (f)
sl=[Link] (f1)

for rec in s:
if rec [0] ==r:
print ("BookId=", rec(0])
print ("Book Name=", rec[1])
print ("Author=", rec[2] )
print ("Cost=", rec[3] )
choice=input (" Do you want to delete this record(y/n) =")
if choice==y' or choice=='y':
pass
print ("Record Deleted.. . ")
else:
[Link] (rec)
else:
[Link] (rec)
print ("No such record found. ..")
[Link] ()
[Link] ()
[Link]( "[Link]")
[Link] (" [Link]", "Library. csv")
input("Press any key to continue. . . ")

def searchBook():
print ("Search a Record")
print ("====*===*====-")
f=open('Libra: y. , newline " \ \ ' ) #Remove nene
Character from outu
I=lnput('Erter Boo:ld you want to search-')
S=[Link](

rec1n S:
1f rec{0 =r:
print ( "BookId=",rec[0])
print ("Book Name=", rec|])
print ("Author=", rec[2])
print ("Cost=", rec(3])
else:
print("No such record found.
[Link] ()
input ("Press any key to continue..")
def listBooks ():
print ("List of All Books")
print ("=: ====")
f=open('[Link]','r',newline=\r\n') #Remove neW line
character from output
S=[Link] (f)
for rec in s:
print (rec[0],end="\t\t")
print (rec[1), end="\t\t")
print (rec[2],end"\t\t")
print (rec(3])

[Link] ()
input("Press any key to continue. ..")

def nenu ():


choice=0
while choice!=6:
print ("\n")
print ("=====z==========================")
print ("Softare for Library Data Management")
print ("=====: =")
print ("\n==: ")
print ( "Main Menu")
print ("== ===")
print ("1. Add a new Book Record")
print ("2. Modify Existing Book Record")
print ("3. Delete Existing Book Record")
print ("4. Search a Book Record")
print ("5. List of all Books")
print ("6. Quit")
choice-int(input ('E:te youx choice"
1 choice==l:
newBook ()
elif choice=-2:
updateBook(}
choicCe==3:
deleteBook()
elif choice==4:
searchBook( )
elif choice==5:
1istBooks ()
elif choice==6:
print ( " Good Bye")
break
menu()
OUTPUT

Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021 [Link]) MSC V.1929 64 bit (AMD64) ] on win32
Type "help "copyright"credits" or "1icense() toz mOre infoxmation.

RESTART: /[Link]/C1ass 12/12c 21-22/Adil.M/project [Link]

Softare forLibrarV Data Management

Vain Menu

1. Add a new Book Record


2. Modify Existing Book Record
3. Delete Existing Book Record
4. Search a Book Record
5. List of all Books
6. Quit
Enter your choicel
Add a Nw Book Record
Enter Book Id=6867
Entez Book Name=jim jam
Enter Author=jaIes k
Enter Cost=506
Record Saved.
Press any key to continue..
Softare forLibrary Data Management

Main Menu

l. Add a new Book Record


2. Modify Existing Book Record
3. Delete Existing Book Record
Search a Book Record
List of ali Books
6. Quit
Enter your choicel
Add a New Book Record

Enter Book Id5588


Enter Book Namne=happy hours
Enter Author=zeus joy
Enter Cost=750
Record Saved..
PresS an key to continue
Softare for Library Data Management

Main Menu

l, Add a new Book Record


2. Modify Existing Book Record
3. Delete Existing Book Record
4. Search a Book Record
5, List of al1l Books
6. Ouit
Enter your choicel
Add a New Book RecOrd

Enter Book Id=5586


Enter Book Name-days of joy
Enter Author-mark jojo
Enter Cost=670
Record Saved..
Prees any key to continue..
Softare for Library Data Hanagement

Hain Menu

1. Add a new Book Record


Modify Existing Book Record
Delete Existing Book Record
4 Search a Book Record
5. List of a l l Books
6. Quit
Enter your choice2
Hodify a Book Record
Enter Book Id of Book you want to modify6867
BookId= 6867
BookName=jim am
Author= james k
Cost 506.0
Do you want to modify. ?(y/n)y
Enter New BookId=5587
Enter new Book Name-jim jam
Enter Author=james
Enter Cost=500
Record Modified.
Press any [Link] continue
Author=
Press jojoBookId= No Search
Book 5586 Enter Record
choice4
Enter Menu Softare
Cost=
670.0mark youra Quit 6. 5. 4. 3. 2. 1. Main
such List
Search Modify Add
Delete
Name=
any BookId
of
a
record for
a
neW
key Existing
allExisting
days Book
Book Library
you
to
found. Books
of Record
COntinue want
Record
Book Book
joy Data
to
Record
Record Management
.. search=5586
Press such No Menu
Main Softare
Deleted.
Record Author
Do zeusjovBookId-
750.0
Cost= Book 5588 choice3
No
rEnterEnter
vour Quit 6. 5. 2.
you such Searcn
List Modify Add
Delete
any Name Bookld
want a
recoId of fo
key
new
Existinga
to happv of all Existing
B00k Library
Book
to
delete found
hours oundBook Books
COntinue." Record Record
Book Book Data
vou
this
Record
Record Management
want
record
to
(y/n)=y delete-5588
Fress 5586 5587 choice5
ListEntez
your Main
5. 4. 3. 2. 1. Menu Sottare
List
SearchDelete
Modify Ada
of
any
A11 of for
key a
Existing new
allExisting
Books Book Libzary
to Book
Books
continue... daysjoyofjaímn Recozd
Book BookRecord Data
RecordRecord Management

james k

jojo
ark

500.0

670.0
WEBSITES Books
[Link]
[Link]" " Computer

BIBLIOGRAPHY
Science

with
Python

Sumita

Arora

You might also like