computer science project
computer science project
EXAMINER’S SIGNATURE
TEACHER’S SIGNATURE
------------------ --------------------
Page | 1
ACKNOWLEDGEMENT
Page | 2
CLASS:12 A
INDEX
S.No. Particular PgNo.
1. Introduction 5
2. Objective 6
3. Proposed 7
system
4. Data flow 8
diagram
5. Scope 9
6. Advantages 10
7. Limitations 11
and future
enhancement
s
8. Resources 12
used
9. Functions & 13
modules
used
10. Use of 14
Page | 3
technology
11. Source Code 16
12. Output 20
13. Conclusion 24
14. Bibliography 25
15. Thank you 26
LIBRARY MANAGEMENT
SYSTEM
INTRODUCTION
Page | 4
Every organisation whether big or small has
challenges to overcome and managing the
information of books, students, librarian,
address, and member. This system will
ultimately allow you to better manage
resources.
Page | 5
Students will demonstrate a breadth of
knowledge in computer science, as
exemplified in the areas of systems,
theory, and software development
Student will demonstrate ability to
conduct research or applied computer
science project, requiring writing and
presentation skills which exemplify
scholarly style in computer science
PROPOSED SYSTEM
Page | 7
FILL
DATA
SEND
RETRIEVED DATA
DATA
USER Library
RETRIEVED
management DATA
LIBRARY
SCOPE DATABASE
ADVANTAGES
Centralized data
User friendly environment, fast
service
Protection by username/password
Page | 9
Data can be easily retrieved
Tracing a book is easy
Error handling is done at many points
Capable to work at any Gui base
operating system
Information about issue/return of the
books is properly maintained
LIMITATION
Single user can work at a time
Works at single system
Some training required to implement a
new system
Page | 10
Any failure can stop the work of
organizations
No tool for backup
Future
enhancements
Changes made by any user can be
monitor
Multiple users can login at same time
More controlling by administrator
Use of more modules to shot down the
code
Many more new form and module would
be added in the next version of this
program
Page | 11
RESOURCES USED
HARDWARE RESOURCE
Processor: intel core i3/i5/i7
RAM: 512 MB
HDD: 20 GB
KB: Normal GB
MOUSE: 3 button normal mouse
SOFTWARE RESOURCE
O/S: Microsoft windows
FOR CODING: Visual studio
FOR DATABASE: SQL server
FOR DOCUMENTATION: MS word
Page | 12
FUNCTIONS AND
MODULES USED
Modules:
connector (): By using this module, we
can establish a connection between
Python and MySQL.
FUNCTIONS:
connect (): This function establishes a
connection between Python and MySQL
cursor (): This function helps to execute
the records row-by-row.
execute (): This function executes a
SQL query and get back the records
using python.
USE OF TECHNOLOGY
Page | 13
PYTHON
MYSQL
Page | 14
My SQL is a relational database
management system and is based on SQL
(Structured Query language). It was
created by a Swedish company called
MySQL AB on 23 May 1995. Its purpose is
to enable the user to store, maintain,
retrieve structured data efficiently. MySQL
provides various types of commands
which have their own use such as:
1. Data Definition Language (DDL)
2. Data Manipulation Language (DML)
3. Transaction Control Language (TCL)
4. Data Query Language (DQL)
5. Data Control Language (DCL)
Source code
Page | 15
import mysql. connector as a
con=a. connect (host="localhost”, user="root”, password="priyansh123”,
database="library1")
Page | 17
c=con. Cursor ()
c.execute (a, data)
con. commit ()
print (">--------------------------------------------------------<")
print ("book submitted from:",n)
bookup(co,1)
elif(choice=="4"):
ac=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")
elif(choice=="5"):
a="select*from books"
c=con. cursor ()
c.execute(a)
myresult=c. fetchall ()
for i in myresult:
print ("bookname:” i [0])
print ("book code:” i [1])
print ("total:” i [2])
print ("subject:” i [3])
print (">------------------------------------------------------<")
else:
print ("wrong choice......")
Page | 18
OUTPUT IN PYTHON
Page | 19
2.WHILE ISSUING A BOOK
Page | 20
4.WHILE DELETING A BOOK
OUTPUT IN SQL:
Page | 21
1.DATABASES AND TABLES
3.RECORD
OF ALL BOOK ISSUED TO THE READERS
Page | 22
4. RECORD OF SUBMITTED BOOKS ISSUED TO THE READERS
CONCLUSION
Page | 23
The basic concept of the program is to make the
data of library computerized and organized.
Only a single user can work with this program at
a time. The user has been given the option to
add, issue, delete, submit, and view the records
in the library database.
This program sole purpose is to save time and
make the process of data entry more
systematic.This prevents a lot of time and
money. The work becomes fully automated and
any information regarding the organisation can
be obtained by clicking the buttons. Moreover,
now its and age of computers and automating
such an organization gives the better look.
BIBLIOGRAPHY
Page | 24
Many references were used for the
development of the program:
1. Computer Science Textbook Class 12
Preeti Arora
2.https://www.google.com
3. https://www.python.org.in
4. https://www.mysql.org
5. https://www.cbse.nic.in
Page | 25
THANK YOU
Page | 26