April 25, 2024

MentorWay

Ask Your MENTOR! AnyTime AnyWhere

What is Structured Analysis? Data Flow Diagram(DFD)

3 min read
What is Structured Analysis? Data Flow Diagram(DFD)

Structured analysis and DFD Structured analysis is a set of techniques & graphical tools that allow the analyst to develop a new kind of specifications that are easily understandable to the user.

Structured analysis method focuses on what the system or applications does rather than on how it is done. Thus the focus is on logical rather than physical aspects of the system.

Goals/Objectives of Structured Analysis

  1. Use graphics wherever possible to help communicate better with the user.
  2. The focus is on logical rather than physical aspects of the system.
  3. Involve the users as much as possible in the development of the new system & in the evaluation of all plans & proposals.

 

DFD(Data Flow Diagram)

Data Flow Diagrams are widely used graphic tools for describing the movement of data within or outside the system.

As a DFD consists of a series of bubbles joined by lines, it is also known as ‘bubble chart’.

 

Characteristics of DFD

  1. DFD shows the flow of data through the system.
  2. They focus on the processes that transform incoming data flows (input) into outgoing data flows (outputs).
  3. The processes that perform this transformation normally create as well as use data.
  4. External entities supply & consume data from the system.
  5. Support a top-down approach to analyse.

 

DFD Symbols

In DFD, there are four symbols.

What is Structured Analysis? Data Flow Diagram(DFD)

  1. External Entities(Source or sink)

An external entity is a source or a destination. These may be people, program, organization or other entities that interact with the system.

Eg. Customer, employee etc.

 

  1. Data Flow

The data flow indicates the movement of data either from input to process or from process to output. Data flow is labelled to show what data is flowing.

Eg.  Customer details, sales reports etc.

 

  1. Processes

Processes are the actions performed on input data to produce the output data. They are given some meaningful names.

Eg. Prepare bill, calculate sales, compute pay etc.

 

  1. Data Source

A data store is like a warehouse for data. Data store indicates the data file or register where data is accumulated.

Eg. Customer master file, employee register etc. are data stores.

 

Types of DFD

There are two types of DFDs-Physical DFD & Logical DFD.

What is Structured Analysis? Data Flow Diagram(DFD)

 

  1. Physical DFD’s

The DFD which represent the model of the current system are known as physical DFDs. These diagram shows how the system will be implemented including hardware, software, files & people involved in the system.

 

  1. Logical DFD’s

The data flow diagrams which represent the model of the proposed system are known as Logical DFD’s. These diagrams focuses on the business &how the business operates. It is not concerned with how the system will be constructed.

Note

The logical model reflects the business whereas the physical model depicts the system.

The following figure shows the logical & physical DFD for a General stores cashier.

 

Steps to Construct a DFD

The following steps and rules may be followed while constructing DFDs

What is Structured Analysis? Data Flow Diagram(DFD)

  1. Identify external entities & data flows of the system.
  2. First construct the context diagram. A context diagram contains a single process.
  3. Processes in the DFD should be named & numbered for easy reference.
  4. The direction of flow is from top to bottom and from left to right.
  5. The name of data stores, sources & destinations are written in capital letters & first letter of each word of process & data flow name should be capitalized.
  6. The description in the context diagram is very brief. Identify data stores & processes of the system & draw first level DFD.
  7. Explore the processes of first level and draw second level DFD.
  8. Explore the processes of second level and draw third level DFD and so on.

How many levels of diagrams are needed depends upon the nature of complexity of the particular system.

What is Structured Analysis? Data Flow Diagram(DFD)

Advantages of DFD

  1. DFD is a tool to interact with users.
  2. Freedom from committing to the technical implementation of the system too early.
  3. It provides the understanding of the interrelatedness between systems & subsystems.
  4. Elimination of redundancies & easier creation of the physical model.
  5. It will be easy to analyse the proposed system if the necessary data & processes have been defined.
  6. DFD is very easy to follow errors.
  7. Use as part of the system documentation files.
  8. It is useful for communicating current system knowledge to the user.

 

Disadvantages

  1. DFDs show weak input and output detail.
  2. The user often finds it confusing initially.

Physical consideration are usually left out.

Hope you liked this article. Keep visiting Mentorway for more articles like this.

About Post Author