Cover Pages. VRP Sujay-Merged

You might also like

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

NARAYANA EDUCATIONAL SOCIETY (R)

NARAYANA E-TECHNO SCHOOL


(Recognized By the Govt. of India, Affiliated to CBSE Board, New Delhi)
Sapthagiri Layout, Thindlu Main Road, Vidyaranyapura
Bangalore-560097.

D OF SECONDAR
OAR YE
DU
L B
A CA
R
T

TI
CEN

ON
CBSE+2 COMPUTER PROJECT ON

GROCERY SHOP MANAGEMENT SYSTEM

STUDENT NAME: SUJAY K


REG NO:
CENTRAL BOARD OF SECONDARY EDUCATION
Shiksha Kendra, 2, Community Centre, Preet Vihar, Delhi-110 092 India

CERTIFICATE

Certified that the Project Report Entitled

Is bonafide work carried out by SUJAY K in Fulfillment of the prescribed Project work as
instructed by the CENTRAL BOARD OF SECONDARY EDUCATION for CBSE+2
COMPUTER during the academic year 2023-2024.The project report has been approved as it
satisfies the academic requirements in respect of Project prescribed for CBSE+2.

……………………… ………………………

Guide Principal

Externals Signature: 1)………………………

2)………………………
ACKNOWLEDGEMENT

The satisfaction and euphoria that accompany the completion of any task would
be incomplete without the mention of the people who made it possible, whose constant
guidance and encouragement ground my efforts with success.

I consider it is a privilege to express my gratitude and respect to all those who


guided me in completion of my project.

It’s a great privilege to place on record my deep sense of gratitude to our Dean,
Principal, Project guide who patronized throughout our project & for the facilities
provided to carry out this work successfully.

I am grateful to my Computer teacher Mr.Jhasketh for his invaluable support


and guidance and motivation

I thank the teaching and non teaching staff members who have helped me
directly or indirectly during the project work.

Finally, I also thank my family and friends for their co-operation and motivation
to complete this project successfully.

STUDENT NAME : SUJAY K


TABLE OF CONTENTS
Sl No. DESCRIPTION PAGE NO.

01. ACKNOWLEDGEMENT 1

02. INTRODUCTION 2

03. OBJECTIVE OF THE 2


PROJECT

04. PROPOSED SYSTEM 3

05. PROBLEMS WITH 3


EXISTING SYSTEM

06. SYSTEM 4
DEVELOPMENT WORK
FLOW

07. FLOW CHART 5

08. SOURCE CODE 6-8

09. OUTPUT 9-13

HARDWARE AND 14
SOFTWARE
REQUIREMENTS

10. BIBLIOGRAPHY 15
Introduction

We all go shopping to buy products of our requirement. We all would have


observed that the shops are moving towards digital systems for bill
computation. Shop management is an application that helps in managing the
products and keeping its count in inventory, maintain shop customer details,
worker details, tracking the sales in the shop.

Objective of the project

To produce a working software which can manage and run the activities
done in a grocery store.

To keep a count of products sold and count of products kept in inventory to


restock them.

To reduce labor and time.

To reduce calculation time on sales report and extensive paperwork so that


administers can spend their time on monitoring the store and keeping up
with the customer demands.
Proposed system

To keep up with the pace of digitalisation and bring about the best results with
minimal mistakes and greater efficiency, one has to upgrade to using data
management system for running one’s grocery store.
Many company that have created the software, have implemented them in the
markets which have received positive feedback and helped in improving the
product further. These have also benefitted the organisations and shop owners
who use them, making their work easier and efficient. The software needs to be
easy to operate and accessible through just loading the program in their
existing computers.
This lets the owner as well as the country take a step in the modern era of
digitalisation and automation, making work fully automated and accessible by
a click of a button.

Problems with existing system

Requires a lot of man power, even then less efficient

Consumes and a lot of time and renders the processing slow

Occupies place to store paperwork and records

Manual calculations may lead to human error and result into loss
System development work flow

The products that arrive at the store needs to be loaded into the system’s
database. The products will be entered after accounting for the taxes
applied on each, commission, shelf life and quantity.

After the data has been loaded into the database by the data entry
operator, the products will be stocked on shelf for the customers.

The system is able to enter and display one or all workers details, such as
his name, work, age, contact information. This makes it easy to access
their details and store the same.

The system keeps a track about the customer details about his name,
purchase and contact information.

After a customer has made a purchase, the system can take the input of
their final cost and store them.

It also displays the stock available in a pie chart format for easy analysis.

The manager can have quick access to all his worker, customer, product
details… in a click.
BIBLIOGRAPHY

➢ Computer science textbook for class 12th by NCERT


➢ Computer science with python for class 12th by Sumita Arora
SOURCE CODE
import mysql.connector
conn=mysql.connector.connect(host="localhost", user="root",
password="mathematics123", database="yashdb")
if conn.is_connected():
print("Connected...")
c=conn.cursor()

print("Grocery Shop Management System")


print("1. Login\n2. Exit")

ans=int(input("Enter your choice(1/2): "))


if ans==1:
u_n=input("Enter your Username: ")
pwd=input("Enter your password: ")
while u_n=="Tejas" and pwd=="PCMCE@24":
print("Welcome Tejas")
print('grocery shop')
print('1.customer details')
print('2.product details')
print('3.worker details')
print('4.see all customer details')
print('5.see all product details')
print('6.see all worker details')
print('7.see one customer details')
print('8.see one product details')
print('9.see one worker details')
print('10.stocks')
print('11.pie chart for avalibility of stock')
choice=int(input('enter the choice: '))

if choice==1:
cust_name=input('enter your name= ')
phone_no=int(input('enter your phone number= '))
cost=float(input('enter your cost= '))
sql_insert="insert into customer_details values
("+str(phone_no)+", "+(cust_name)+","+str(cost)+")"
c.execute(sql_insert)
conn.commit()
print('data is updated')

elif choice==2:
product_name=input('enter product name= ')
product_cost=float(input('enter the cost= '))
sql_insert="insert into product_details
values(""'"+(product_name)+", "+str(product_cost)+")"
c.execute(sql_insert)
conn.commit()
print('data is updated')

elif choice==3:
worker_name=input('enter your name= ')
worker_work=input('enter your work= ')
worker_age=int(input('enter your age= '))
worker_salary=float(input('enter your salary= '))
phone_no =int(input('enter your phone number= '))
sql_insert="insert into worker details values
(""'"+(worker_name)+"',""'"+(worker_work)+",
"+str(worker_age)+", "+str(worker_salary) +","+str(phone_no)+")"
c.execute(sql_insert)
conn.commit()

elif choice==4:
t=conn.cursor()
t.execute('select*from customer_details')
record=t.fetchall()
for i in record:
print(i)

elif choice==5:
t=conn.cursor()
t.execute('select*from product_details')
record=t.fetchall ()
for i in record: print(i)

elif choice==6:
t=conn.cursor()
t.execute('select*from worker_details')
record=t.fetchall()
for i in record:
print(i)
elif choice==7:
a=input('enter your name')
t='select*from customer_details where
cust_name=("{}")'.format(a)
c.execute (t)
v=c.fetchall ()
for i in v:
print(v)
elif choice == 8:
a = input('enter your product_name')
t='select*from product details where product
name=("{}")'.format(a)
c.execute (t)
v=c.fetchall ()
for i in v:
print (v)
elif choice==9:
a=input('enter your name')
t='select*from worker details where worker
name=("{}")'.format(a)
c.execute (t)
v=c.fetchall ()
for i in v:
print (v)
elif choice==10:

print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
f=open ('test.txt', 'r')
data=f.read ()
print (data)
f.close()

print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
elif choice==11:
import matplotlib.pyplot as plt
items=('shoes', 'stationary', 'watch', 'houseuse' ,
'food items')
avalibility=[156,200,103,206,196]
colors=['red', 'yellowgreen', 'blue', 'gold',
'lightcoral']
plt.pie(avalibility, labels=items, colors=colors)
plt.title('avalibility of items in shop')
plt.show()
else:
print('wrong password, try again ')

if choice==2:
exit()

You might also like