Computer Science Project

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

THE HYDERABAD PUBLIC SCHOOL

RAMANTHAPUR, HYDERABAD-500013

COMPUTER SCIENCE
INVESTIGATORY PROJECT

M NITHESH
XII-A
SUPERMARKET BILLING SYSTEM
CERTIFICATE

This is to certify that M NITHESH of class XII, has prepared


this report on the project entitled “SUPER MARKET BILLING
System”. This report is the result of his efforts and
endeavours. The report is found worthy of acceptance as the
final report for the subject Computer Science (083) of class
XII. He has prepared the project under my guidance.

Internal Examiner Principal


Examiner Code:

External Examiner
Examiner Code:

INDEX
S.NO NAME OF THE TOPIC PG.NO T. SIGN

1 COVER PAGE 1

2 BONA-FIDE CERTIFICATE 2

3 ACKNOWLEDGEMENT 3

4 OBJECTIVE 5

5 TECHNOLOGIES USED 9

6 MODULES USED 10

7 SOURCE CODE 19

DATABASES AND TABLES USED IN MYSQL


8 26
DATABASE FOR THIS PROJECT

9 BIBLIOGRAPHY 29

ACKNOWLEDGEMENT
I would like to express a deep sense of thanks
& gratitude to my physics teacher Mr. M.
Srinivas for guiding me immensely through
the course of the project. Sir has always
evinced keen interest in my work. His
constructive advice & constant motivation
have been responsible for the successful
completion of this project.

My sincere thanks go to Dr. S. Narasimha


Reddy, our principal sir, who gave me the all
the required facilities, which also helped me
in doing a lot of research and I came to know
about so many new things.

I also thanks to my parents for their


motivation & support. I must thank Mr. S.
Srikanth, HOD for his support for compilation
of this project.

OBJECTIVE:
The Aim of this Project is to design a Menu-driven
Supermarket billing system for billing the products This
system is flexible and secure. As the name of the
project “SupermarketbillingSystem” this system is used
by Customers to add the products available in the
supermarket.

PROJECT SPECIFICATION:

The Super market Billing System has a unique


functionality as it is a menu driven program this helps
the user of the code, where the customers can easily
handle it. The Main Functions of this system are:

1. Creating a new account (SIGN UP)


2. LOGIN Into Account
3. Adding Product Details
4. To Generate Bill and Amount
5. To Check the Purchase History of All Products
6. To Get the Customer Feedback
7. To Delete the Product

SOFTWARE USED:
FRONT END:

This Project uses Python IDLE/IDE as the front-end


application. It uses Python Shell as a Menu Driven Interface.

BACK END:

MySQL:
MySQL is an open-source relational database management system
(RDBMS) developed by Oracle Cooperation. MySQL is the world's
most popular open-source database. With its proven performance,
reliability and ease-of-use, MySQL has become the leading database
choice for webbased applications, used by high profile web
properties including Facebook, Twitter, YouTube, Yahoo! and many
more. This Project uses MySQL database as first back-end application
to store Bank Details and is connected to the front-end application.

MODULES USED:
1. MySQL. Connector Module:

The Module MySQL. Connector is a Python module that provides a


connection to a MySQL database using the MySQL Connector/Python
API. It allows Python programs to access and manipulate MySQL
databases with ease. This module supports various MySQL features
and provides an easy-to-use interface for performing database
operations such as querying, inserting, updating, and deleting data. In
this project, we imported:

Import mysql.connector
Function Used:
a) db = mysql.connect(host="Localhost", user="root",
password="151106", auth_plugin='mysql_native_password')
b) mycursor=mydb.cursor()
c) mycursor. execute()
d) mydb.commit()
e) data=mycursor.fetchall()
f) data=mycursor.fetchone()
g) mydb.Close()

2. Tabulate Module:

The tabulate is a popular Python library used to display the data in


tabular format. It takes structured data, such as lists of lists or
dictionaries, and formats it into a visually appealing table. In the
Project, this module is use to display the data retrieved from MySQL
tables in Tabular from. Function Used:

from tabulate import tabulate tabulate


(data, Header, tablefmt="simple_grid" )
SOURCE CODE:
DATABASE AND TABLES USED:

DATABASE USED:
Supermarket

TABLES USED:
TABLE a1:

TABLE a2:

TABLE a3:

TABLE a4:
TABLE a5:

TABLE a6:
Table store products:

Table user:
OUTPUT:
SIGNUP AS USER:

LOGIN AS USER:
ADDING PRODUCT INFORMATION AFTER
LOGIN:

GENERATING BILL REPORT:


CUSTOMER FEEDBACK:

COMPLETE PURCHASE HISTORY:

DELETING THE PRODUCT:


MYSQL TABLE OF THAT USER:
BIBILOGRAPHY:

1) COMPUTER SCIENCE WITH PYTHON


SUMIT ARORA
2) https://www.w3schools.com
3) https://www.mysql.com
4) https://pypi.org

APPLICATION:

A supermarket billing system is a comprehensive business


solution utilized by a variety of retailers and other businesses.
Any shop or firm may use this software to automate
repetitive processes such as sales billing, inventory
management, purchase follow-up, and accounts
administration.

You might also like