Software Engineering: Experiment No-8
Software Engineering: Experiment No-8
1. Objective (s):
After completing this experiment, student will be able to:
Identify external entities and functionalities of any system
Identify the flow of data across the system
Represent the flow with Data Flow Diagrams
2. Theory:
Data Flow Diagram
Process: Processes are represented by circle. The name of the process is written
into the circle. The name of the process is usually given in such a way that
represents the functionality of the process. More detailed functionalities can be
shown in the next Level if it is required. Usually it is better to keep the number
of processes less than 7 [i]. If we see that the number of processes becomes
more than 7 then we should combine some the processes to a single one to
reduce the number of processes and further decompose it to the next level [2] .
External entity: External entities are only appear in context diagram[2]. External
entities are represented by a rectangle and the name of the external entity is
written into the shape. These send data to be processed and again receive the
processed data.
Data store: Data stares are represented by a left-right open rectangle. Name of the
data store is written in between two horizontal lines of the open rectangle. Data
stores are used as repositories from which data can be flown in or flown out to
or from a process.
Data flow: Data flows are shown as a directed edge between two components of a
Data Flow Diagram. Data can flow from external entity to process, data store
to process, in between two processes and vice-versa.
Note :
4. Output:
Context Diagram (Level 0 DFD):
Level 1 DFD: