8. Food Order Processing Management
8. Food Order Processing Management
01 ACKNOWLEDGEMENT 04
02 INTRODUCTION 05
04 PROPOSED SYSTEM 06
07 FLOW CHART 15
08 SOURCE CODE 16
09 OUTPUT 21
10 TESTING 23
12 BIBLIOGRAPHY 25
1
PROJECT ON FOOD ORDER PROCESSING MANAGEMENT
INTRODUCTION
The Food Order Processing Management is very useful in ordering food and
keeping the record of ordered food as well as the record of the customer of your
service. It helps the customer also to keep check on their own account .
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
2
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human beings of be really
wants to stand against today’s merciless competition where not to wise saying “to
err is human” no longer valid, it’s outdated to rationalize your mistake. So, to keep
pace with time, to bring about the best result without malfunctioning and greater
efficiency so to replace the unending heaps of flies with a much sophisticated hard
One has to use the data management software. Software has been an ascent
markets, which have helped in making the organizations work easier and efficiently.
Data management initially had to maintain a lot of ledgers and a lot of paper work
has to be done but now software product on this organization has made their work
faster and easier. Now only this software has to be loaded on the computer and work
can be done.
This prevents a lot of time and money. The work becomes fully automated
and any information regarding the organization can be obtained by clicking the
3
SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)
4
PHASES OF SYSTEM DEVELOPMENT LIFE CYCLE
INITIATION PHASE
5
SYSTEM CONCEPT DEVELOPMENT PHASE
6
PICTORIAL REPRESENTATION OF SDLC:
PLANNING PHASE
This phase formally defines the detailed functional user requirements using
high-level requirements identified in the Initiation, System Concept, and Planning
phases. It also delineates the requirements in terms of data, system performance,
security, and maintainability requirements for the system. The requirements are
defined in this phase to alevel of detail sufficient for systems design to proceed. They
need to be measurable, testable, and relate to the business need or opportunity
identified in the Initiation Phase. The requirements that will be used to determine
acceptance of the system are captured in the Test and Evaluation MasterPlan.
Further define and refine the functional and data requirements and document
them in the Requirements Document,
Complete business process reengineering of the functions to be supported
(i.e., verify what information drives the business process, what information is
generated, who generates it, where does the information go, and who
processes it),
Develop detailed data and process models (system inputs, outputs, and the
process.
Develop the test and evaluation requirements that will be used to determine
acceptable system performance.
8
DESIGN PHASE
9
Business Sponsor, the final System Design Document is created to serve as
the Critical/Detailed Design for the system.
This document receives a rigorous review byAgency technical and functional
representatives to ensure that it satisfies the business requirements.
Concurrent with the development of the system design, the Agency Project
Manager begins development of the Implementation Plan, Operations and
Maintenance Manual, and the Training Plan.
DEVELOPMENT PHASE
10
and issue a security certification and accreditation prior to
installation/implementation.
Testing as a deployed system with end users working together with contract
personnel
IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and accepted by the
user. In this phase, the system is installed to support the intended business
functions. System performance is compared to performance objectives established
during the planning phase. Implementation includes user notification, user training,
installation of hardware, installation of software onto production computers, and
integration of the system into daily work processes. This phase continues until the
system is operating in production in accordance with the defined userrequirements.
11
OPERATIONS AND MAINTENANCE PHASE
12
FLOW CHART
start
TO CREATE ACCOUNT:1
TO LOGIN:2
TO EXIT:3
If choice=1 If choice =2
If Choice=3 yes
Print
Enter name
Enter name
Thank you for Enter password
Enter account no
Visiting Enter accont no
Enter password
Sorry
ERROR
ERROR
13
Welcome to your food service
TRUE
To update press 1
To exit press 4
C2=3 C2=2
C2=4
Fetch all from sales
Enter name
Enter account no
Enter address
Stop
14
SOURCE CODE (main food program.py)
conn=sql.connect(host="localhost", user="root",
passwd="manager", database="food")
if conn.is_connected():
print("sucessfully connected")
c1=conn.cursor()
print("2.ORDER FOOD")
print("3.LOG IN")
print("4.EXIT")
if choice ==1:
values('"+v_cust_name+"',"+str(v_account_no)+")"
c1.execute(v_SQL_insert)
conn.commit()
print("account created")
if choice==2:
15
v_f_name=input("enter the name of food:")
v_f_name+"',"+str(v_price)+",'"+v_address+"')"
c1.execute(v_SQL_insert)
conn.commit()
print("sucessfully phased")
if choice==4:
if choice==3:
print('')
print('')
print('')
c1=conn.cursor()
data=c1.fetchall()
count=c1.rowcount
print(' ')
print(' ')
16
print('WELCOME TO YOUR FOOD SERVICE')
print(' ')
print(' ')
')
print(' ')
')
print(' ')
print(' ')
print(' ')
if (c2==1):
c1=conn.cursor()
data=c1.fetchall()
count=c1.rowcount
print(row)
print("VISIT AGAIN")
elif (c2==2):
print('')
17
print('')
print('')
v_acount_no=int(input("enter account
number:"))
c1=conn.cursor()
#c1.execute('create table
myc('"+v_cust_name+"',"+str(v_account_no)+")"
values('"+v_cust_name+"',"+str(v_account_no)+")"
c1.execute(update_dtails)
conn.commit()
elif (c2==3):
elif(c2==4):
c1=conn.cursor()
data=c1.fetchall()
count=c1.rowcount
print(row)
print("VISIT AGAIN")
else:
18
OUTPUT
19
TESTING
TESTING METHODS
Software testing methods are traditionally divided into black box testing and
white box testing. These two approaches are used to describe the point of view that
a test engineer takes when designing test cases.
SPECIFICATION-BASED TESTING
The black box tester has no "bonds" with the code, and a tester's perception
is very simple: a code must have bugs. Using the principle, "Ask and you shall
receive," black box testers find bugs where programmers don't. But, on the other
hand, black box testing has been said to be "like a walk in a dark labyrinth without a
flashlight," because the tester doesn't know how the software being tested was
actually constructed.
That's why there are situations when (1) a black box tester writes many test
cases to check something that can be tested by only one test case, and/or (2) some
parts of the back end are not tested at all. Therefore, black box testing has the
advantage of "an unaffiliated opinion," on the one hand, and the disadvantage of
"blind exploring," on the other.
White box testing, by contrast to black box testing, is when the tester has
access to the internal data structures and algorithms (and the code that implement
these)
White box testing methods can also be used to evaluate the completeness of
a test suite that was created with black box testing methods. This allows the software
team to examine parts of a system that are rarely tested and ensures that the most
important function points have been tested.
22
HARDWARE AND SOFTWARE REQUIREMENTS
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
23
BIBLIOGRAPHY
24