Showing posts with label DFD Diagram. Show all posts
Showing posts with label DFD Diagram. Show all posts

Tuesday, 10 February 2015

Data Flow Diagrams (DFD) of Survey Builder (Part 2)

2


First question that arise in our mind that what is Data Flow Diagrams (DFD). so in simple words DFD is Captures the flow of data in a system. 
It helps in developing an understanding of system’s functionality. What are the different sources of data, what different transformations take place on data and what are final outputs generated by these transformations. It describes data origination, transformations and consumption in a system. Information is organized and disseminated at different levels of abstraction. Thus this technique becomes a conduit for top down system analysis and requirements modeling.

The Notation
There are several notations of the data flow diagrams. In the following, four different shapes are explained. 

Process
What are different processes or work to be done in the system?
Transforms of data.


External Agent
External systems which are outside the boundary of this system, these are represented using the squares


Data Store
Where data is being stored for later retrieval. Provides input to the process Outputs of the processes may be going into these data stores.


Data Flow
Where the data is flowing.
Represents the movement of the data in a data flow diagram.


Adding Levels of Abstraction to Data Flow Modeling

As we have already described that in data flow modeling only those processes can be expressed that perform certain processing or transformation of information. Now the question arises how far these processes need to be expressed? if we start adding each bit of system functionality in a single data flow diagram, it would become an enormously large diagram to be drawn on a single piece of paper. Moreover, requirement analysis is an ongoing activity in which knowledge expands as you dig out details of processes. Therefore, it may not be possible for an analyst to know each bit of all the processes of the system from the very beginning. Keeping the complexity of systems in view, data flow modeling technique has suggested disseminating information of a system in more then just one levels of abstraction. What are these levels please see below for a discussion

Context Level or 0 level Data Flow Diagram
In a top-down system analysis, an analyst is required to develop high level view of the system at first. In data flow modeling, this high-level view is the Context level data flow diagram. In this diagram, system’s context is clarified such that all the external agents or entities with which the system interacts are captured. It captures the details of what information flows between the system and these external entities, and what outputs are generated against inputs from these external agents and so on. So, the analyst probes out all the external agents that may involve persons, organizations or other systems who directly interacts with this system and their specific involvement in the system. At this level, systems internal details are not exposed, as we want to see system behavior as a black box.


Above diagram shown is Context level or 0 level Data Flow Diagram. in which three external agent, one Process and one Data Store is shown.
Read More »

Detailed Data Flow diagrams or level 1 DFD (Part 3)

0


Once context of a system has been captured using context level diagram, the analyst would expand his activities and start digging out system’s internal details. Therefore, the same context level diagram is further expanded to include all major processes of the system that make up system functionality. So, instead of portraying system as a black box entity, the analyst would add processes that deal with the external agents and produces certain outputs. This is level one of a data flow model.

In part 2 we draw the Context Level or level 0 DFD, as shown the figure below: now we further expend this diagram and drawn the Level 1 Data Flow Model.



1. First of all we expend the activities of Administrator, as shown the diagram given below:



Here we explain the activities of Administrator, Administrator will manage the user accounts, and record the data. Administrator is manage the FAQ, Administrator will generate the survey, generate the reports, and Administrator have right to synchronize the local database with main database and also maintain the both databases. 

2. Second we expend the activities of Unregistered Users, as shown the diagram given below:



Unregistered User will create a new account or use the FAQ services of the application. Once it will create the new account, its information will save in record,

3. Now we further expend the activities of Registered Users, as shown the below diagram:


Registered user will do the following tasks:
   a.  Registered user will use the desktop interface as well as web interface of application.
   b.  It will also generate the survey.
   c.  It will generate the different kind of reports.
   d.  It will use the FAQ services.
   e.  Through web interface it will synchronize the local database to main database.


Read More »