Understanding a Data Flow Diagram
Understanding a Data Flow Diagram
Aim:
Understanding a Data Flow Diagram
Theory:
A data flow diagram (DFD) is a graphical representa on that illustrates how data is processed within a
system, focusing on the flow of informa on in terms of inputs and outputs. It uses defined symbols like
rectangles for processes, circles for data stores, and arrows for data flows to map out the flow of
informa on for any given process or system. The components of a data flow diagram (DFD) include:
1. Data Flow: Represented by an arrow (→). This shows the movement of data from one point to
another within the system.
2. Process: Represented by a circle or oval. This symbolizes any process that changes, transforms, or
manipulates data within the system.
3. Data Store: Represented by two parallel lines. This indicates a place where data is held or stored,
such as a database or file.
4. External Entity: Represented by a rectangle. This denotes sources or destinations of data outside
the system boundary, like users, other systems, or organizations.
Procedure:
Create a List of Activities:
o Identify and list all the activities that need to be represented in the DFD. These activities
typically correspond to processes within the system.
Construct Context Level DFD (Level 0):
o Identify the external entities (e.g., Customers, Service Center Managers) that interact with the
system.
o Identify the main process that encompasses the entire system.
o Identify the data flows between external entities and the main process.
Construct Level 0 DFD:
o Decompose the main process from the context level into smaller, manageable subprocesses.
o Identify the data flows between these subprocesses and any associated data stores.
Construct Level 1-n DFD:
o Further decompose each subprocess from Level 0 into more detailed processes.
o Identify the actual data flows and data stores that interact with these detailed processes.
Check Against Rules of DFD:
o Ensure that the DFD follows standard rules, such as each process having at least one input and
one output, data stores being connected to at least one process, and proper data flow direction.
Context Level Diagram
DFD Level 0
Conclusion:
In this experiment, we successfully developed Data Flow Diagrams (DFDs) for the Online Ordering and
Inventory System. Star ng with the Context Level DFD for an overview of system interac ons, we detailed
internal processes in Level 0 and Level 1 DFDs, including product ordering, inventory, and customer
management. These diagrams clarified how data flows through the system, helping ensure logical structure
and ease of understanding. The exercise highlighted the importance of DFDs in visualizing system processes
and provided a strong founda on for further development and op miza on.