Library Management Updated PDF
Library Management Updated PDF
PROJECT REPORT
Yashvardhan (11726818)
Class : XII A
CERTIFICATE
The report is the result of their Efforts and Endeavour. The report
is found worthy of acceptance as the final project report for the
subject computer science of Class XII.
personal efforts.
JASMEET (11726803)
RUDRAKSH (11726815)
YASHVARDHAN (11726818)
Class XII - A
ACKNOWLEDGEMENT
Last but not least, We would like to thank all those who had
helped directly and indirectly towards this project.
JASMEET (11726803)
RUDRAKSH (11726815)
YASHVARDHAN (11726818)
CONTENTS
5
LIBRARY MANAGEMENT SYSTEM
Introduction
The Library Management System is basically a database-based project
done with help of python language. Although it was developed for CBSE
Board Final Practical Exam 2025 but Library Management System
provides all basic functionalities which are needed in a small sized
library. It was developed by keeping in mind the requirements of a
small library which needs automatization of its work of managing
students and book details.
6
Objectives of the Project
7
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human beings who
really want to stand against today’s merciless competition where not too
wise saying “to err is human” is no longer valid, it’s outdated to
rationalize your mistake. So, to keep pace with time, to bring about the
best result without malfunctioning and greater efficiency so to replace
the unending heaps of flies with a much-sophisticated hard disk of the
computer.
One has to use the data management software. Software has been
an ascent in atomization in various organisations. Many software
products working are now in markets, which have helped in making the
organizations work easier and efficiently. Data management initially
had to maintain a lot of ledgers and a lot of paperwork had to be done
but now software products in this organization have made their work
faster and easier. Now only this software has to be loaded on the
computer and work can be done.
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be
obtained by clicking the button. Moreover, now it’s an age of computers
and automating such an organization gives a better look.
8
SYSTEM DEVELOPMENT LIFE CYCLE
(SDLC)
9
PHASES OF SYSTEM DEVELOPMENT LIFE
CYCLE
Initiation Phase
The Initiation Phase begins when a business sponsor identifies a need
or an opportunity.
The purpose of the Initiation Phase is to:
● Identify and validate an opportunity to improve business
accomplishments of the organization or a deficiency related to a
business need.
● Identify significant assumptions and constraints on solutions to
that need.
● Recommend the exploration of alternative concepts and methods
to satisfy the need including questioning the need for technology,
i.e., will a change in the business process offer a solution?
● Assure executive business and executive technical sponsorship.
The Sponsor designates a Project Manager and the business need
is documented in a Concept Proposal. The Concept Proposal
includes information about the business process and the
relationship to the Agency/Organization.
● Infrastructure and the Strategic Plan. A successful Concept
Proposal results in a Project Management Charter which outlines
the authority of the project manager to begin the project.
10
SYSTEM CONCEPT DEVELOPMENT PHASE
11
● Construction of executable prototypes is encouraged to evaluate
technology to support the business process. The System Boundary
Document serves as an important reference document to support
the Information Technology Project Request (ITPR) process.
● The ITPR must be approved by the State CIO before the project
can move forward.
12
PICTORIAL REPRESENTATION OF SDLC
13
PLANNING PHASE
14
REQUIREMENTS ANALYSIS PHASE
15
SOFTWARE AND HARDWARE USED
SOFTWARE:
(JupyterLab)
HARDWARE:
RAM : 8GB
Settings:
Others
16
DESIGN PHASE
17
● Developing a conversion plan to migrate current data to the new
system.
18
FLOW CHART
19
DATABASE AND TABLES
Login Table
Issued Table
student table
Available_book
20
DEVELOPMENT PHASE
21
SOURCE CODE
'''____________FUNCTIONS_____________'''
23
t_id, t_name, t_subject, t_quan = data
if t_quan > 0:
mycursr.execute('INSERT INTO issued VALUES (%s, %s, %s,
%s, %s, %s)',(idd, t_name, t_subject, s_name, s_id, s_class))
mycursr.execute('UPDATE available_book SET quantity=%s
WHERE id=%s', (t_quan - 1, idd))
mycursr.execute('SELECT * FROM student WHERE
Student_Id=%s', (s_id,))
student_data = mycursr.fetchone()
if student_data:
updated_books = student_data[3] + ", " + t_name
mycursr.execute('UPDATE student SET Book_Issued=%s
WHERE Student_Id=%s',(updated_books, s_id))
else:
mycursr.execute('INSERT INTO student VALUES (%s, %s,
%s, %s)',
(s_name, s_id, s_class, t_name))
24
ch=input('Do You Want To Return More Books?(Y/N)')
if ch!='Y':
break
else:
mycursr.execute('''SELECT * FROM available_book WHERE
id=%s''', (idd,))
book = mycursr.fetchone()
if book:
t_id, t_name, t_subject, t_quan = book
quan = t_quan + 1
mycursr.execute('''DELETE FROM issued WHERE id=%s
AND s_name=%s AND s_class=%s''', (idd, s_name, s_class))
mycursr.execute('''UPDATE available_book SET quantity=%s
WHERE id=%s''', (quan, idd))
mydb.commit()
print('Book returned successfully.')
ch=input('Do You Want To Return More Books?(Y/N)')
if ch!='Y':
break
25
mycursr.execute('select * from student')
print('''| NAME | STUDENT_ID | CLASS |
BOOKNAME |''')
for i in mycursr:
a,b,c,d=i
print(f'{a} {b} {c} {d} ')
#____________MAIN PROGRAM________________
while True:
print('''1.Login
2.exit
''')
ch=int(input('''Enter Your Choice'''))
if ch==1:
pas=input('Enter The Password To Login-')
mycursr.execute('select * from login')
for i in mycursr:
t_user,t_pass=i
if pas==t_pass:
print()
print('Login Success')
loop1='n'
while loop1=='n':
print('''
_______________
1.Add New Books
2.Remove Any Books
3.Issue Books To Students
4.Return Books
5.View Available Books
6.View Issued Books
7.View Student's Data
8.Logout
_______________
''')
ch=int(input('Enter Your Choice'))
if ch==1:
26
insertion()
elif ch==2:
deleter()
elif ch==3:
issuer()
elif ch==4:
returner()
elif ch==5:
displayer_available()
elif ch==6:
displayer_issued()
elif ch==7:
data()
elif ch==8:
break
else:
print('Enter Valid Choice (1-7)')
else:
print('enter the valid password')
elif ch==2:
break
else:
print('please input valid choice')
print('''
1.login
2.exit
''')
27
OUTPUT
LOGIN INTERFACE
28
TO ADD NEW BOOKS
29
TO REMOVE ANY BOOK
30
TO RETURN BOOKS
31
TO VIEW STUDENTS DATA
TO LOGOUT
32
TESTING PHASE
Software Testing is an empirical investigation conducted to
provide stakeholders with information about the quality of the product
or service under test[1] , with respect to the context in which it is
intended to operate. Software Testing also provides an objective,
independent view of the software to allow the business to appreciate
and understand the risks at implementation of the software. Test
techniques include, but are not limited to, the process of executing a
program or application with the intent of finding software bugs.
It can also be stated as the process of validating and verifying
that a software program/application/product meets the business and
technical requirements that guided its design and development, so that
it works as expected and can be implemented with the same
characteristics. Software Testing, depending on the testing method
employed, can be implemented at any time in the development process,
however the most test effort is employed after the requirements have
been defined and coding process has been completed.
Subsystem integration, system, security, and user acceptance
testing is conducted during the integration and test phase. The user,
with those responsible for quality assurance, validates that the
functional requirements, as defined in the functional requirements
document, are satisfied by the developed or modified system. OIT
Security staff assess the system security and issue a security
certification and accreditation prior to installation/implementation.
33
Multiple levels of testing are performed, including:
34
IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and
accepted by the user. In this phase, the system is installed to support
the intended business functions. System performance is compared to
performance objectives established during the planning phase.
Implementation includes user notification, user training, installation of
hardware, installation of software onto production computers, and
integration of the system into daily work processes. This phase
continues until the system is operating in production in accordance with
the defined user requirements.
35
OPERATIONS AND MAINTENANCE PHASE
The system operation is ongoing. The system is monitored for
continued performance in accordance with user requirements and
needed system modifications are incorporated. Operations continue as
long as the system can be effectively adapted to respond to the
organization’s needs. When modifications or changes are identified, the
system may enter the planning phase.
36
CONCLUSION
37
BIBLIOGRAPHY
● Website: https://www.google.com
● en.Wikipedia.org
● Website: https://www.quora.com/
● Website: https://www.scribd.com
***
38