Aaditya Cs Project
Aaditya Cs Project
ROLL NO :
CLASS : XII
PGT (CS)
Maharashtra
1
NARAYANA E- TECHNO
SCHOOL
CERTIFICATE
This is to certify that AADITYA SANTOSH GUPTA, Roll No: ___________ has
successfully completed the project Work entitled FOOD PROCESSING SYSTEM in the
subject Computer Science (083) laid down in the regulations of CBSE for the purpose of
____________.
(Ms. Vimlesh
Agrawal)
PGT Comp Science
M-Tech CS
Examiner:
Name: _______________
Signature:
2
TABLE OF CONTENTS [ T O C ]
01 ACKNOWLEDGEMENT 04
02 CERTIFICATE
03 INTRODUCTION 05
07 FLOW CHART 15
08 SOURCE CODE 16
09 OUTPUT 19
11 BIBLIOGRAPHY 24
3
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my gratitude
to the people who have been instrumental in the successful completion of this project.
I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
My sincere thanks to Ms. Vimlesh Agrawal, Master In-charge, A guide, Mentor all
the above a
friend, who critically reviewed my project and helped in solving each and every
problem, occurred during implementation of the project
The guidance and support received from all the members who contributed and who
are contributing to this project, was vital for the success of the project. I am grateful for their
constant support and help.
4
INTRODUCTION
Food processing is a crucial aspect of the food industry that involves converting raw
agricultural products into consumable forms. With the growing demand for processed foods
and the need for efficient, automated systems, the development of a Food Processing System
is a significant area of focus. This Computer Science project for Class 12 aims to design and
Project Overview: The Food Processing System is designed to streamline the entire food
production process, ensuring efficiency, quality, and traceability. The system encompasses
different modules to handle specific tasks, providing a holistic solution for food
manufacturers.
Key Features:
Product Master: Create a centralized database of all food products, including details such as
Production Module: Automation of the production process to enhance efficiency and reduce
ensure the final product meets industry standards. Implement checks for factors like weight,
5
Inventory Management: Track raw materials, semi-finished goods, and finished products in
communication channel.
User Authentication and Access Control: Implement a secure login system with different
access levels for administrators, production staff, and quality control personnel.
metrics, and inventory levels. Provide visual analytics to identify trends, bottlenecks, and
Technology Stack:
Programming Language: Java, Python, or any language suitable for the development
User Interface: HTML, CSS, and JavaScript for a responsive and interactive web-based
interface.
Conclusion: This Food Processing System project aims to demonstrate the practical
application of computer science concepts in the context of the food industry. By automating
and optimizing various processes, the system contributes to increased efficiency, reduced
operational costs, and improved overall quality in food production. Throughout the
development process, emphasis will be placed on user-friendly interfaces, data security, and
scalability to ensure the system meets the diverse needs of the food processing industry.
6
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
project, requiring writing and presentation skills which exemplify scholarly style in
computer science.
7
The systems development life cycle is a project management technique that divides
complex projects into smaller, more easily managed segments or phases. Segmenting projects
allows managers to verify the successful completion of project phases before allocating
resources to subsequent phases.
Software development projects typically include initiation, planning, design,
development, testing, implementation, and maintenance phases. However, the phases may be
divided differently depending on the organization involved.
For example, initial project activities might be designated as request, requirements-
definition, and planning phases, or initiation, concept-development, and planning phases. End
users of the system under development should be involved in reviewing the output of each
phase to ensure the system is being built to deliver the needed functionality.
INITIATION PHASE
The Initiation Phase begins when a business sponsor identifies a need or an opportunity.
8
Identify and validate an opportunity to improve business accomplishments of the
organization or a deficiency related to a business need.
Identify significant assumptions and constraints on solutions to that need.
Recommend the exploration of alternative concepts and methods to satisfy the need
including questioning the need for technology, i.e., will a change in the business
process offer a solution?
Assure executive business and executive technical sponsorship. The Sponsor
designates a Project Manager and the business need is documented in a Concept
Proposal. The Concept Proposal includes information about the business process and
the relationship to the Agency/Organization.
Infrastructure and the Strategic Plan. A successful Concept Proposal results in a
Project Management Charter which outlines the authority of the project manager to
begin
the project.
The System Concept Development Phase begins after a business need or opportunity is
validated by the Agency/Organization Program Leadership and the Agency/Organization
CIO.
9
Determine the feasibility and appropriateness of the alternatives.
Identify system interfaces.
Identify basic functional and data requirements to satisfy the business need.
Establish system boundaries; identify goals, objectives, critical success factors, and
performance measures.
Evaluate costs and benefits of alternative approaches to satisfy the basic functional
requirements
Assess project risks
Identify and initiate risk mitigation actions, and develop high-level technical
architecture, process models, data models, and a concept of operations. This phase
explores potential technical solutions within the context of the business need.
It may include several trade-off decisions such as the decision to use COTS software
products as opposed to developing custom software or reusing software components,
or the decision to use an incremental delivery versus a complete, onetime deployment.
Construction of executable prototypes is encouraged to evaluate technology to support
the business process. The System Boundary Document serves as an important
reference document to support the Information Technology Project Request (ITPR)
process.
The ITPR must be approved by the State CIO before the project can move forward.
10
PLANNING PHASE
The planning phase is the most critical step in completing development, acquisition,
and maintenance projects. Careful planning, particularly in the early stages of a project, is
necessary to coordinate activities and manage project risks effectively. The depth and
formality of project plans should be commensurate with the characteristics and risks of a
given project. Project plans refine the information gathered during the initiation phase by
further identifying the specific activities and resources required to complete a project.
A critical part of a project manager’s job is to coordinate discussions between user,
audit, security, design, development, and network personnel to identify and document as
many functional, security, and network requirements as possible. During this phase, a plan is
developed that documents the approach to be used and includes a discussion of methods,
tools, tasks, resources, project schedules, and user input. Personnel assignments, costs,
project schedule, and target dates are established.
A Project Management Plan is created with components related to acquisition
planning, configuration management planning, quality assurance planning, concept of
operations, system security, verification and validation, and systems engineering management
planning.
11
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 a
level 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.
DESIGN PHASE
The design phase involves converting the informational, functional, and network
requirements identified during the initiation and planning phases into unified design
specifications that developers use to script programs during the development phase. Program
designs are constructed in various ways. Using a top-down approach, designers first identify
and link major program components and interfaces, then expand design layouts as they
identify and link smaller subsystems and connections. Using a bottom-up approach, designers
first identify and link minor program components and interfaces, then expand design layouts
as they identify and link larger systems and connections. Contemporary design techniques
often use prototyping tools that build mock-up designs of items such as application screens,
12
database layouts, and system architectures. End users, designers, developers, database
managers, and network administrators should review and refine the prototyped designs in an
iterative process until they agree on an acceptable design. Audit, security, and quality
assurance personnel should be involved in the review and approval process. During this
phase, the system is designed to satisfy the functional requirements identified in the previous
phase. Since problems in the design phase could be very expensive to solve in the later stage
of the software development, a variety of elements are considered in the design to mitigate
risk. These include:
DEVELOPMENT PHASE
13
requirements. Programmers use various techniques to develop computer programs. The
large transaction-oriented programs associated with financial institutions have
traditionally been developed using procedural programming techniques. Procedural
programming involves the line-by-line scripting of logical instructions that are combined
to form a program. Effective completion of the previous stages is a key factor in the
success of the Development phase. The Development phase consists of:
Testing at the development facility by the contractor and possibly supported by end
users
Testing as a deployed system with end users working together with contract personnel
14
Operational testing by the end user alone performing all functions. Requirements are
traced throughout testing, a final Independent Verification & Validation evaluation is
performed and all documentation is reviewed and accepted prior to acceptance of the
system.
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 user requirements.
The system operation is ongoing. The system is monitored for continued performance
in accordance with user requirements and needed system modifications are incorporated.
Operations continue as long as the system can be effectively adapted to respond to the
organization’s needs. When modifications or changes are identified, the system may reenter
the planning phase.
15
SOURCE CODE
print("\n" * 5)
import datetime
import os
list_foods = []
list_drinks = []
list_services = []
16
list_item_price = [0] * 100
var_discount_1 = 200
var_discount_2 = 1000
var_discount_3 = 5000
var_discount_1_rate = 0.05
var_discount_2_rate = 0.10
var_discount_3_rate = 0.15
navigator_symbol = "/"
if os.name == "nt":
navigator_symbol = "\\"
def def_default():
def def_main():
while True:
print("*" * 28 + "FOOD PROCESSING SYSTEM" + "*" * 24 + "\n")
print("*" * 31 + "MAIN MENU" + "*" * 32 + "\n"
17
"\t(O) ORDER\n"
"\t(R) REPORT\n"
"\t(P) PAYMENT\n"
"\t(E) EXIT\n" +
"_" * 72)
if (len(input_1) == 1):
if (input_1 == 'O'):
print("\n" * 10)
def_order_menu()
break
18
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def def_order_menu():
while True:
print("*" * 31 + "ORDER PAGE" + "*" * 31 + "\n"
"\t(F) FOODS AND DRINKS\n"
"\t(O) OTHER SERVICES\n"
"\t(M) MAIN MENU\n"
"\t(E) EXIT\n" +
"_" * 72)
if len(input_1) == 1:
if (input_1 == 'F'):
print("\n" * 10)
def_food_drink_order()
break
19
def_other_services()
break
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def def_full_file_reader():
file_foods = open('files'+navigator_symbol+'list_foods.fsd', 'r')
for i in file_foods:
list_foods.append(str(i.strip()))
file_foods.close()
20
for i in file_drinks:
list_drinks.append(str(i.strip()))
file_drinks.close()
for i in file_services:
list_services.append(str(i.strip()))
file_services.close()
i=0
i=0
i=0
21
if '$' in list_services[i]:
list_services[i] = str(list_services[i][:list_services[i].index('$') - 1]) + ' ' *
(20 - (list_services[i].index('$') - 1)) + str(list_services[i]
[list_services[i].index('$'):])
i += 1
def_full_file_reader()
def def_file_sorter():
i=0
i=0
i=0
22
while i < len(list_services):
list_item_price[80 + i] = float(list_services[i][int(list_services[i].index("$")
+ 2):])
i += 1
def_file_sorter()
def def_food_drink_order():
while True:
print("*" * 26 + "ORDER FOODS & DRINKS" + "*" * 26)
print(" |NO| |FOOD NAME| |PRICE| | |NO| |DRINK NAME|
|PRICE|")
i=0
if i < len(list_foods):
food = " (" + str(i + 1) + ")" + " " * var_space + str(list_foods[i]) +
" |"
else:
food = " " * 36 + "| "
if i < len(list_drinks):
drink = "(" + str(41 + i) + ")" + " " + str(list_drinks[i])
23
else:
drink = ""
print(food, drink)
i += 1
if (input_1 == 'M'):
print("\n" * 10)
def_main()
break
if (input_1 == 'E'):
print("*" * 32 + "THANK YOU" + "*" * 31 + "\n")
break
if (input_1 == 'P'):
print("\n" * 10)
def_payment()
break
try:
int(input_1)
if ((int(input_1) <= len(list_foods) and int(input_1) > 0) or
(int(input_1) <= len(list_drinks) + 40 and int(input_1) > 40)):
24
try:
print("\n" + "_" * 72 + "\n" + str(list_foods[int(input_1) - 1]))
except:
pass
try:
if int(input_2) > 0:
list_item_order[int(input_1) - 1] += int(input_2)
print("\n" * 10)
print("Successfully Ordered!")
def_food_drink_order()
break
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_2) + ").
Try again!")
except:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def def_other_services():
25
while True:
print("*" * 29 + "OTHER SERVICES" + "*" * 29)
print(" |NO| |SERVICE NAME| |PRICE|")
i=0
while i < len(list_services):
print(" (" + str(81+ i) + ")" + " " + str(list_services[i]))
i += 1
if (input_1 == 'M'):
print("\n" * 10)
def_main()
break
if (input_1 == 'E'):
print("*" * 32 + "THANK YOU" + "*" * 31 + "\n")
break
if (input_1 == 'P'):
print("\n" * 10)
def_payment()
break
26
try:
int(input_1)
if (int(input_1) > 80) and (int(input_1) < 100):
print("\n" * 10)
print("Successfully Ordered: " + str(list_services[int(input_1) - 81]))
list_item_order[int(input_1) - 1] = 1
def_other_services()
break
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
except:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def def_report():
while True:
print("*" * 33 + "REPORT" + "*" * 33 + "\n")
file_report = open('files'+navigator_symbol+'report.fsd', 'r').read()
print(file_report)
print("\n(M) MAIN MENU (E) EXIT\n" + "_" * 72)
input_1 = str(input("Please Select Your Operation: ")).upper()
if (input_1 == 'M'):
print("\n" * 10)
def_main()
27
break
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def def_payment():
while True:
print("*" * 32 + "PAYMENT" + "*" * 33 + "\n")
total_price = 0
report_new = "\n\n\n" + " " * 17 + "*" * 35 + "\n" + " " * 17 + "DATE: " +
str(datetime.datetime.now())[:19] + "\n" + " " * 17 + "-" * 35
i=0
28
if (i >= 40) and (i < 80):
report_new += "\n" + " " * 17 + str(list_drinks[i - 40]) + " x " +
str(list_item_order[i])
print(" " * 17 + str(list_drinks[i - 40]) + " x " +
str(list_item_order[i]))
total_price += list_item_price[i] * list_item_order[i]
29
"" + " " * 17 + "DISCOUNT AMOUNTS: $ " + str(round(total_price
* var_discount_3_rate, 2)) + "\n" + " " * 17 + "_" * 35 + "\n"
"" + " " * 17 + "TOTAL PRICES: $ " + str(round(total_price, 2)))
30
print(" " * 17 + "-" * 35 + "\n"
"" + " " * 17 + "DISCOUNT RATES: %"+
str(var_discount_1_rate * 100) + "\n"
"" + " " * 17 + "DISCOUNT AMOUNTS: $ " + str(round(total_price
* var_discount_1_rate, 2)) + "\n" + " " * 17 + "_" * 35 + "\n"
"" + " " * 17 + "TOTAL PRICES: $ " + str(round(total_price, 2)))
else:
report_new += "\n" + " " * 17 + "-" * 35 + "\n" + " " * 17 + "TOTAL
PRICES: $ " + str(round(total_price, 2)) + "\n" + " " * 17 + "*" * 35
print(" " * 17 + "_" * 35 + "\n" + " " * 17 + "TOTAL PRICES: $"+
str(round(total_price, 2)))
if (input_1 == 'P'):
print("\n" * 10)
print("Successfully Paid!")
file_report = open('files'+navigator_symbol+'report.fsd', 'a')
file_report.write(report_new)
file_report.close()
def_default()
31
elif (input_1 == 'R'):
print("\n" * 10)
def_report()
break
else:
print("\n" * 10 + "ERROR: Invalid Input (" + str(input_1) + "). Try
again!")
def_main()
32
OUTPUT
33
34
35
36
37
SYSTEM REQUIREMENTS OF THE
PROJECT
38
BIBLIOGRAPHY
1. python.org
2. Code Academy
3.tutorialsPoint.com
4. PythonChallenge.com
5. Google’s Python Class
6. LearnPython.org
7. layak.in
39