22BT04025 Se Practical 8
22BT04025 Se Practical 8
within a system. A neat and clear DFD can depict the right amount of the system
It shows how data enters and leaves the system, what changes the information, and
The objective of a DFD is to show the scope and boundaries of a system as a whole. It
may be used as a communication tool between a system analyst and any person who
plays a part in the order that acts as a starting point for redesigning a system. The DFD
Circle: A circle (bubble) shows a process that transforms data inputs into data outputs.
Data Flow: A curved line shows the flow of data into or out of a process or data store.
Data Store: A set of parallel lines shows a place for the collection of data items. A data
store indicates that the data is stored which can be used at a later stage or by the other
processes in a different order. The data store can have an element or group of elements.
Source or Sink: Source or Sink is an external entity and acts as a source of system inputs
or sink of system outputs.
The context diagram is used to establish the context and boundaries of the system to be
modelled: which things are inside and outside of the system being modelled, and what is
the relationship of the system with these external entities.
1. Identify data-flows by listing the major documents and information flows associated
with the system, including forms, documents, reference material, and other structured and
unstructured information (emails, telephone conversations, information from external
systems, etc.).
2. Identify external entities by identifying sources and recipients of the data-flows, which
lie outside of the system under investigation. The actors an any use case models you have
created may often be external entities.
4. Draw and label the external entities around the outside of the process box.
5. Add the data-flows between the external entities and the system box. Where documents
and other packets of information flow entirely within the system, these should be ignored
from the point of view of the context diagram – at this stage they are hidden within the
process box.
What is Leveling?
Leveling in a Data Flow Diagram (DFD) is the process of breaking down a complex
system into more manageable sub-systems or levels of detail. It helps to organize and
represent the information flow within a system by gradually expanding or refining the DFD
to show more detail.
1. Level 0 (Context Diagram): This is the highest-level DFD and provides an overview of
the entire system. It shows the system as a single process (usually labeled as Process 0)
along with external entities that interact with the system. The arrows indicate data flow
between the system and these external entities.
3. Level 2, Level 3, etc.: Further decomposition can be done if needed, where each process
in Level 1 can be broken down into more detailed sub-processes. This hierarchical structure
continues until no further decomposition is required or meaningful.