Dbms Paper 1 CH 3
Dbms Paper 1 CH 3
Data Models-II
DFD is the abbreviation for Data Flow Diagram. The flow of data of a system or a process is represented
by DFD. It also gives insight into the inputs and outputs of each entity and the process itself. DFD does not
have control flow and no loops or decision rules are present. Specific operations depending on the type of
data can be explained by a flowchart.
It is a graphical tool, useful for communicating with users ,managers and other personnel. it is useful for
analysing existing as well as proposed system.
It provides an overview of
What data is system processes.
What transformation are performed.
What data are stored.
What results are produced , etc.
Data Flow Diagram can be represented in several ways. The DFD belongs to structured-analysis modeling
tools. Data Flow diagrams are very popular because they help us to visualize the major steps and data
involved in software-system processes.
Components of DFD
The Data Flow Diagram has 4 components:
Process Input to output transformation in a system takes place because of process function. The symbols
of a process are rectangular with rounded corners, oval, rectangle or a circle. The process is named a
short sentence, in one word or a phrase to express its essence
Data Flow Data flow describes the information transferring between different parts of the systems. The
arrow symbol is the symbol of data flow. A relatable name should be given to the flow to determine the
information which is being moved. Data flow also represents material along with information that is
being moved. Material shifts are modeled in systems that are not merely informative. A given flow
should only transfer a single type of information. The direction of flow is represented by the arrow
which can also be bi-directional.
Warehouse The data is stored in the warehouse for later use. Two horizontal lines represent the symbol
of the store. The warehouse is simply not restricted to being a data file rather it can be anything like a
folder with documents, an optical disc, a filing cabinet. The data warehouse can be viewed independent
of its implementation. When the data flow from the warehouse it is considered as data reading and when
data flows to the warehouse it is called data entry or data updation.
Terminator The Terminator is an external entity that stands outside of the system and communicates
with the system. It can be, for example, organizations like banks, groups of people like customers or
different departments of the same organization, which is not a part of the model system and is an
external entity. Modeled systems also communicate with terminator.
1-level DFD:
In 1-level DFD, the context diagram is decomposed into multiple bubbles/processes. In this level, we
highlight the main functions of the system and breakdown the high-level process of 0-level DFD into
subprocesses.
2-level DFD:
2-level DFD goes one step deeper into parts of 1-level DFD. It can be used to plan or record the
specific/necessary detail about the system’s functioning.
Book delivery
Search by topic
List of authors, List of Titles, List of Topics, the bookshelves from which books can be located are some
information that is required for these processes. Data store is used to represent this type of information.
Level 2 DFD
Out of scope:
Other activities like purchasing of new books, replacement of old books or charging a fine are not
considered in the above system.