You are on page 1of 30

A PROJECT REPORT

ON
“MALL MANAGEMENT”
SUBMITTED FOR PARTIAL
FULLFILMENT OF
PGDCA
OF
BILASPUR UNIVERSITY
BILASPUR (CG)

SESSION 2019-20

UNDER GUIDANCE OF, SUBMITTED BY,

MR. AMIT LAHRE MR. DIPESH KUSHWAHA


&
MR. LOKESH KUMAR
CONTENTS

TOPIC

1. Acknowledgement

2. About Project

3. About C++

4. Preface

5. Flowchart / Data Flow Diagram

6. File Structure

7. Source Code

8. Input Form

9. Output Form

10. Bibliography
Certificate

This is to certify that it is a bonafied record of the Dissertation work entitled “Mall Management ” done by

MR. DIPESH KUSHWAHA AND MR. LOKESH KUMAR YADAV students of PGDCA in the

BILASPUR UNIVERSITY. During the period 2016-2017 in partial fulfillment of the requirements for

the Award of degree of PGDCA. This work is not submitted to any University for the award of any

Degree/Diploma.

Internal Guide Head of the Department

(Internal Examiner) (External Examiner)


ACKNOWLEDGEMENT

I would like to take this opportunity to place it on record that this


project would never have taken shape but for the cooperation extended to me
by certain individuals. Though it is not possible to name all of them, it
would be unpardonable on my part if I do not mention some of the very
important persons.

Sincerely I acknowledge my deep sense of gratitude to our guide for


his constant encouragement, help, and valuable suggestions.
About Project:

The software developed by us can used in any small scale MALLMANAGEMENT


in order to remove the burden of manual working process which were used in
small directory for daily working process for the creation of new user ,
modification and deletion which is time consuming and error prone. So for the
removal of all the burdens from the MALLMANAGEMENT their employee wants
a computerized system for the entry process in the mall.

About C++

We have chosen C++ programming for the development of the software


MALLMANAGEMENT because C++ programming language has many
features ,due to which c++ language is called the most powerful language for
developing an application software for various purposes. The file management in
C++ is simple and easy to implements.

Preface

The human computer interface, commonly called the “User Interface” is


the doorway to an Interactive software application. The design of user interfaces
demands an understanding of human factors and interface technology with the
use of computers. Human perception, the skilled level and behavioral profile of
the user, the overall tasks that the user must conduct are the factor to be
considered in an interface design. Visually presented in a most natural way,
complex structures and Relationships can be perceived in less time, in greater
number and with fewer errors than in any other way. A good user interface
makes the program not only easy but also versatile and efficient to operate
conversely by the user. The main purpose of the use of computer’s in the modern
times is to save the time, money, speedup the process of any work in the
company or institute. It also saves large space by storing data in small hard disk
in place of files and Malls.

The increased use of computers is gradually replacing manual system due


to their error prone and time-consuming behavior. Database management has
evolved from a specialized computer application to a central Component of a
modern computing environment. Its primary goal is to provide an Environment
that is covenant and using, retrieving and storing database information.

The need of this system arises from error prone results and need to save the
time.
The main intention of introducing this system is to reduce the manual work at
official department. Every sort of task is performed by the system ,such as
registering different types of applications ,enquiries, and complaints etc. reducing
mush paper work and burden of file storage.
Also the latest information is right available for the officials and executives
wherever they require. the system also facilitates the employee to enquire about
their position, and salary etc.

Where the system must be placed?


There are a lot of benefits to the organization by placing the system at
their offices. At the same time the employees are also benefited using this
system. They can get latest information they require within no time.
How to use the system?
Using the system is as simple as using the personal computer. Since end
user computing is developing in our country, It is beneficial to both organization
and the employees. Every step is clearly defined and help is provided through
out the application to the user. Even the exceptions are handled well to avoid
confusion. Third system can be used in a multi user environment. As no sort of
updating is allowed, there is no possibility of dead locks or Transactions getting
aborted.

How is it beneficial to the employees?

The employees can get much out of the system. They can get latest information
they require within no time. There will be no need for them to stand hours in
queues for enquiry or to apply or to do any other business with the corporation.
They are welcome to use various services.

Flowchart / Data Flow Diagram

Data Flow Diagrams are part of a structured model in the development of


software. Data flow diagrams are graphical technique that depicts information
flow and that transforms that are applied as data move from input to output.
Basically, the function of data flow diagrams is to show the user a graphical
analysis of a software system. It is kind of like a flowchart, except Data Flow
Diagrams show the flow of data throughout the system.
A data flow diagram (DFD) is a graphical technique that depicts
information flow and the transforms that are applied as data moves
from input to output. The DFD is also known as a data flow graph or
a bubble chart.

A DFD shows the functional relationship of the values computed by


a system, including input values, output values, and internal data
stores. It’s a graph showing the flow of data values from their
sources in objects through processes that transform them to their
destinations in other objects. Some authors use a DFD to show
control information, others might not. A DFD can be seen as a
method of organizing data from its raw state.

General Information

What is a Data flow diagram? Data flow diagrams are diagrams,


which show the flow of data from one place to another. DFDs
describe the processes of a system, showing how these processes
link together through data stores and how the processes relate to
the users-the outside world. They are sent to record the systems
analysis as part of the design documentation. At their lowest level of
details, as we shall see, DFD’s are often included in a programmers
working specifications when the system analysis is complete and the
system is being.

Why data flow diagrams?

This is also true for a graphical description, model. It’s difficult, if


not impossible, to describe a model in words and still being clear
and not complex. This was one of the main reasons to develop a
graphical modeling technique like Data flow diagrams.

There are a certain number of ways Data flow diagrams can be


represented.
Data flow diagrams usually are made after a Context Diagram has
been made, because the Context diagram functions as the basis of a
Data flow diagram.

It’s important not to forget that Data flow diagrams are not a model
of flow of control or sequence of processing in a system. Data flow
diagrams must be seen as a model, which show the flow of data
through a system.

DFD FOR ADD NEW ITEM ENTRY

OPERATOR ADD NEW ITEM ITEM.DAT

INITIAL.DAT
DFD FOR SEARCHING ITEM INFORMATION

ENTER ITEM
OPERATOR OUTPUT
NO

ITEM.DAT TEMP.DAT
DFD FOR EDITING THE DATA

EDIT ITEM
OPERATOR DATA INITIAL.DAT

INITIAL.DAT TEMP.DAT

DFD FOR DELETING ITEMS

DELETE
OPERATOR ITEMCODE

INITIAL.DAT ITEM.DAT
GENERAL METHODOLOGY IN DEVELOPING S/W

PROJECT

The general methodology in developing a system is

involved in different phases, which describe the system’s

life cycle model for developing software project. The

concept includes not only forward motion but also have

the possibility to return that is cycle back to an activity

previously completed. This cycle back or feedback may

occur as a result of the failure with the system to meet a

performance objective or as a result of changes in

redefinition of system activities. Like most systems, the

life cycle of the computer based system also exhibits

distinct phases.

Those are:-
1. REQUIREMENT ANALYSIS PHASE
2. DESIGN PHASE
3. DEVELOPMENT PHASE
4. CODING PHASE
5. TESTING PHASE
1.4.1. REQUIREMENT ANALYSIS PHASE :

This phase includes the identification of the problem,


in order to identify the problem; we have to know
information about the problem, the purpose of the
evaluation for problem to be known. We have to clearly
know about the client’s requirements and the objectives of
the project.

SYSTEM ANALYSIS PHASE :

Feasibility analysis involves the benefits of various


approaches and the determination of the alternative
approaches a\through methods like questionnaires and
interviews etc., different data about the project is collected
and the data through out the project is represented in the
form of UML Diagrams.

1.4.2 DESIGN PHASE :


S/W design is a process through which the
requirements are translated into a representation of a s/w.
One of the software requirements have been analyzed and
specified, the s/w design involves three technical activities :
design, coding generation and testing. The design of the
system is in modular form i.e., the s/w is logically
partitioned into components that perform specific functions
and sub functions. The design phase leads to modules that
exhibit independent functional characteristics. It even leads
to interfaces that reduce the complexity of the connections
between modules and with the external environment. The
design phase is of main importance because in this activity,
decisions ultimately affect the success of s/w
implementation and maintenance.

DEVELOPMENT PHASE:

The development phase includes choosing of a


suitable s/w to solve the particular problem given. The
various facilities and the sophistication in the selected s/w
give a better development of the problem.

1.4.4 CODING PHASE :

The coding phase is for translating the design of the


system produced during the design phase into code in a
given programming language, which can be executed by a
computer and which performs the computation specified by
the design.

1.4.5 TESTING PHASE :


Testing is done in various ways such as testing the
algorithm, programming code, sample data debugging is
also one of following the above testing.

FLOW CHART

Before solving a problem with the help of a computer, it is


essential to plan the solution in a step-by-step manner.
Such a planning is represented symbolically with the help of
flow chart. It is an important tool of system analysts and
Programmers for tracing the information flow and the logical
sequence in data processing Logic is the essence of a flow
chart.

A flow chart is the symbolic representation of step-by-step


solution of a given problem, and it indicates flow of entire
process, the sequence of the data input, operations,
computations, decisions, results and other relevant
information.
Pertaining to a particular problem, a flow chart helps
us in the complete understanding of the logical structure of
a complicated problem and in documenting the method
used. It would be seen that the flow chart is a very
convenient method of organizing the logical steps and
deciding what, when and how to proceed with various
processes. The logic should be depicted in the flow charts.
Computerization of the data without a flow chart is like
constructing the building without a proper design and
detailed drawings.

Kinds of the Flow Charts

System Flow Chart

The system analyst to describe data flow and operations for


the data processing cycle uses these. A system flow chart
defines the broad processing in the organizations, showing
the origin of the data, filling structure, processing to be
performed, output that is to generate and necessity of the
offline operation.

2. Program Flow Chart (or) Computer Procedure flow chart

The programmers to describe the sequence of operations


and the decision of a particular problem normally use these.
A program flow chart plans the Program structure and also
serves the purpose of documentation for a program, which
is to be retained and used at a later date either by the
original programmer or others.
Advantages:

Apart from, the DFDS the flow charts has been helping the
programmer to develop the programming logic and to serve
as the documentation for a Completed program, it has the
following advantages

1. They help for the easy understanding of


the logic of a process or a procedure

2. It is a better communicating tool than


writing in words.

3. It is easy to find the conditions, which


are responsible
for the actions.

4. It is an important tool for planning and


designing the
new system.
5. It clearly indicates the role-
played at each level.

6. It provides an overview of the system


and also
demonstrates the relationship between the
various steps.

7. It facilitates troubleshooting.

8. It promotes logical accuracy.

Disadvantages:
1. Communication lines are not always easy to
show.

2. The charts are sometimes complicated.

3. Reproduction is difficult.

4. They are hard to modify.


START

GET USER INPUT

YES
Is Choice=1 Add New Data To
File

NO

YES
Is Choice=2
Is Choice=2
Display All Record
Yes

NO

YES
Search Record
Is Choice=3

NO
YES
Delete Record
Is Choice=4

NO

Is Choice=5
NO

YES

STOP
File Structure

INITIAL.DAT TABLE

In the INITIAL.DAT FILE details of the MEMBERS are stored during


the opening of New Account in this file his Name, Address, Money
are stored.

FIELD FIELD NAME TYPE


1 ITEMCODE Integer
2 ITEM Name Character
3 QUANTITY Integer
4 PRICE Long integer

Source Code

#include<fstream.h>
#include<conio.h>
#include<stdio.h>
#include<graphics.h>
#include<dos.h>
#include<stdlib.h>
#include<dos.h>
#include<string.h>
#include<iomanip.h>
class mall_store
{
public:
int code;
char item[20];
float qty,price;
void getdata()
{
cout<<"*******enter the details of Items:"<<endl;
cout<<"enter the Itemcode:"<<endl;
cin>>code;
cout<<"enter the item name:"<<endl;
gets(item);
cout<<"enter the Quantity:"<<endl;
cin>>qty;
cout<<"enter the price:"<<endl;
cin>>price;
}
void show()
{
cout<<"********DETAILS OF Items
ARE***********:"<<endl;
cout<<"Item code:"<<code<<endl;
cout<<"Item Name"<<item<<endl;
cout<<"Quantity:"<<qty<<endl;
cout<<"price:"<<price<<endl;
cout<<"Total:"<<qty*price<<endl;
}
void search();
void del();
};
void mall_store::search()
{
int cno;
cout<<"enter the itemcode you want to search:"<<endl;
cin>>cno;
mall_store s;
fstream t;
t.open("mall.txt",ios::binary|ios::out|ios::app|ios::in);
t.seekg(0);
while(t.read((char*)&s,sizeof(mall_store)))
{
if(s.code==cno)
s.show();
}
t.close();
}

void mall_store::del()
{
int cno;
cout<<"enter the Itemcode you want to delete:";
cin>>cno;
mall_store s;
fstream t,t1;
t.open("mall.txt",ios::binary|ios::out|ios::app|ios::in);
t1.open("temp.txt",ios::binary|ios::out|ios::app|ios::in);
t.seekg(0);
while(t.read((char*)&s,sizeof(mall_store)))
{
if(s.code!=cno)
t1.write((char*)&s,sizeof(mall_store));
}
t.close();
t1.close();
remove("mall.txt");
rename("temp.txt","mall.txt");
}
void main()
{
clrscr();
int gdriver=DETECT,gmode;
initgraph(&gdriver,&gmode,"");
setbkcolor(MAGENTA);
setcolor(YELLOW);
rectangle(10,10,620,460);
settextstyle(7,0,6);
outtextxy(200,15,"WELCOME");
outtextxy(250,200,"TO");
settextstyle(7,0,6);
outtextxy(20,370," MALL MANAGEMENT ");
getch();
clearviewport();
setbkcolor(BLACK);
setcolor(YELLOW);
rectangle(8,8,620,460);
settextstyle(7,0,6);
outtextxy (200,15,"DEVELOPED BY");
settextstyle(7,0,4);
setcolor(RED);
outtextxy(200,200,”");
setcolor(RED);
outtextxy(200,230,"");
setcolor(RED);
//outtextxy(200,260,"");
setcolor(BLUE);

outtextxy(150,290," ");
setcolor(BLUE);
outtextxy(150,320," ");

getch();
clearviewport();
closegraph();
textbackground(4);
int x;
mall_store s;
do
{
clrscr();
cout<<"\t\tMALL MANAGEMENT:"<<endl;
cout<<"\t\t1 TO ADD:"<<endl;
cout<<"\t\t2 TO SHOW:"<<endl;
cout<<"\t\t3 TO SEARCH:"<<endl;
cout<<"\t\t4 TO DELETE:"<<endl;
cout<<"\t\t5 TO EXIT:"<<endl;
cout<<"\t\tEnter Your Choice:";
cin>>x;
switch(x)
{
case 1:
{
char ch='y';
fstream t;
t.open("mall.txt",ios::binary|ios::out|ios::app|ios::in);
while(ch=='y'||ch=='Y')
{
s.getdata();
t.write((char*)&s,sizeof(mall_store));
cout<<"do you want to add more(y/n)....:";
cin>>ch;
}
}

case 2:
{
fstream t;
t.open("mall.txt",ios::binary|ios::out|ios::app|ios::in);
t.seekg(0);
while(t.read((char*)&s,sizeof(mall_store)))
{
s.show();
}
t.close();
}
break;

case 3:
s.search();
break;

case 4:
s.del();
}
cout<<"Press any key-----------";
getch();
}while(x!=5);
int xc,yc,cc;
textbackground(0);
clrscr();
randomize();
while(!kbhit())
{
xc=random(80);
yc=random(25);
cc=random(15)+1;
gotoxy(xc,yc);
textcolor(cc);
cprintf("Thank You");
delay(100);
}

}
Input Form
Output Form
BIBLIOGRAPHY

The following books and manuals provided a lot of help to us in making this project a
reality.
C++ COMPLETE REFERENCE
HERBERT SCHILDT
HOW TO PROGRAM C++
DEITERL & DEITEL

C++ PROGRAMMING
O’RELLY
SOFTWARE ENGINEERING
R. E. FAIRELY
SOFTWARE ENGINEERING
PRESSMAN
AN INTEGRATED APPROACH TO SOFTWARE
ENGINNERING
PANKAJ JALOTE
NAROSA PUBLISING HOUSE
SYSTEM ANALYSIS AND DESIGN
ELIAS M AWAD
GALGOTIA
C++ Programming
Yaswant Kanetkar

You might also like