You are on page 1of 27

ACADEMIC YEAR: 2022-23

PROJECT REPORT ON
FOOD ORDERING SYSTEM

ROLL NO :

NAME : AKSHAYA.D

ROLL NO :

NAME : CHANDANA.K

CLASS : XII

SUBJECT : COMPUTER SCIENCE

SUB CODE : 083

PROJECT GUIDE: Mr. KIRUBAKARAN .M M.Sc., B.Ed.,


AUROBINDO VIDHYALAYA SENIOR SECONDARY
SCHOOL
DHARAPURAM

CERTIFICATE
This is to certify that Cadet D.AKSHAYA ,K.CHANDANA ,Roll
No:12206,12207 has successfully completed the project Work entitled
FOOD ORDERING SYSTEM in the subject Computer Science (083)
laid down in the regulations of CBSE for the purpose of Practical
Examination in Class XII to be held in AUROBINDO VIDHYALAYA
SENIOR SECONDARY SCHOOL , Dharapuram .

(Kirubakaran.M)
M.Sc., B.Ed.,
EXAMINER:

Name:

Signature:

PRINCIPAL:
BONAFIDE CERTIFICATE

This is to clarify that the project entitled “FOOD


ORDERING SYSTEM was submitted By
D.AKSHAYA,K.CHANDANA who carried out the project work
under my supervision.

Mr. KIRUBAKARAN.M

Principal, Computer science teacher,


Aurobindo Vidhyalaya senior secondary school, Aurobindo Vidhyalaya senior secondary
school,

Dharapuram. Dharapuram

EXTERNAL EXAMINER

Submitted for the practical examination held on - - - - - - - - - - -


CONTENTS

PAGE
SNO TITLE
NO
INTRODUCTION
01 1
1.1 About the Project
SYSTEM STUDY
2.1 Existing System
02 2.2 Disadvantages of Existing System
2.3 Proposed System
2.4 Advantages of Proposed System
SYSTEM ANALYSIS
3.1 Packages Selected
03
3.2 Resources Required
3.3 Data flow diagram
SYSTEM DESIGN
4.1 Architectural Design
04
4.2 Tables
4.3 Data Dictionary
CODING AND DEBUGGING
05 5.1 Functional Documentation
5.2 Special Features of Language/Utility
TESTING
06
6.1 Test Data & Output
USER MANUAL
07
7.1 Installation Procedure
CONCLUSION
08
8.1 Future Enhancement

09 BIBLIOGRAPHY

APPENDIX
10 Coding
Outputs
ACKNOWLEDGEMENT

We have great pleasure in presenting this project entitled “FOOD


ORDERING SYSTEM”. We would like to express my gratitude to all those who
gave me the possibility to complete this dissertation work.

We express a deep sense of gratitude to almighty God for giving me strength


for the successful completion of the project.

I profoundly thank Mrs.Maheshwari.K , Principal Aurobindo Vidhyalaya


Senior Secondary, Dharapuram, for providing me the opportunity to be a part of
the institution.

We sincerely thank Mr. KIRUBAKARAN.M, Department of Computer


Science for Providing the means of attaining my cherished dream.

We especially thank all our respected staff members for their guidance and
support throughout this work. We thank my parents and friends for their assistance,
prayers, moral support and constant encouragement during the course of this work.
1.INTRODUCTION
1.1 About the project

Online Food ordering system is a process in which one can order various foods,
just by sitting at home or any place..So the food ordering system these days has
one of the fastest growing markets, though being a new idea. In this project we
have developed that it overcomes the disadvantages of the traditional queuing
system.This system enhances the speed and standardization of taking the order
from the customer. It provides a better communication platform. The online food
ordering system sets up a food menu online and customers can easily place the
order as per they like.The reason why we choose this project is the idea behind the
project that is to solve the problem of people which they are facing when they shift
to a different city
2.SYSTEM STUDY
2.1 Existing system
Food ordering system will also automatically calculate and display the final bill
so the bills will be ready to print without having any error because the information
for that item is already inserted.The main objective of the Online Food Ordering
System is to manage the details of food item, customer, order, confirm order. An
order system on multi-platforms for customers to select dishes and place orders.
Food ordering system is for making efficient communication between consumer
and producer of the food system which will then lead to the ideal and effective
system.

2.2 Disadvantages of existing system

➢ The attractive dishes sometimes cause health issues due to their ingredients,
and the hot food packed in plastic bags or boxes leads to health issues.
➢ If you get this type of food on a regular basis, it may cause food poisoning
and make you obese too.

2.3 Proposed system

This system has a bunch of benefits from various points of view. This online
application enables the end-users to register to the system online, select the food
items of their choice from the menu list, and order food online. Also, the payment
can be made through online mode or at the time of home delivery depending upon
the customer’s choice and convenience.

2.4 Advantages of proposed system

❖ The Food ordering system is simple, user-friendly, and can be easily


integrated with your existing system.
❖ This system allows the staff to serve customers within less time as compared
to the manual system.
❖ You won’t have to pay any charges or commission on any orders.
❖ An online ordering platform is a place where customers can order food
directly instead of going to a restaurant.
❖ It is a web-based ordering system where customers using a mobile app can
use the online user interface to order online.

3.SYSTEM ANALYSIS
3.1 Packages Required

Frontend : PYTHON

Backend : MySQL Server

3.2 Resources Required

Hardware Requirements:

Processor : Intel(R) Core(TM) i5-3470T CPU @ 2.90GHz 2.90 GHz

Hard Disk : 500 GB

RAM : 8 GB

Software Requirements:

Operating System : Windows 10 pro

Front End : PYTHON

Back End : MySQL Server

3.3 Data Flow Diagram

1) Login Form:

User ID Password

Login
2) Level 1:

Order no:

Food Varieties

Address of
Food Details the
customer

Customer Name

Quantity of the
food
4.SYSTEM DESIGN

4.1 Architecture design:

Food ordering system

Admin

Name of
Order no
the food address Cust_nam
quantity e

4.2 Tables:

Field Name Data Type Key


s_no int –
food_item varchar(20) –
no_of_items int –
price int –
4.2.1 Food_order

Field Name Data Type Key


name varchar(40) –
address varchar(40) –
quantity int –
food varchar(30) –
total int –
cust_num int –
date date –
5. CODING AND DEBUGGING
5.1 FUNCTIONAL DOCUMENTATION:

MODULES

A module is a separate unit of software or hardware. Typical characteristics of


modular components include portability, which allows them to be used in a variety
of systems, and interoperability, which allows them to function with the
components of other systems. The term was first used in architecture.

There is two main module is used in this project such as

● Admin module

● User module

Admin Module
There are sum sub modules are used such as
★ ORDER FOOD
★ ORDERED FOOD
★ RATE US

ORDER FOOD

User can order some food through the digital transaction of ordering. The benefit
of the system is to efficiently take the customer's order and give them a proper
calculation in order to generate a billing receipt.
ORDERED FOOD

User can view the details of food which the user ordered. It shows us the details of
customer and the food which we ordered.

RATE US

It allows user to rate the service to improve the food and service.

5.2 Special Features of Language/Utility

Python:

Python is the most popular language that offers a wide variety of career

options. It is a free and open-source language used in web applications, data

science, artificial intelligence, machine learning, and so many other programs.

Python is easy to learn and allows developers to focus on problem-solving, rather

than syntax. Python is a popular language because of its features. Following are the

key features of Python.

Python Easy to Learn :

Learning a Python programming language is easy because of the simple

structure and simple syntax of the language. It is like writing an English language

using space. Because of this python easy to learn language

Easy to Use:

Python does not need curly brackets ‘{‘ or semicolon ‘;’ instead it uses
indentation for differentiating code blocks and which automatically beautify the

code structure. It allows users to think like a programmer and not to focus on

syntax

Dynamically Typed Language

This is one of the key features of python. Python is a dynamically typed

language, i.e. there is no need to declare a type of variable. It is decided at run

time. Type checking is done at run time.

Free and Open Source

This is one of the key features of python. Python is freely available to

download, install and use from python.org. There is no need to pay any type of

charge for this. Libraries of python are open source. Anyone could use modules

and functions of python.

SQL SERVER:

Microsoft SQL Server is a relational database management system developed by

Microsoft. As a database, it is a software product whose primary function is to

store and retrieve data as requested by other software applications, be it those on

the same computer or those running on another computer across a network

(including the Internet). There are at least a dozen different editions of Microsoft

SQL Server aimed at different audiences and for workloads ranging from small

single-machine applications to large Internet-facing applications with many

concurrent users. Its primary query languages are T-SQL and ANSI SQL.
6.TESTING
6.1 TEST DATA AND OUTPUT

1.login page

2.Order Food
3.Ordered Food

4.Rating

5.Exit
7.USER MANUAL

Installation Procedure: 

STEP-1 Install the python software in the system where you want to use this
software. 
STEP-2 Open the food ordering system through.

STEP-3 When it opens it asks for your choice .

Enter your choice as1,2,3,4.

STEP-4 Now it moves to the main page consist of

several buttons like ‘ORDER FOOD’, ‘ORDERED

FOOD’, ‘RATE US’,’EXIT’.

STEP-5 You can enter in to any one of the module

by clicking the button provided and move to the

next page. 

STEP-6 While clicking the ORDER FOOD button module you will
view the details of the food available. 
STEP-7 By clicking ORDERED FOOD button you will view the details of the
ordered food which you ordered. 
STEP-8 While clicking the rate us button you can rate us. 

8.CONCLUSION
I have tried my level best to make the system as interactive as possible. The
system has been developed with much care and free of errors and at the same
time it is efficient and less time consuming.This project helped us in gaining
valuable information and practical knowledge on several topics like
management of databases using mysql.
9. Bibliography
1. James R. Groff , Paul N. Weinberg, Andrew J. Oppel . The Complete
Reference SQL Third Edition.
2. Sumita Arora, Computer Science with Python Thirteenth Edition
3. https://eatanceapp.com
10.APPENDIX

CODING

import mysql.connector as sql


from datetime import date
import random
conn=sql.connect(host="localhost", user="root", passwd="aurobindo",
database="project")
print("ORDER YOUR FOOD HERE")
c1=conn.cursor()
print('WELCOME TO YOUR FOOD SERVICE')
print('TO ORDER FOOD:1')
print('TO SEE ORDERED FOOD:2 ')
print('WANT TO RATE US ?:3')
print('TO EXIT PRESS :4')
c2=int(input('enter your choice'))
if c2==1:
c1.execute("select food_item, price from food")
data=c1.fetchall()
print(data)
v_f_name=input("enter the name of food:")
v_quantity=int(input("Enter quantity:"))
v_address=input("enter your address:")
v_cust_name=input("enter your name:")
v1="select price from food where food_item='{}'".format(v_f_name)
v2=c1.execute(v1)
v3=c1.fetchall()
v4=v_quantity
custnum=random.randint(1,1000)
v_SQL_insert="insert into
food_order(name,address,quantity,food,total,cust_num) values('{}','{}',
{},'{}',{},
{})".format(v_cust_name,v_address,v_quantity,v_f_name,v4,custnum)
c1.execute(v_SQL_insert)
conn.commit()
print("SUCESSFULLY ORDERED")
print("Your order number is:",custnum)
elif(c2==2):
order=int(input("Enter your order number"))
c1.execute('select name,address,food,quantity,total from food_order
where cust_num={}'.format(order))
data=c1.fetchall()
for row in data:
print(row)
print("VISIT AGAIN")
elif (c2==3):
print('RATE US FOR OUR SERVICE')
rating=int(input("ENTER YOUR RATING:"))
print('THANKS FOR RATING')
elif (c2==4):
print("THANKS FOR VISITING")
conn.close()
else:
print("invalid choice")

OUTPUT
1.login page

2.Order Food
3.Ordered Food

4.Rating
5.Exit

You might also like