0% found this document useful (0 votes)
29 views

Computer Science Project - Nithesh

Uploaded by

Ijrayal M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Computer Science Project - Nithesh

Uploaded by

Ijrayal M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

INVESTIGATORY PROJECT

ON
SUPERMARKET BILLING SYSTEM

M NITHESH
XII-A

1|Page
CERTIFICATE

This is to certify that this is a bona-fide project work done by

our student M NITHESH of Class XII, Roll Number

……………………and in Computer science (083) for the

academic year 2023-24. She/He has successfully completed

her/his project work.

Internal Examiner Principal


Examiner Code:

External Examiner
Examiner Code:

2|Page
INDEX

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

1 COVER PAGE 1

2 BONA-FIDE CERTIFICATE 2

3 ACKNOWLEDGEMENT 4

4 OBJECTIVE 5

5 TECHNOLOGIES USED 6

6 MODULES USED 7

7 SOURCE CODE 8

DATABASES AND TABLES

8 USED IN MYSQL DATABASE 10

FOR THIS PROJECT

9 BIBLIOGRAPHY 17

3|Page
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.

4|Page
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

5|Page
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.

6|Page
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" )

7|Page
SOURCE CODE:

8|Page
9|Page
DATABASE AND TABLES USED:

DATABASE USED:
Supermarket

TABLES USED:

10 | P a g e
TABLE a1:

TABLE a2:

TABLE a3:

TABLE a4:

11 | P a g e
TABLE a5:

TABLE a6:

Table store products:

12 | P a g e
Table user:

OUTPUT:
SIGNUP AS USER:

LOGIN AS USER:

13 | P a g e
ADDING PRODUCT INFORMATION AFTER LOGIN:

GENERATING BILL REPORT:

CUSTOMER FEEDBACK:

14 | P a g e
COMPLETE PURCHASE HISTORY:

DELETING THE PRODUCT:

15 | P a g e
MYSQL TABLE OF THAT USER:

16 | P a g e
BIBILOGRAPHY:

1) COMPUTER SCIENCE WITH PYTHON


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

17 | P a g e

You might also like