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

Grocery Management System

Uploaded by

vedant middha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Grocery Management System

Uploaded by

vedant middha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

DELHI PUBLIC

SCHOOL ALIGARH
https
ACADEMIC YEAR: 2024-25

PROJECT SYNOPSIS
ON-
“Grocery Management System”

FOR CBSE 2024 EXAMINATION


[AS A PART OF THE COMPUTER SCIENCE COURSE (083)]

Submitted To: MR. RAJEEV KUSHWAHA


(Dept. Computer Science)

Submitted By: VEDANT MIDDHA

Class/Section: XII-A

Roll No.: __________________________


Acknowledgement:
I VEDANT MIDDHA undertook this Project work, as the part of my XII-
Computer Science course (083). I had tried to apply my best of knowledge
and experience, gained during the study and class work experience.
However, developing software system is generally a quite complex and time-
consuming process. It requires a systematic study, insight vision and
professional approach during the design and development. Moreover, the
developer always feels the need, the help and good wishes of the people
near you, who have considerable experience and idea.

I would like to extend my sincere thanks and gratitude to my teacher

MR. RAJEEV KUSHWAHA, for giving valuable time and moral support to
develop this software.

I also feel indebted to my friends for the valuable suggestions during the
project work.

Name: Vedant Middha


Class: XII-A
Roll No.: ___________
DELHI PUBLIC SCHOOL
ALIGARH
ACADEMIC YEAR: 2024-25

Certificate:
This is to certify that Vedant Middha of Class XII A has prepared the report on

the project entitled “Grocery Management System”, in partial fulfillment of

CBSE’s

AISSCE Examination 2024 and has been carried out under my direct

supervision and guidance. This report or a similar report on the topic has not

been submitted for any other examination and does not form a part of any

other course undergone by the candidate.

--------------- --------------- ---------------


Mr. Rajeev Kushwaha Examiner Mrs. Arti Jha
(Computer Science Teacher) (Principal)
PROJECT LOGBOOK

PROJECT NAME: - Grocery Management System

SCHOOL NAME: - Delhi Public School Aligarh

YEAR/CLASS: - 2024 /XII-A

TEACHER NAME: - Mr. Rajeev Kushwaha

TEAM MEMBER NAMES:

1.Prabhat Panchal

2. Devansh Dutt Sharma

3. Himank Chaudhary

4. Vedant Middha

5. Suhaan Sharma
Index
S. NO. DESCRIPTION

01 Introduction

02 Objectives of the Project

03 Team Role

04 Source Code

05 Output

Hardware and Software


06
Requirements

07 Bibliography
Introduction:
The Grocery Management System is basically a database-based

project done with help of python language. This project is very

useful for the school to keep a count on student data they have and

how much registered and quit the session. This project is multifold

project, so that it can be modified for various purposes.


Objectives of the Project:
The objective of this project is to let the students apply the
programming knowledge into a real- world situation/problem and
exposed the students how programming skills helps in developing a
good software.

 Write programs utilizing modern software tools.


 Apply object-oriented programming principles effectively
when developing small to medium sized projects. Write
effective procedural code to solve small to medium sized
problems.
 Students will demonstrate a breadth of knowledge in computer
science, as exemplified in the areas of systems, theory and
software development.
 Students will demonstrate ability to conduct a research or
applied computer science project, requiring writing and
presentation skills which exemplify scholarly style in computer
science.
Team Roles:
Our team members and their roles:

ROLE TEAM MEMBER


NAME

PLANNER Devansh Dutt


Sharma

CODING Prabhat Panchal

DEBUGGING Himank
Chaudhary

FORMATTING Vedant Middha

DESIGNING Suhaan Sharma


Theoretical Background:

What is python?
Python is an open source, object oriented high level programming
language developed by Guido Van Rossum in 1991 at the National
Research Institute for Mathematics,Netherlands.
Features of Python:

● It is an interactive ,interpreted language.

● It is a loosely typed object –oriented language.

● It is a free open –source and portable language,

● It takes less time to develop programs.

● It is extensible / extendable and highly efficient .

● It supports GUI.

● It can be easily compatible with other languages like C , C++


etc.
● It is used for both scientific and non-scientific programming.

Installing Python:
It can be installed by using website:
https://www.python.org/downloads/

Interacting with Python:


Python programs can be run in two ways:
● Using Command line window

● Using IDLE
What is MYSQL?
MySQL is a relational database management system (RDBMS)
developed by Oracle that is based on structured query language
(SQL).
A database is a structured collection of data. It may be anything
from a simple shopping list to a picture gallery or a place to hold
the vast amounts of information in a corporate network. In
particular, a relational database is a digital store collecting data
and organizing it according to the relational model. In this model,
tables consist of rows and columns, and relationships between
data elements all follow a strict logical structure. An RDBMS is
simply the set of software tools used to actually implement,
manage, and query such a database.
Features of MYSQL.

 MySQL is widely compatible


 MySQL databases are relational
 MySQL is open-source
 MySQL is easy to use
Installing MYSQL:
It can be installed by using website: -
https://www.mysql.com/downloads/
STEPS TO PROCESS A CONNECTION:
Source Code:
File Name: - Grocery Management System
import mysql.connector as c
con = c.connect(host="localhost",user = "root", passwd
="123sss#feb", database = "Grocery_Retailer")
cursor = con.cursor( )
cursor.execute("create table Food_Items( Product varchar(20)
primary key, Price int(20), Mfg date not null, Exp date not null)")
print("The table is created successfully.")
while True :
print("Press 1 for inserting the data in database.")
print("Press 2 for deleting the data from database.")
print("Press 3 for modifying the data in database.")
print("Press 4 for the searching data in database.")
print("Press 5 for selecting the data from database.")
print("Press 6 for exiting database program.")
ch = input("Enter the choice :")
if(ch == "1") :
a = input("Enter the product:")
b = int(input("Enter the price:"))
c = input("Enter the mfg:")
d = input("Enter the exp:")
query1 = "Insert into Food_Items values(%s,%s,%s,%s)"
values1 = (a, b, c, d)
cursor.execute(query1,values1)
con.commit( )
print("The data successfully inserted.")
if(ch == "6") :
break
if(ch == "2") :
query2 = input("Enter the product name to delete from
database:")
sql1 = "Delete from Food_Items where Product = %s"
val1 = (query2,)
cursor.execute(sql1,val1)
con.commit( )
print("The data is deleted successfully from database.")
print("The updated record row in database.",cursor.rowcount)
cursor.execute("select * from Food_Items")
records1 = cursor.fetchall( )
for i in records1 :
print( i )
print("The updated record is displayed.")
if(ch == "3") :
query3 = input("Enter the Product name to modify from
database:")
query4 = int(input("Enter the price to modify in database:"))
sql2 = "Update Food_Items set Price = %s where Product = %s"
val2 = (query4,query3)
cursor.execute(sql2,val2)
con.commit( )
print("The data is modified successfully.")
print("The modified record",cursor.rowcount)
cursor.execute("select * from Food_Items")
records2 = cursor.fetchall( )
for i in records2 :
print( i )
print("The modified record is displayed.")
if(ch == "4") :
query5 = input("Enter the product name you want to search:")
sql3 = "Select * from Food_Items where Product = %s"
val3 = (query5,)
cursor.execute(sql3,val3)
records3 = cursor.fetchall( )
for i in records3 :
print( i )
print("The searching is successfully finished.")
print("The searched record",cursor.rowcount)
if(ch == "5") :
query6 = input("Enter the price name you want to select:")
sql4 = "Select * from Food_Items where Price = %s"
val4 = (query6,)
cursor.execute(sql4,val4)
records4 = cursor.fetchall( )
for i in records4 :
print( i )
print("The selecting is successfully finished.")
print("The selected record",cursor.rowcount)
Output:
Hardware and Software Used:

The Hardware used:

While developing the system, the used hardware are:


PC with Intel Core i5-2400S processor having 4.00 GB RAM,
64-bit Operating System , SVGA and other required devices.

The Software used:

⮚ Microsoft Windows® 10 Pro as Operating System.

⮚ Python 3.7.2 as Front-end Development environment.

⮚ MySQL as Back-end Development environment.

⮚ MS-Word 2010 for documentation.


Bibliography
In order to work on this project titled – “GROCERY MANAGEMENT
SYSTEM”, the following books and literature are referred by me
during the various phases of development of the project:
1)COMPUTER SCIENCE TEXTBOOK CLASS 12: SUMITA ARORA
2)GOOGLE.COM
3) Youtube.com
4) Google Drive
Other than the above-mentioned books, the suggestions and
supervision of my teacher and my classmates also helped me to
develop this software project.

SOURCE CODE LINK: -


https://drive.google.com/drive/folders/
1Awgl31T13YfGBmzYHapzTP6olUPPqsGy?usp=drive_link

QR CODE: -

You might also like