project report

82
FAST FOOD MANAGEMENT SYSTEM December 07 2007 PROJECT REPORT Submitted in the fulfillment of the requirement for the award of the degree of POST GRADUATE DIPLOMA IN INFORMATION TECHNOLOGY from Symbiosis Centre for Distance Learning (SCDL) By XXXXXX XXXXX Reg. No. 000000000

Upload: visheshanand

Post on 30-Sep-2015

212 views

Category:

Documents


0 download

DESCRIPTION

it is help uis frhflueirovgle

TRANSCRIPT

FAST FOOD MANAGEMENT SYSTEM

FAST FOOD MANAGEMENT SYSTEMDecember 072007

PROJECT REPORT Submitted in the fulfillment of the requirement for the award of the degree of POST GRADUATE DIPLOMA IN INFORMATION TECHNOLOGY from Symbiosis Centre for Distance Learning (SCDL)By XXXXXX XXXXX Reg. No. 000000000

Table of ContentsSr. No.TitlePg.

No.

1Introduction3

2Objective4

3Problem and Proposed Solution for Billing Reports5

4Scope of Package6

5System Design Process7

6Feasibility Study10

7System AnalysisFunctional Requirement11

Process Requirement11

Storage Requirement12

Control Requirement12

8Data Flow Diagram13

9Class Design & Description19

10Database Design21

11Report Layout22

12Implementation24

13Input / Output Screens55

14Testing60

15Debugging62

16Implementation Issues63

17User Manual64

18Future Enhancements66

19Bibliography67

Introduction

The Fast Food Management is one of the important work of any outlet either it may be on large scale or small scale. The Fast Food Management System has data of the items available in restaurant. It also handles the billing information and item information purchased by the customer.The Fast Food Management is a very tough and complex task that needs so much work and cares to work on. This is the responsibility of the account and manager of restaurant to take care of the Fast Food Management System. He is responsible for maintaining all the things in the restaurant. In this way, it is an important and very responsible post.ObjectiveThe objective of the project is to develop Fast Food Management System, which shall be used to manage the database of several items in a coherent way. Function of the System is as follows:

Stores the information of each and every item which is available in the restaurant.

Add the information of new item.

View the information of each and every item.

Modify the information of item.

It can also make bill for customer.

It can also track the account information of item.

Accurate & Time Saving

Fast & Reliable

User Friendly - This system will be highly user friendly and any one can use it easily.

Problem faced with Billing Report of ItemsBilling reports are generated manually. For this reason there are certain limitations:

There is no particular database of items sold.

More consumption of resources.

More wastage of time.

More chances of error.

More money is required as manpower is more.Solution ProvidedWe make the current system of billing record keeping automated as a result:

There will be a particular database maintained.

Less consumption of resources.

Less wastage of time.

Less chances of error.

Less money is required as the manpower decreases.

Proposed Modules Generation of Billing Reports.

Scope of PackageFast Food Management System package can be implemented in any restaurant, which is on large-scale, or small scale, and has following facilities to provide:

Item Details Item Code

Item Name

Item Cost

Item price

Other operations Purchase

See Menu Total Billing

System Design ProcessA system is simply a set of components that interact to accomplish some specific purpose or we can define the system as the effective combination of the following seven points:

Planning

Analysis

Designing

Implementation / Coding

Testing

Deployment MaintenancePlanning:Planning include feasibility study regarding the software that has to be develop. The main points to be kept in mind during the planning phase are: Economic feasibility

Technical feasibility

Behavioral feasibility

For planning it is necessary to analyze the given problem at global level. The more we understand the problem, the better we can identify the alternative solutions. For each suggested solution cost and delivery date are taken into account. An estimate is made to identify whether user needs will be satisfied using current software and hardware technologies.

Planning also decide whether it can be developed within existing budget constraints. Planning is highly depending on the software developer and application on hand.

The result of planning should be in the direction to judge whether the software is viable to go ahead for development.Analysis:It is related to getting the requirements and various specifications required for developing particular software. The basic idea behind the requirement analysis is to know about what the customer wants. All the information regarding the software to be developed is taken from client side either by going to his place or getting the information from other resources such as reports, information pertaining to employees, etc. This phase is of utmost importance as it contains huge amount of important data, which will be used in developing software. If this phase is not carried out properly, then certain bugs or shortcomings will be there in the software, which is going to be developed by the programmer. Designing:This phase is related to the arranging of data in a proper manner so that the programmer can work accordingly for developing the software. It is basically the analysis part of the data that has been collected in the earlier phase. It also includes the designing aspects that are related to drawing of data flow diagram, entity relationship diagram, functional decomposition diagram, making data dictionary and various other concerns that are part of getting a general view of the software. This phase include all the study and minute details, which are involved in development of software.Implementation / Coding:

During this programmer develops the software by different methodologies that are available for developing software. The programmer writes the code in certain language and development team consists of various programmers who are efficient in their respective domain.

Testing:

This phase is related to the testing of software after it has been developed. In this phase testing engineer carries out various strategies and tools to check whether the software developed by the programmer is following the predefined standards and the quality of the software is up to the level to which it is required.

The various techniques used for testing by a testing engineer are white box, black box, and unit testing, etc. These all techniques are useful in getting rid of the shortcomings or failures which are on the part of the programmer. If certain failures are encounter then they are informed to the programmer and he has to eliminate that failure from software. This is how the software develops which is all together free from the bugs and is ready for implementation.Deployment:

Deployment is related to the installation of the software on the client side. Various procedures involved in deploying software include giving documenting a software to the client which consist of basic as well as technical part, it also includes giving proper training sessions and presentation to the client regarding the working of the system. It also includes checking of various hardware resources available with the client and making sure that the software is running properly on thief machine.Maintenance:This is a very important phase. In this, review is done by the programmer or some other technical employee of the company which has acquired the software in order to manage the changing requirement of the customer from time to time. If there is any failure in the software then the developer has to take care of it within the certain time limit.Feasibility StudyThe benefits of the project can be categorized into tangible and intangible benefits which

The system would acquire as a result of the successful project.

Improved working of the system

Increased system flexibility Availability of latest technologies

Faster processing

Improved resource control

Increased accuracy in clerical operations

Decreased manual workTangible Benefits Cost reduction

Less stationary requirement

Decrement in staff

Overall gain after the recovery of cost of project.

Intangible Benefits Proper working of system

High employee morale

Gain in overall reputation

Financing totally computer based which acts as an asset

Improved management

System AnalysisFunctional RequirementInput / Output Requirement:

Input requirement is basically related to the inputs require by the system to perform its job. Over all input requirement of the Fast Food Management System can be divided into following category:

Item Details

Quantity

Item CodeOutput of the Fast Food Management System can be divided into following category:

Displaying Total Bill

Displaying Item DetailsProcess RequirementAll system has various processes associated with it and this Fast Food Management System contains all following processes:

Add New Item Process

Modify Item Process

Delete Item Process

Purchase Item ProcessStorage RequirementIn this system I have used the File Handling as back-end and all the information as data will be store in the following files: Food File

Billing FileControl RequirementAlways whenever a project is made some validation has to be imposed. So, in my project also there are some validations which I have imposed. These validations are

Number cannot be entered in the fields like item name.

Only digits should be used in Item Cost and Item Price.

It is mandatory to fill the all the fields.

Item cost must be lesser than item Price.

Billing once generated cannot be modified.

Data Flow DiagramA Data Flow Diagram (DFD) is used to express system requirement in a graphical form. It is also known as a bubble chart. A DFD depicts information flow and transformations that are applied as data moves from input to output. Use of DFD helps to clarify the system requirements. DFD are drawn during analysis and are the starting point for the design phase. A DFD could be used to represent a physical system at the beginning of analysis, or a logical system at alteration point in the system, at the beginning of analysis, or a logical system at alteration point in the system development life cycle. Being graphical, it is easy to understand.

A DFD is used to describe what data flows rather than how it flows. The concerns understand the transformations that are required to convert the input to output. It is independent of hardware, software and data structure and file organization.

SHAPE \* MERGEFORMAT

SHAPE \* MERGEFORMAT

SHAPE \* MERGEFORMAT

SHAPE \* MERGEFORMAT

Class Design & DescriptionClass Name: food

Description: It controls over all the functions related with food items

Public function:

void add_item(void) ;

void delete_item(void) ;

void modify_item(void) ;

void list_of_item(void) ;

void purchase(void) ;

Private function:

int last_code(void) ;

void delete_record(int) ;

void modify_record(int) ;

void display_record(int) ;

int item_found(int) ;

int recordno(int) ;

void sort(void) ;Diagram:food

- itemcode : int- itemname: string- itemcost: float- itemprice : float

+ add_item(void) : void

+ delete_item(void) : void

+ modify_item(void) : void

+ list_of_item(void) : void

+ purchase(void) : void

- last_code(void) : int

- delete_record(int) : void

- modify_record(int) : void

- display_record(int) : void

- item_found(int) : int

- recordno(int) : int

- sort(void) : void

Class Name: account

Description: It controls over all the functions related to making BillPublic function:

void bill_list(void) ;

void prepare_bill(int) ;

int last_billno(void) ;

void add_bill(int, int t_itemcode, char *t_itemname, float t_qty, float t_cost, float t_price) ;Diagram:account

- code: int- billno: int- length: length- dd: int- mm: int- yy: int- cost : float- price : float- quantity: float- name: string

- bill_list(void) : void- prepare_bill(int) : void- last_billno(void) : int- add_bill(int, int, string, float, float, float) : void

Class Name: menu

Description: It controls over all the functionsPublic function:

void main_menu(void);

Private function:

void box(void) ;

void edit_menu(void) ;

Diagram:menu

+ main_menu(): void

- box(): void

- edit_menu(): void

Database DesignTable DesignFood TableField nameData typeConstraintsSize

Item_code

intAuto Generated4

Item_NameTextNot Null20

Item_Cost FloatNot Null, Non-negative4

Item_PriceFloatNot Null, Non-negative4

Bill Table

Field nameData typeConstraintsSize

Item_code

IntegerReference Key4

Item_quantityIntegerNon negative, not null2

TotalFloatNot negative4

Report Layout

MAIN MENU

F A S T F O O D

~~~~~~~~~~~~~~~

1: PURCHASE

2: SEE MENU

3: EDIT

4: TOTAL BILL

0: QUIT

Enter Choice :

PURCHASE

Date : 22/4/2007Item Code: 1

Item Name: Raj Kachori

Item Cost: 100

Item Price: 120Quantity:2

Do you want to cancel this purchase (y/n):n

Do you want to purchase more (y/n): n

Total BillList of Bills

~~~~~~~~~~

Billno. Date

Item CodeItem Name

Cost Price

QtyTotal

1

17/11/20061

Raj Kachori

100120

2240

Total Bill: Rs. 240/-

See Menu

List Of Items

~~~~~~~~~~

Item CodeItem Name

Item Cost Item Price

1

Raj Kachori

100

120

2

Samosa

3

5

Implementation//**********************************************************

//PROJECT FAST-FOOD MANAGEMENT//**********************************************************

//**********************************************************

//INCLUDED HEADER FILES

//**********************************************************

#include

#include

#include

#include

#include

#include

#include

#include

#include

//**********************************************************

//CLASS NAME : menu

//DETAILS : IT CONTROLLS OVER ALL THE FUNCTIONS

//**********************************************************

class menu

{

public :

void main_menu(void) ;

private :

void box(void) ;

void edit_menu(void) ;

} ;

//**********************************************************

//CLASS NAME : food

//DETAILS : IT CONTROLLS OVER ALL THE FUNCTIONS

// RELATED TO FOOD ITEMS

//**********************************************************

class food

{

public :

void add_item(void) ;

void delete_item(void) ;

void modify_item(void) ;

void list_of_item(void) ;

void purchase(void) ;

private :

int last_code(void) ;

void delete_record(int) ;

void modify_record(int) ;

void display_record(int) ;

int item_found(int) ;

int recordno(int) ;

void sort(void) ;

int itemcode ;

char itemname[30] ;

float itemcost, itemprice ;

} ;

//**********************************************************

//CLASS NAME : account

//DETAILS : IT CONTROLLS OVER ALL THE FUNCTIONS

// RELATED TO MAKING BILL

//**********************************************************

class account

{

public :

void bill_list(void) ;

void prepare_bill(int) ;

int last_billno(void) ;

void add_bill(int, int t_itemcode, char *t_itemname, float t_qty, float t_cost, float t_price) ;

private :

int code, billno, length ;

int dd, mm, yy ;

float cost, price, quantity ;

char name[30] ;

} ;

//**********************************************************

// THIS FUNCTION DRAW BOX FOR THE MENUS

//**********************************************************

void menu :: box(void)

{

char c1=178, c2=177, c3=176 ;

int k=1 ;

gotoxy(1,2) ;

for (int i=1; i