You are on page 1of 16

By

Karun.C.K

INTRODUCTION
.

Tom's Restaurant, a restaurant in New York made familiar by Suzanne Vega and the television sitcom Seinfeld

A restaurant is a retail establishment that serves prepared food to customers Service is generally for eating on premises, though the term has been used to describe take-out establishments and food delivery services. The term covers many types of venues and a diversity of styles of cuisine and service. A restaurant owner is called a restaurateur; both words derive from the French verb restaurer, meaning to restore. FOOD AUTOMATION aims at developing into software that can be used at places like restaurants and fastfood points to easily manoeuvre the daily tasks of taking the order, calculating the bill etc. The main advantage of this project is that it converts all the manual work which is time consuming and error prone to fully automated system which helps in eliminating all the paper work, saves time, improves customer services. It also speeds up various processes such as addition of new items to the menu, deletion of items from the menu,

modification of details of items and calculation of bills thus providing convenience to the workers as well as customers.

In the development of the project , selection of an appropriate programming language and a platform is of primary importance. The major part of the credit goes to the software environment chosen by the developer. Selection of a language from the ocean of languages is very difficult , a developer has to consider various features and functionalties that a particular language can provide.

In this project c++ language is used to maintain all the data. It provides many features like file handling ,data can be easily maintained and many features that are required while doing a project.

1.1 PROBLEM DEFINITION The project is developed for restaurants , which aims to automate its various tasks. All the work of various tasks were earlier carried out manually. However in the course of time it was realized that manual work is error prone and time consuming. Automation provides quick & easy step by step approach to handle the tasks like adding items to the menu, deleting items , modifying the details of items and calculating bills. Thus automation is no longer an option , its a requirement.

1.2 OBJECTIVES OF THE PROPOSED SYSTEM


To reduce time for the organization To increase efficiency and accuracy of the system To reduce pressure on the labour and relieving man power from repetitive and dull job To make the retrieval of information faster

To make the system more feasible To reduce large amount of paper work To make the system more reliable to avoid any ambiguity. To reduce the cost factor of the system To make the system more flexible.

1.3 ADVANTAGES OF THE PROPOSED SYSTEM


Converts all the manual work which is time consuming and error prone to fully automated system Helps in eliminating all the paper work, saves time and improves customer services.

Makes the addition of items in the menu, deletion of items and modification of
items in the menu easier and faster.

C++ has support for most of the web servers available today Bills can be calculated more easily and with more accuracy Reduces pressure on the labour. Makes the system more feasible and flexible and thus retrieval of information
becomes convenient.

2. SYSTEM ANALYSIS

2.1 TOOLS LANGUAGE AND PLATFORM TO BE USED

HARDWARE SPECIFICATION

MEMORY : 984 KB MICROPROCESSOR: intel core i3 HARD DISK:250 GB PRINTER: hp Laser printer

SOFTWARE SPECIFICATION

PLATFORM : C++ with graphics FRONT END: C++ WINDOWS 7 M.S WORD

2.2 FEASIBILITY STUDY

This phase is carried out to access whether software project is technically and economically viable.

It involves following steps:

Problem is defined Determination of technical and economical viability Study of alternative solution to attempt the problem ,a cost/benefit analysis is done. A layout of plan is prepared to get the project executed, scope of all phases is determined.

Feasibility is the likelihood that the system will be useful to the organization.

Following feasible factors are studied during feasibility study-:

Economic and financial Technical Operational Schedule Legal and contractual Political Organizational

Economic or financial feasibility:-it is a measure of the cost effectiveness of a project or solution underline.

Technical feasibility-:Its purpose is to gain an understanding of the organizational ability to construct the proposed system.it is a measure of specific technical solution and availability of technical resources and expertise.

Operational feasibility-:It is a measure of how well the solution will work in the organization. It is also a measure of how people feel about the system/project. It is The willingness and ability of the management ,employees, customers, suppliers and others to operate use and support a proposed system.

Schedule feasibility-:It is a measure of how responsible the project time-table is.

Legal and contractual feasibility : While asserting this we need to gain an understanding of any potential ,legal ,contractual, ramifications due to construction of the system.

Political feasibility- The construction of an IS can have potential ramifications also.

Asserting political feasibility- It is a process of evaluating how key stake holders within the organization view the proposed system.

Organizational feasibility-:It is the likelihood that the project will attain the desired objective.

3. SYSTEM DESIGN
This section of the project involves the division of project in some modules or parts thus making the presentation of the project clear and easily understandable. We have discussed below various modules and part of project they contain.

3.1 MODULES (Description)

This project mainly consists of two menus:

EDIT MENU MAIN MENU

Edit menu consists of the following available options:

1. ADD ITEM 2. DELETE ITEM 3. MODIFY ITEM 4. QUIT

MAIN MENU

It consists of the following options

1 PURCHASE 2 SEE MENU 3 EDIT MENU 4 TOTAL BILL 0 QUIT

ENTER CHOICE

Now here when we choose the first option i.e. PURCHASE, we need to mention the item code of the item to be purchased. After this the complete details of the item is displayed. Then we are required to mention the quantity, whether we want to cancel this purchase or not

After this total bill is calculated and displayed along with the complete details of items.

When we choose the second option i.e. SEE MENU, following details of the list of items is displayed:

1 ITEM CODE 2 ITEM NAME 3 ITEM COST 4 ITEM PRICE

Now when we choose the third option EDIT MENU following options are dislayed:

1. ADD ITEM 2. MODIFY ITEM 3. DELETE ITEM 4. EXIT

ENTER CHOICE:

Now here when we choose the first option i.e. ADD ITEM, we need to specify the following details of the item:

ITEM NAME ITEM COST ITEM PRICE

Thereafter we have to decide whether we want to save the record or not and hence choose one of the options: y/n. When we choose y our record is saved otherwise not. Then we add more items according to the requirement. Now when we choose the second option i.e. MODIFY ITEM, we need to specify the item code of the item to be selected and then modify the details of the items as per the requirement by choosing the correct options. When we choose the third option i.e. DELETE ITEM, we need to specify the item code of the item to be deleted. Thereafter the selected item is deleted from the menu. We can choose the fourth option i.e. EXIT to exit the menu.

We can choose the fourth option of the main menu i.e. TOTAL BILL to display the total bill of the items purchased

10

3.2 FLOWCHART
START

Main menu with the given available options is displayed Total bill 1. purchase 2.see menu 3 Edit menu

0 exit Enter the item code and quantity of the item to be purchased List of items is displayed with its details such as item code, item cost etc 1 add item

Total bill is calculat -ed

Edit menu is displayed with certain options


0 exit

Cancel the purchase Purchase is cancelled Enter the item name, item cost and item price

2 delete item

Modify item

Bill is calculat ed

Item is added

Enter item code of the item to be deleted Item is deleted

Enter item code of the item to be modified and change the details according to the requirement
Item is modified

Stop

11

4. IMPLEMENTATION OF THE PROJECT

4.1 WORKING

In this project we have three classes:

CLASS MENU CLASS FOOD CLASS ACCOUNT

In class menu there are two main functions: Edit _menu Main _menu

In case of main menu we have following options:

1 PURCHASE 2 SEE MENU 3 EDIT MENU 4 TOTAL BILL 0 EXIT

In case of purchase we have to mention the item code of the item to be purchased and quantity. Thereafter bill is displayed. For this we have purchase function

When we choose see menu list of items along with its details such as item code, item cost and item price is displayed. For this we make use of see menu function 12

In case of Edit menu we have following options:

ADD ITEM

DELETE ITEM

MODIFY ITEM

EXIT

In case of add item we mention the item name, item price and item cost for the item to be added and thus the item is added in the menu

In case of delete item we mention the item code of the item to be deleted .

In case of modify item we mention the item code of the item to be modified. For this we make use of modify_item and modify_record functions.

When we choose total bill ,total bill is displayed.

In class food we have following functions:

Add_item- This function add records in the food file. Delete_item This function gives the code no. to delete record from the food file Modify_item This function gives the code no. to modify record from the food file List_of_item- This function displays the list of food items Purchase This function purchases the food item in the menu Last_code- It returns the code of the last record in the food file.

13

Delete_record-This function deletes the record for the given code from the food file. (FOOD.DAT) Modify_record This function modify the record for the given code from the food file Display_record-It displays the record of the given code from the food file(FOOD.DAT) Item_found-This function return the value 1 if the record is found for the given code in the food file . Recordno- This function return th record no. of the given code in the food file. Sort- This function sort the record in the food file according to the code nos. Class account is used to calculate bill.It consists of the following functions: Bill_list This function displays the lists of the bills Prepare_bill This function prepares and displays the bill for the given bill no. according to the purchases made. Last_billno-This function returns the billno. of the last record in the bill file

14

BONAFIDE CERTIFICATE

Certified to be the Bonafide of the work done by Karun.C.K of class XII in Maharishi Vidya Mandir S.S.S. CHETPET CHENNAI 600031 , during the year 2013-2014

Submitted for ALL INDIA SENIOR SECONDARY SCHOOL PRACTICAL EXAMINATION in Computer Science held at Maharishi Vidya Mandir SCHOOL , Chennai 31.

Date : -------------

Date:----------

Internal Examiner:------------

External Examiner:----------

15

INDEX : INTRODUCTION

1.1 PROBLEM DEFINITION 1.2 OBJECTIVE OF THE PROPOSED SYSTEM 2. SYSTEM ANALYSIS 2.1 TOOLS LANGUAGE PLATFORM TO BE USED HARDWARE REQUIREMENTS SOFTWARE SPECIFICATION 2.2 FEASIBILITY STUDY 3. SYSTEM DESIGN 3.1 MODULES DESCRIPTION 3.2 FLOWCHART 4. IMPLEMENTATION 4.1 WORKING 4.2 SOURCE CODE 5. OUTPUT 6.CONCLUSION

16

You might also like