SlideShare a Scribd company logo
A PROJECT REPORT
ON
Library Management System
FOR
AISSCE 2024 EXAMINATION
As a part of the Informatics Practices Course (065)
SUBMITTED BY:
Name of the Student Hall ticket Number
1) Lokesh.R
Under the guidance of
Mr.SivaPrasad G
PGT in Informatics Practices
DEPARTMENT OF INFORMATICS PRACTICES
SRI CHAITANYA TECHNO SCHOOL
Kothanur Dinne Main Road, Near Bus Stop 8th Phase, JP Nagar, Jumbo Sawari, Dinne, Bengaluru,
Karnataka 560078
Page.1
CERTIFICATE
This is to certify that the Project / Dissertation entitled library Management System is a
bonafide work done by Mr. Lokesh R of class XII in partial fulfillment of CBSE’s AISSCE
Examination 2023-24 and has been carried out under my direct supervision and guidance.
This report or a similar report on the topic has not been submitted for any other
examination and does not form a part of any other course undergone by the candidate.
Signature of Student Signature of Teacher/Guide
Name: ……………………. Name: SivaPrasad G
Roll No.: …………………… Designation: PGT in IP
Signature of Principal
Name:
Place: JP Nagar
Date:……………..
Page.2
ACKNOWLEDGEMENT
I would like thank the institution for giving the opportunity to
encase and display our talent through this project.
I would like to thank my Informatics Practices teacher
Mr.SivaPrasad G for having the patience to guide me at every
step in the project
I am also grateful to the CBSE BOARD for challenging and giving
us this project in which we all were so engrossed.
I would also like to thank my parents and friends who helped me
in getting the right information for this project.
Page.3
PROJECT ON
LIBRARY MANAGEMENT
2023-2024
Page.4
INDEX
Sr.no. Particulars Page
1 Project Analysis 06
2 Functions and Modules 07
3 Detailed Description 10
4 Source Code 11
5 Outputs and Tables 17
6 Bibliography 28
7 Remarks 29
Page.5
PROJECT ANALYSIS
Our application program is specially
designed for the public library named
“READING COMMUNITY.”
They lend books to readers who have subscribed
with the library.
We have tried to maximise the efficiency and strived for
customer and user ease as well as satisfaction.
We have thoroughly examined the needs of the library
and after the analysis, we have constructed the program.
We have used PYTHON and MYSQL as our platform
to carry out this task.
Page.6
FUNCTIONS AND MODULES
Modules:
import mysql.connector:
By importing this package, we are able to establish the
connection between SQL and Python.
FUNCTIONS:
connect():
This function establishes connection between Python and
MySQL
cursor():
Page.7
It is a special control structure that facilitates the row-
byrow processing of records in the result set.
The Syntax is:
<cursor object>=<connection object>.cursor()
execute():
This function is used to execute the sql query and retrieve
records using python.
The syntax is:
<cursor object>.execute(<sql query string>)
def():
A function is a block of code which only runs when it is
called.
fetchall():
This function will return all the rows from the result set in
the form of a tuple containing the records.
fetchone():
This Function will return one row from the result set in the
form of a tuple containing the records.
Page.8
commit():
This function provides changes in the database physically.
DETAILED DESCRIPTION
 ) Our Project has 3 MySQL tables. These are: -
1.) Books
2.) Issue
3.) Return
1) The table Books contain the following columns:
a) bname
b) author
c) bcode
d) total
e) subject
2.) The table Issue contain the following columns:
a.) name
b.) regno
Page.9
c.) bcode
d.) issue_date
3.) The table Return contain the following columns:
a.) name
b.) regno
c.) bcode
d.) return_date
SOURCE CODE
For MySQL:
create database library_app;
use library_app; create table
books (bname varchar(50),
author varchar(50), bcode
varchar(50), total int(50),
subject varchar(50));
create table issue (name
varchar(50), regno
Page.10
varchar(50), bcode
int(50), issue_date
varchar(50));
create table return
(name varchar(50), regno
varchar(50), bcode
int(50), return_date
varchar(50));
For Python:
import mysql.connector as a
con=a.connect(host='localhost',user='root',passwd='9586',data
base='library_app')
def addbook(): bn=input("Enter
Book Name: ") ba=input("Enter
Author's Name: ")
c=int(input("Enter Book Code: "))
t=int(input("Total Books: "))
s=input("Enter Subject: ")
data=(bn,ba,c,t,s)
sql='insert into books values(%s,%s,%s,%s,%s);'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("nnnnBook Added Successfully..........nnnn")
wait = input('nnnPress enter to continue.....nnnnnn')
main()
Page.11
def issueb(): n=input("Enter
Student Name: ")
r=int(input("Enter Reg No.: "))
co=int(input("Enter Book Code: "))
d=input("Enter Date: ")
a="insert into issue values(%s,%s,%s,%s);"
data=(n,r,co,d) c=con.cursor()
c.execute(a,data)
con.commit()
print("nnnnBook issued successfully to: ",n)
wait = input('nnnPress enter to continue.....nnnnnn')
bookup(co,-1)
main()
def returnb(): n=input("Enter
Student Name: ")
r=int(input("Enter Reg No.: "))
co=int(input("Enter Book Code: "))
d=input("Enter Date: ")
a="insert into return_ values(%s,%s,%s,%s);"
data=(n,r,co,d) c=con.cursor()
c.execute(a,data)
con.commit()
print("Book returned by: ",n)
wait = input('nnnPress enter to continue.....nnnnnn')
bookup(co,1) main()
def bookup(co,u): a="select total from books
where bcode=%s;" data=(co,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
t=myresult[0]+u
Page.12
sql="update books set total=%s where bcode=%s;"
d=(t,co)
c.execute(sql,d)
con.commit()
wait = input('nnnPress enter to continue.....nnnnnn')
main()
def dbook(): ac=int(input("Enter
Book Code: "))
a="delete from books where bcode=%s;"
data=(ac,) c=con.cursor()
c.execute(a,data)
con.commit()
print("Book deleted successfully")
wait = input('nnnPress enter to
continue.....nnnnnnnnnnnn')
main()
def dispbook(): a="select *
from books;"
c=con.cursor() c.execute(a)
myresult=c.fetchall() for i
in myresult: print("Book
name: ",i[0])
print("Author: ",i[1])
print("Book code: ",i[2])
print("Total:",i[3])
print("Subject:",i[4])
print('nn')
wait = input('nnnPress enter to
continue.....nnnnnnnnnnnn')
Page.13
main()
def report_issued_books():
a="select * from issue;"
c=con.cursor()
c.execute(a)
myresult=c.fetchall() for
i in myresult:
print(myresult)
wait = input('nnnPress enter to
continue.....nnnnnnnn')
main()
def report_return_books():
a="select * from return_;"
c=con.cursor()
c.execute(a)
myresult=c.fetchall() for i
in myresult:
print(myresult)
wait = input('nnnPress enter to
continue.....nnnnnnnnnnnn')
main()
def main():
print("""
L I B R A R Y M A N A G E M E N T A P P L I C A T I O N
_________________________________________________
Page.14
1. ADD BOOK
2. ISSUE OF BOOK
3. RETURN OF BOOK
4. DELETE BOOK
5. DISPLAY BOOKS
6. REPORT MENU
7. EXIT PROGRAM
""")
choice=input("Enter Task No:......")
print('nnnnnnn')
if(choice=='1'): addbook()
elif(choice=='2'):
issueb()
elif(choice=='3'):
returnb()
elif(choice=='4'):
dbook()
elif(choice=='5'):
dispbook() elif(choice=='6'):
print(''' R E P O R T M E N U
______________________
1. ISSUED BOOKS
2. RETURNED BOOKS
3. GO BACK TO MAIN MENU
nnn
''')
choice=input("Enter Task No:......")
print('nnnnnnn') if
choice=='1':
report_issued_books()
elif choice=='2':
Page.15
report_return_books()
elif choice=='3':
main()
else:
print("Please try again........nnnnnnnnn")
main() elif(choice=='7'):
print('nnnnnnnnnnnnThank you and have a great day
ahead...............nnnnnnnnnnnnnnn') else:
print("Please try again........nnnnnnnnnnnn")
main()
main()
OUTPUTS AND TABLES
Page.16
 OUTPUTS:
1.) Add a Book:
Page.17
2.) Issue a Book:
3.) Return of Book:
Page.18
4.) Delete a Book:
Page.19
5.) Display Books:
Page.20
Ii
6.) Report Menu:
Page.21
Page.22
7.) Exit Program:
Page.23
 TABLES:
1.) Select * from Books:
Page.24
2.) Select * from Issue:
Page.25
3.) Select * from Return_
Page.26
BIBLIOGRAPHY
Page.27
 To develop this project many references
were used:
1. INFORMATICS PRACTICES Class XII
2. https://www.google.com
REMARKS

More Related Content

Similar to Lokesh 's Ip project Pokemon information

project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQL
vikram mahendra
 
LIBRARY MANAGEMENT library management.pptx
LIBRARY MANAGEMENT library management.pptxLIBRARY MANAGEMENT library management.pptx
LIBRARY MANAGEMENT library management.pptx
ishitabhargava124
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
rosemarybdodson23141
 
class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)
gaurav kumar
 
OOP.pptx
OOP.pptxOOP.pptx
OOP.pptx
saifnasir3
 
SQL Optimizer vs Hive
SQL Optimizer vs Hive SQL Optimizer vs Hive
SQL Optimizer vs Hive
Vishaka Balasubramanian Sekar
 
Data herding
Data herdingData herding
Data herding
unbracketed
 
Data herding
Data herdingData herding
Data herding
unbracketed
 
Data visualization in python/Django
Data visualization in python/DjangoData visualization in python/Django
Data visualization in python/Django
kenluck2001
 
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
Tobias Meixner
 
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin HuaiA Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
Databricks
 
Report-Template.docx
Report-Template.docxReport-Template.docx
Report-Template.docx
MuhammadHamzaAmin2
 
FluentMigrator - Dayton .NET - July 2023
FluentMigrator - Dayton .NET - July 2023FluentMigrator - Dayton .NET - July 2023
FluentMigrator - Dayton .NET - July 2023
Matthew Groves
 
Databases with SQLite3.pdf
Databases with SQLite3.pdfDatabases with SQLite3.pdf
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
HIMANSHU .
 
React Native custom components
React Native custom componentsReact Native custom components
React Native custom components
Jeremy Grancher
 
Python SQite3 database Tutorial | SQlite Database
Python SQite3 database Tutorial | SQlite DatabasePython SQite3 database Tutorial | SQlite Database
Python SQite3 database Tutorial | SQlite Database
ElangovanTechNotesET
 
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) kerenTutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Sony Suci
 
Friend this-new&delete
Friend this-new&deleteFriend this-new&delete
Friend this-new&delete
Shehzad Rizwan
 
Databricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdfDatabricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdf
SkillCertProExams
 

Similar to Lokesh 's Ip project Pokemon information (20)

project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQL
 
LIBRARY MANAGEMENT library management.pptx
LIBRARY MANAGEMENT library management.pptxLIBRARY MANAGEMENT library management.pptx
LIBRARY MANAGEMENT library management.pptx
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)
 
OOP.pptx
OOP.pptxOOP.pptx
OOP.pptx
 
SQL Optimizer vs Hive
SQL Optimizer vs Hive SQL Optimizer vs Hive
SQL Optimizer vs Hive
 
Data herding
Data herdingData herding
Data herding
 
Data herding
Data herdingData herding
Data herding
 
Data visualization in python/Django
Data visualization in python/DjangoData visualization in python/Django
Data visualization in python/Django
 
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
 
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin HuaiA Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
 
Report-Template.docx
Report-Template.docxReport-Template.docx
Report-Template.docx
 
FluentMigrator - Dayton .NET - July 2023
FluentMigrator - Dayton .NET - July 2023FluentMigrator - Dayton .NET - July 2023
FluentMigrator - Dayton .NET - July 2023
 
Databases with SQLite3.pdf
Databases with SQLite3.pdfDatabases with SQLite3.pdf
Databases with SQLite3.pdf
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
 
React Native custom components
React Native custom componentsReact Native custom components
React Native custom components
 
Python SQite3 database Tutorial | SQlite Database
Python SQite3 database Tutorial | SQlite DatabasePython SQite3 database Tutorial | SQlite Database
Python SQite3 database Tutorial | SQlite Database
 
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) kerenTutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
 
Friend this-new&delete
Friend this-new&deleteFriend this-new&delete
Friend this-new&delete
 
Databricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdfDatabricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdf
 

Recently uploaded

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
Celine George
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 

Recently uploaded (20)

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 

Lokesh 's Ip project Pokemon information

  • 1. A PROJECT REPORT ON Library Management System FOR AISSCE 2024 EXAMINATION As a part of the Informatics Practices Course (065) SUBMITTED BY: Name of the Student Hall ticket Number 1) Lokesh.R Under the guidance of Mr.SivaPrasad G PGT in Informatics Practices DEPARTMENT OF INFORMATICS PRACTICES SRI CHAITANYA TECHNO SCHOOL Kothanur Dinne Main Road, Near Bus Stop 8th Phase, JP Nagar, Jumbo Sawari, Dinne, Bengaluru, Karnataka 560078
  • 2. Page.1 CERTIFICATE This is to certify that the Project / Dissertation entitled library Management System is a bonafide work done by Mr. Lokesh R of class XII in partial fulfillment of CBSE’s AISSCE Examination 2023-24 and has been carried out under my direct supervision and guidance. This report or a similar report on the topic has not been submitted for any other examination and does not form a part of any other course undergone by the candidate. Signature of Student Signature of Teacher/Guide Name: ……………………. Name: SivaPrasad G Roll No.: …………………… Designation: PGT in IP Signature of Principal Name: Place: JP Nagar Date:……………..
  • 3. Page.2 ACKNOWLEDGEMENT I would like thank the institution for giving the opportunity to encase and display our talent through this project. I would like to thank my Informatics Practices teacher Mr.SivaPrasad G for having the patience to guide me at every step in the project I am also grateful to the CBSE BOARD for challenging and giving us this project in which we all were so engrossed. I would also like to thank my parents and friends who helped me in getting the right information for this project.
  • 5. Page.4 INDEX Sr.no. Particulars Page 1 Project Analysis 06 2 Functions and Modules 07 3 Detailed Description 10 4 Source Code 11 5 Outputs and Tables 17 6 Bibliography 28 7 Remarks 29
  • 6. Page.5 PROJECT ANALYSIS Our application program is specially designed for the public library named “READING COMMUNITY.” They lend books to readers who have subscribed with the library. We have tried to maximise the efficiency and strived for customer and user ease as well as satisfaction. We have thoroughly examined the needs of the library and after the analysis, we have constructed the program. We have used PYTHON and MYSQL as our platform to carry out this task.
  • 7. Page.6 FUNCTIONS AND MODULES Modules: import mysql.connector: By importing this package, we are able to establish the connection between SQL and Python. FUNCTIONS: connect(): This function establishes connection between Python and MySQL cursor():
  • 8. Page.7 It is a special control structure that facilitates the row- byrow processing of records in the result set. The Syntax is: <cursor object>=<connection object>.cursor() execute(): This function is used to execute the sql query and retrieve records using python. The syntax is: <cursor object>.execute(<sql query string>) def(): A function is a block of code which only runs when it is called. fetchall(): This function will return all the rows from the result set in the form of a tuple containing the records. fetchone(): This Function will return one row from the result set in the form of a tuple containing the records.
  • 9. Page.8 commit(): This function provides changes in the database physically. DETAILED DESCRIPTION  ) Our Project has 3 MySQL tables. These are: - 1.) Books 2.) Issue 3.) Return 1) The table Books contain the following columns: a) bname b) author c) bcode d) total e) subject 2.) The table Issue contain the following columns: a.) name b.) regno
  • 10. Page.9 c.) bcode d.) issue_date 3.) The table Return contain the following columns: a.) name b.) regno c.) bcode d.) return_date SOURCE CODE For MySQL: create database library_app; use library_app; create table books (bname varchar(50), author varchar(50), bcode varchar(50), total int(50), subject varchar(50)); create table issue (name varchar(50), regno
  • 11. Page.10 varchar(50), bcode int(50), issue_date varchar(50)); create table return (name varchar(50), regno varchar(50), bcode int(50), return_date varchar(50)); For Python: import mysql.connector as a con=a.connect(host='localhost',user='root',passwd='9586',data base='library_app') def addbook(): bn=input("Enter Book Name: ") ba=input("Enter Author's Name: ") c=int(input("Enter Book Code: ")) t=int(input("Total Books: ")) s=input("Enter Subject: ") data=(bn,ba,c,t,s) sql='insert into books values(%s,%s,%s,%s,%s);' c=con.cursor() c.execute(sql,data) con.commit() print("nnnnBook Added Successfully..........nnnn") wait = input('nnnPress enter to continue.....nnnnnn') main()
  • 12. Page.11 def issueb(): n=input("Enter Student Name: ") r=int(input("Enter Reg No.: ")) co=int(input("Enter Book Code: ")) d=input("Enter Date: ") a="insert into issue values(%s,%s,%s,%s);" data=(n,r,co,d) c=con.cursor() c.execute(a,data) con.commit() print("nnnnBook issued successfully to: ",n) wait = input('nnnPress enter to continue.....nnnnnn') bookup(co,-1) main() def returnb(): n=input("Enter Student Name: ") r=int(input("Enter Reg No.: ")) co=int(input("Enter Book Code: ")) d=input("Enter Date: ") a="insert into return_ values(%s,%s,%s,%s);" data=(n,r,co,d) c=con.cursor() c.execute(a,data) con.commit() print("Book returned by: ",n) wait = input('nnnPress enter to continue.....nnnnnn') bookup(co,1) main() def bookup(co,u): a="select total from books where bcode=%s;" data=(co,) c=con.cursor() c.execute(a,data) myresult=c.fetchone() t=myresult[0]+u
  • 13. Page.12 sql="update books set total=%s where bcode=%s;" d=(t,co) c.execute(sql,d) con.commit() wait = input('nnnPress enter to continue.....nnnnnn') main() def dbook(): ac=int(input("Enter Book Code: ")) a="delete from books where bcode=%s;" data=(ac,) c=con.cursor() c.execute(a,data) con.commit() print("Book deleted successfully") wait = input('nnnPress enter to continue.....nnnnnnnnnnnn') main() def dispbook(): a="select * from books;" c=con.cursor() c.execute(a) myresult=c.fetchall() for i in myresult: print("Book name: ",i[0]) print("Author: ",i[1]) print("Book code: ",i[2]) print("Total:",i[3]) print("Subject:",i[4]) print('nn') wait = input('nnnPress enter to continue.....nnnnnnnnnnnn')
  • 14. Page.13 main() def report_issued_books(): a="select * from issue;" c=con.cursor() c.execute(a) myresult=c.fetchall() for i in myresult: print(myresult) wait = input('nnnPress enter to continue.....nnnnnnnn') main() def report_return_books(): a="select * from return_;" c=con.cursor() c.execute(a) myresult=c.fetchall() for i in myresult: print(myresult) wait = input('nnnPress enter to continue.....nnnnnnnnnnnn') main() def main(): print(""" L I B R A R Y M A N A G E M E N T A P P L I C A T I O N _________________________________________________
  • 15. Page.14 1. ADD BOOK 2. ISSUE OF BOOK 3. RETURN OF BOOK 4. DELETE BOOK 5. DISPLAY BOOKS 6. REPORT MENU 7. EXIT PROGRAM """) choice=input("Enter Task No:......") print('nnnnnnn') if(choice=='1'): addbook() elif(choice=='2'): issueb() elif(choice=='3'): returnb() elif(choice=='4'): dbook() elif(choice=='5'): dispbook() elif(choice=='6'): print(''' R E P O R T M E N U ______________________ 1. ISSUED BOOKS 2. RETURNED BOOKS 3. GO BACK TO MAIN MENU nnn ''') choice=input("Enter Task No:......") print('nnnnnnn') if choice=='1': report_issued_books() elif choice=='2':
  • 16. Page.15 report_return_books() elif choice=='3': main() else: print("Please try again........nnnnnnnnn") main() elif(choice=='7'): print('nnnnnnnnnnnnThank you and have a great day ahead...............nnnnnnnnnnnnnnn') else: print("Please try again........nnnnnnnnnnnn") main() main() OUTPUTS AND TABLES
  • 18. Page.17 2.) Issue a Book: 3.) Return of Book:
  • 25. Page.24 2.) Select * from Issue:
  • 26. Page.25 3.) Select * from Return_
  • 28. Page.27  To develop this project many references were used: 1. INFORMATICS PRACTICES Class XII 2. https://www.google.com REMARKS