Functional Modelling in object oriented analysis and design
Functional Modelling provides the outline that what the system is supposed to do.It does not describes what is the need of evaluation of data, when they are evaluated and how they are evaluated apart from all it only represent origin of data values.It describes the function of internal processes with the help of DFD (Data Flow Diagram).
Data Flow Diagrams: Function modelling is represented with the help of DFDs. DFD is the graphically representation of data.It shows the input, output and processing of the system .When we are trying to create our own business, website, system, project then there is need to find out how information passes from one process to another so all are done by DFD. There are number of levels in DFD but upto third level DFD is sufficient for understanding of any system.
The basic components of the DFD are:
- External Entity :
External entity is the entity that takes information and gives information to the system. It is represented with rectangle.
- Data Flow :
The data passes from one place to another is shown by data flow. Data flow is represented with arrow and some information written over it.
- Process :
It is also called function symbol.It is used to process all the information.If there are calculations so all are done in the process part.It is represented with circle and name of the process and level of DFD written inside it.
- Data Store :
It is used to store the information and retrieve the stored information.It is represented with double parallel lines.
Some Guidelines for creating a DFD:
- Every process must have meaningful name and number.
- Level 0 DFD must have only one process.
- Every data flow and arrow has given the name.
- DFD should be logical consistent.
- DFD should be organised in such a way that it is easy to understand.
- There should be no loop in the DFD.
- Each DFD should not have more than 6 processes.
- The process can only connected with process, external entity and data store.
- External entity cannot be directly connected with external entity.
- The direction of DFD is left to right and top to bottom representation.