Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

COMPUTE

R SCIENCE
PROJECT

PROJECT NAME
THE​​NEW​​INDIAN​​SCHOOL​​W.L.L.
KINGDOM​​OF​​BAHRAIN
Certificate of Completion

Senior Secondary School


Affiliated to CBSE, New Delhi

This​​is​​to​​certify​​that​​​​​​​​​​​​​​​​​​​ ​​​​​​​​​​​​​o​ f class​​​​​​​​XII-B​​​​​​​​​has​

successfully​​completed COMPUTER SCIENCE ​​​​​​​​Project​​on​​the​

topic​​ ​‘ ‘ for​​the​​academic​​year​​​2021-2022 ​.

Internal​​Examiner​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ ​External​​Examiner

School Seal:
PREFACE

The main aim of science technology is to understand natural event. Computer is a gift
of science, which also works like a brain, Computer has just become a part of our life.

The computer education in India was started in somewhere in sixties. Now with the
advent of micro computer, it has become possible to have mass education in this field.

Computer can store much information and solve our problem within very short
duration.

So keeping these things in views, I have computerized my small project work “BOOK
SHOP MANAGEMENT ”.I have maintained this project work on the suitable and
advance language i.e. “Python” with the MySql database connectivity.
ACKNOWLEDGMENT
INDEX
1. Introduction to Python
2. Introduction to Interface Python with MySQL
3. About Project
4. Objectives of the Project
5. Hierarchical Diagram of the Project
6. Feasibility Study
7. Data Structure
8. Hardware and Software requirement
9. Source Code
10. Output Screens
11. Bibliography
1. INTRODUCTION TO PYTHON
It can model real-world entities being an object-oriented programming language. It is also
dynamically typed, carrying out type-checking at run-time.

Python is an interpreted language that executes one line at a time in the Python Integrated
Development Environment (IDLE).

Advantages of Python
i. Data Science

Python has taken over the scientific and research community, and the reason is because of its
ease of use and simplified syntax.

Thanks to its versatility, Python has become a sort of skill one can have to join the data science
community or any computer science-based development community.

Python is incredibly productive as it makes frameworks available with APIs, with addition to the
scientific packages coming from the industry.

ii. Machine learning

Since Python is a full-fledged general-purpose language, it has become popular amongst people
coming from various disciplines, experimenting with machine learning.

People trying to bring the power of AI to their fields also drag the use of Python and its
importance in their respective fields also.

iii. Web Development

Backend development can be covered by Python language. It is extremely hard to cover all the
designing requirements from scratch and to also take care of reliability and effectiveness.

To cover all these prospects, developers use frameworks that can do the same. The most popular
ones are Django and Flask (Python).

iv. Job Opportunity and Salary Base


Each Language provides a different set of job opportunities but it is worth noting that Python is
making more strides than other languages, looking at the current situation.

Python’s recent updates, such as fixing error messages, modify paths in Windows installer, etc.
have made it easier for coders to work with it.

As far as the job is concerned, Python has a slight edge. Python seems to be an exception when
the salary distribution is concerned.

Conclusion

Python’s use is just like a helpful assistant that is handling you tools. It serves as a glue language
for beginners and experts to come together and collaborate for scientific development.
2. INTRODUCTION TO INTERFACE PYTHON WITH MYSQL
A database is nothing but an organized collection of data. Data is organized into rows, columns
and tables and it is indexed to make it easier to find relevant information. All companies whether
large or small use databases. So it become necessary to develop project/software using any
programming language like python in such a manner which can interface with such databases
which support SQL. Generalised form of Interface of python with SQL Database can be
understood with the help of this diagram.

Form/any user interface designed in any programming language is Front End where as data given
by database as response is known as Back-End database.
SQL is just a query language, it is not a database. To perform SQL queries, we need to install any
database for example Oracle, MySQL, MongoDB, PostGres SQL, SQL Server, DB2 etc.
Using SQL in any of the DBMS, databases and table can be created and data can be accessed,
updated and maintained. The Python standard for database interfaces is the Python DB-API.

Python Database API supports a wide range of database servers, like MySql, PostGres SQL,
Informix, Oracle, Sybase etc.

Why choose Python for database programming:


Following are the reason to choose python for database programming
• Programming more efficient and faster compared to other languages.
• Portability of python programs.
• Support platform independent program development.
• Python supports SQL cursors.
• Python itself take care of open and close of connections.
• Python supports relational database systems.
• Porting of data from one DBMS to other is easily possible as it support large range
of APIs for various databases.
3. ABOUT PROJECT
4. OBJECTIVES OF THE PROJECT

Our consideration while developing this software was to achieve the following
goals:-

1. This software is for Book shop management so it provides those facilities, which
is used in any Book Shop.

2. It also saves the valuable time of the shop owner and lots of paper works.

3. This will save lots of effort of the user. I am able to manage lots of information
after using this software and also able for seeing in different angles.

4. User can manage all the records very easily. You can generate all kinds of reports
like bundle receiving, Transport receiving, customer detail and many more reports
for management.

5. We also try to maintain security of data. User cannot enter directly

to the software without using login and password


5. HIERARCHICAL DIAGRAM OF THE PROJECT

Note:
The above diagram is sample of school management only.
According to your project you should draw the hierarchical
diagram
6 . Feasibility Study
It has very important place in the study of any software because if the project are not
feasible then working on this software is not a good work.

So I conducted the feasibility study in order to check out whether our software “BOOK
MANAGEMENT SYSTEM” is feasible or not. So we study about three types of feasibility:-

 Economic Feasibility

 Technical Feasibility

 Operational Feasibility

So brief description of above are following

1 Economic Feasibility:-

In this study, I was concerned about broad range of factors. Our software has no need
of any other equipment or software. It saves very much time and lots of manual work. It also
saves the paper work of the person.

So, in short we can say that it is economic feasible software and saves lots of expenses
of the person and time as well.
2 Technical Feasibility:-

In technical feasibility we studied that the system is technical feasible or not. If


system is not feasible then, a system analyst takes a decision about software that will be
proceeding out or not.

So, we take care of that our software is overall technically feasible. I take care of the
development and technology for ensuring availability of the hardware and software needs
for implementation of this project and that is minimal.

3 Operational feasibility:-

Our software is user friendly. So a person who does not have any technical
background can operate this software, prior knowledge of computer is not mandatory
for operating the software. Icons menus and its options describing its meaning itself, input
and output form are designed in user friendly way for providing proper instructions with
user.

So we specially take care of that software is operational feasible.


7. DATA STRUCTURE
I) Entity of book Shop Management System:
Customer, Books, Employee, Transaction, Book Shop
II) Attributes Entities and their structure
a) CUSTOMER ( Cust_id, Cust_Name, Cust_add, Cust_mno);
b) BOOKS (Book_Name, Book_Prize, Auther_Name, Book_Publication);
c) EMPLOYEE (EMP_id, EMP_Name, EMP_add, EMP_Salary
,Emp_job, EMP_dob);
d) TRANSACTION (trans_id, trans_amt, trans_type, trans_date);
e) BOOK SHOP (Reg_no,BS_Name,BS_add);
This table contains employee related
information
Employee Module:

Attribute Data Size Constraint


types
Emp_id Integer 2 Primnary key
byte
Emp_Name String 30 Not Null
byte
Emp_FN String 30 Not Null
byte
Emp_MN String 30 Not Null
byte
Emp_Dob Date 10 Not Null
byte
Emp_Add String 30 Not Null
byte
Emp_P.no String 10 Not Null
byte

This table contains Customer related


information
Customer Module :
Attri Data Size Constraint
bute types
Cust Integer 2 Primnary key
_id byte
Cust String 30 Not Null
_Na byte
me
Cust String 30 Not Null
_Add byte
Cust String 10 Not Null
_P.no byte

Book Module :
This table contains Book related
information

Attri Data Size Constraint


bute types
Book Integer 2 Primnary key
_ISD byte
N
Book String 30 Not Null
_Na byte
me
Auth String 30 Not Null
_Na byte
me
Pub_ String 10 Not Null
Nam byte
e
Transaction Module :
This table contains Transaction related information

Attribute Data Size Constraint


types
Tms_id Integer 2 Primary key
byte
Tms_Name String 30 Not Null
byte
Tms_Type String 30 Not Null
byte
Tms_Date String 30 Not Null
byte

Report Module :

This table contains Report related information

Attribut Data Size Constraint


e types
Rep_id Integer 2 Primnary key
byte
Rep_Na String 30 Not Null
me byte
Rep_Typ String 30 Not Null
e byte
Rep_Dat Date 10 Not Null
e byte
8. HARDWARE AND SOFTWARE REQUIREMENT

1. HARDWARE:

✔ Processor
✔ Keyboard
✔ Minimum memory - 2GB

2. SOFTWARE:
✔ Operating System – OS10
✔ Python IDLE
✔ MYSQL
9. SOURCE CODE
10. OUTPUT SCREENS
11. BIBLIOGRAPHY

You might also like