grocery
grocery
COMPUTER SCIENCE
(083)
K Srikantha
(PGT CS)
CERTIFICATE
This is to certify that G
Jovan Chandra Reddy student
of class XII A has
successfully completed the
project work entitled
“GROCERY MANAGEMENT SYSTEM”
under the guidance of Smt. K
Srikanta (PGT CS)during the
academic year of 2024-25 in
partial fulfilment of
COMPUTER SCIENCE (083)
AISSCE Practical Examination
conducted by the Central
Board of Secondary Education.
Introduction
Features Overview
Code Modules
Hardware and Software
requirements
Source code
Output
Conclusion
Advantages and
Disadvantages
Student Reflections
Bibilography
INTRODUCTION
➔Grocery Management:
◆Order items through interactive modals.
◆Dynamically calculate product prices based
on item hypes using geopy.
CODE MODULES
Imports:
The bot uses several essential
libraries:
1. Inventory: Manages the products, their
prices, and quantities.
➢Software Requirements:
■ Operating System: Windows 10 or later (64-
bit recommended)
■ Python: Python 3.10+ (installed via the
official Python installer)
■ IDE/Text Editor: Visual Studio Code,
PyCharm, or any text editor.
■ Database Tools: MySQL Workbench
For macOS:
➢Hardware Requirements: ■ Processor:
Apple M1/M2 chip or Intel Core i5/i7
processor
■ RAM:4GB(8GBrecommended)
■ Storage: 10 GB of free disk space
■ Internet: Stable broadband connection
■ Graphics: Integrated Apple GPU or Intel Iris
Graphics
➢Software Requirements:
■ Operating System: macOS Big Sur or later
■ Python: Python 3.10+ (via Homebrew or the
Python.org installer)
■ IDE/Text Editor: Visual Studio Code,
PyCharm, or Xcode
■ Database Tools: MySQL Workbench
For Linux:
➢Hardware Requirements:
■ Processor: Dual-core processor (2
GHz or faster) ■
RAM:4GB(8GBrecommended)
■ Storage: 10 GB of free disk space
■ Internet: Stable broadband
connection
■ Graphics: Integrated graphics (no
special requirements)
➢Software Requirements:
■ Operating System: Ubuntu 20.04 LTS
or later, Debian, Fedora, or any modern
Linux distribution.
■ Python: Python 3.10+ (usually pre-
installed in most distributions;
otherwise install via package manager)
■ IDE/Text Editor: Visual Studio Code,
PyCharm, or Nano/Vim for terminal-
based editing
■ Database Tools: MySQL or MariaDB
for databases
SOURCE CODE
import json
while True:
print("\nGrocery
Management System")
print("1. Add Item")
print("2. Remove
Item")
print("3. View
Items")
print("4. View
Shopping List")
print("5. Add to
Shopping List")
print("6. Remove from
Shopping List")
print("7. Sort Items
by Category")
print("8. Exit")
choice = input("Enter
your choice: ")
if choice == '1':
add_item(data)
elif choice == '2':
remove_item(data)
elif choice == '3':
view_items(data)
elif choice == '4':
view_shopping_lis
t(data)
elif choice == '5':
add_to_shopping_l
ist(data)
elif choice == '6':
remove_from_shopp
ing_list(data)
elif choice == '7':
sort_items(data)
elif choice == '8':
print("Exiting
the system...")
break
else:
print("Invalid
choice. Please try again.")
# Entry point of the program
if 'name' == '_main_':
main()
Output of the
Source code
❖ ADVANTAGES:
➢Book According to Your Convenience.
➢Plethora of Options to Choose From.
➢Simple and Easy to Use.
➢Saves You Time.
❖ DISADVANTAGES:
➢Internet Access Required
➢Errors in Booking. Unlike booking at a
counter, there's no one to cross-check your
details before confirmation.
➢People unfamiliar with technology or digital
platforms might find it difficult to book tickets
online.
STUDENT REFLECTIONS
https://www.google.com
https://chatgpt.com
https://gemini.google.com
https://discord.gg/
❖ Learning resources:
➢Computer science With Python- Class XII.
By Sumita Arora
_____x_____
END