Lab No. 04 Title: Developing Data Flow Diagram (DFD) Model of A Project
Lab No. 04 Title: Developing Data Flow Diagram (DFD) Model of A Project
Lab No. 04 Title: Developing Data Flow Diagram (DFD) Model of A Project
Lab No. 04
Title: Developing Data Flow Diagram (DFD)
Model of a Project
2 Problem Analysis
2.1 What is a Data Flow Diagram (DFD)?
Data flow diagram is graphical representation of flow of data in an information system. It is capable of depicting
incoming data flow, outgoing data flow and stored data. The DFD does not mention anything about how data
flows through the system. It is a traditional visual representation of the information flows within a system. A
neat and clear DFD can depict the right amount of the system requirement graphically. It shows how data
enters and leaves the system, what changes the information, and where data is stored.
There is a prominent difference between DFD and Flowchart. The flowchart depicts flow of control in
program modules. DFDs depict flow of data in the system at various levels. DFD does not contain any control
or branch elements.
3 Methodology
3.1 Components of DFD (Symbols and Notations)
DFD can represent Source, destination, storage and flow of data using the following set of components -
• External Entity: External entities are source and destination of information data. These entities are
represented by a rectangles with their respective names. They are also known as terminators, sources and
sinks or actors. They are typically drawn on the edges of the diagram.
• Process: Process represents activities and action taken on the data are represented by circle or round-
edged rectangles. any process that changes the data, producing an output. It might perform computations,
or sort data based on logic, or direct the data flow based on business rules.
• Data Store: Data store represents files or repositories that hold information for later use, such as a
database table or a membership form.There are two variants of data storage - it can either be represented
as a rectangle with absence of both smaller sides or as an open-sided rectangle with only one side missing.
• Data Flow: Data flow represents the route that data takes between the external entities, processes and
data stores. Movement of data is shown by pointed arrows. Data movement is shown from the base of
arrow as its source towards head of the arrow as destination.
There are two common systems of symbols to represent different components of DFDs. One is Gane and
Sarson, and another is Yourdon and Coad. Both of the systems of symbols are represented in Fig. 1.
• Level 0: Highest abstraction level DFD is known as Level 0 DFD, which depicts the entire information
system as one diagram concealing all the underlying details. It is also known as fundamental system
model, or context diagram represents the entire software requirement as a single bubble with input and
output data denoted by incoming and outgoing arrows. An example of Level 0 DFD of ATM (Automated
Teller Machine) System is shown in Fig. 2.
• Level 1: In Level 1 DFD, a context diagram is decomposed into multiple bubbles/processes. In this level,
we highlight the main objectives of the system and breakdown the high-level process of 0-level DFD into
subprocesses. An example of Level 0 DFD of ATM (Automated Teller Machine) System is shown in Fig.
3.
• Level 2: At this level, DFD shows how data flows inside the modules mentioned in Level 1. Higher level
DFDs can be transformed into more specific lower level DFDs with deeper level of understanding unless
the desired level of specification is achieved. An example of Level 0 DFD of ATM (Automated Teller
Machine) System is shown in Fig. 4.
Transaction Details
1
ATM
User Info ATM User
Machine
System
Confirmation Details
Update
Cash and Receipts Transaction Details
1.3
Release Cash Confirmed Transaction Transaction
and Receipts Database
5 Procedures
5.1 DFD Making Tool
You can create your own DFD online with Lucidchart. Use our DFD examples and specialized notations to
visually represent the flow of data through your system. Our data flow diagram maker is simple, yet powerful.
Get started with a template, and then use our shapes to customize your processes, data stores, data flows and
external entities.
To create DFD in Lucidchart, you may follow the following steps.
1.3
Release
Cash and Receipts Confimation Details
Cash and
Receipts
1
ATM
Request Customer Info Request Transection Info
Display Customer Info Machine Dispaly Transection Info
System
• Step-1 First go to https://www.lucidchart.com/. Then, complete your registration with your email
address and login to Lucidchart. After that you will be able to create your DFD using lucid chart online
tools (Shown in Fig.5).
Data flow diagrams allow you to take any flow of information for a process or system and condense it
into a coherent, easily understood visual. Using standardized circles, arrows, and text labels, you can
map out entire processes and systems for even the most non-technical employee to understand. With
customizable templates, well-stocked DFD shape libraries, and easy-to-use formatting tools, our data flow
diagram software gives you the tools you need to create a simple, complex, or even multi-layered DFD
online.
• Step-2 Lucidchart makes it easier than ever to get started on your data flow diagram, whether you’re
starting from scratch or customizing one of our many DFD templates. Our DFD shape libraries (Shown in
Fig. 6) contain standard symbols for both Gane-Sarson and Yourdon-Coad methodologies, allowing you
to create clear and consistent data flow diagrams online in minutes. Once your diagram is constructed, use
our intuitive formatting tools to ensure that your DFD is easily interpreted, regardless of its complexity.
7. Librarian has a key role in this system. Librarian adds the records in the library database about each
student or user every time issuing the book or returning the book, or paying fine.
8. Librarian also deletes the record of a particular student if the student leaves the college or passed out
from the college. If the book no longer exists in the library, then the record of the particular book is also
deleted.
7 Policy
Copying from internet, classmate, seniors, or from any other source is strongly prohibited. 100% marks will be
deducted if any such copying is detected.