Module 2 - Data Flow Diagram DFD
Module 2 - Data Flow Diagram DFD
Entity
Doctor
Student
Cashier
Teach
er Manager
Customer User
The rounded cornered rectangles in a DFD indicate
processes
The Process symbol represents an activity that
Process
Accounting Grading
System System
Reservation
System
Patient
Marketing Administrati
System on System
Opened sided rectangles in DFD indicates data store.
DELIVE
RY
⚫ The basic module of the system are represented in
Credi
t Orde
Statu
Orde r
s
CUSTOM r
ER Cred ORDER
DATABAS it S
E ACCOUNTI
Custom Statu NG
er s
SYSTEM
no.
Each process from level 1 is exploded even more into sub
processes. This decomposition continues for each level.
The
number of levels possible depends on the
complexity
of the system
1. With a datafl ow diagram, users are able to
visualize how the system will operate, what
the system will accomplish, and how the
system will be implemented
2. Data f low diagrams can be used to
provide the end user with physical idea of
how the
whole data they input ultimately has an
system.
3. eff
The ect upon the structure
old of the
datafl ow diagramscan also be
system’s
drawn up compared with the
and low
dataf diagrams new tosystem’s
draw
comparisons in order to help
implement a more eff icient system.
1) In a DFD external entities are
represented by a
a. Rectangle
b. Ellipse
c. diamond shaped box
d. Circle
A
B
3) A datastore in a DFD represents
a. a sequential file
b. a disk store
c. a repository of data
d. a random access memory
C
4) A datacannot flow between a store and
(i) a store
(ii)a process
(iii)an external entity
a. i and iii
b. i and ii
c. ii and iii
d. ii
A
5) Data cannot flow from an external entity
to an external entity because
D
6) A dataflow can
a. only enter a data store
b. only leave a data store
c. enter or leave a data store
d. either enter or leave a data store but not both
C
Quantit
Quantity
Cost/unit y
BBiilllli
inngg
Discou
Discount
nt PPrroo
cceesss
A s
Order Out
to of
vendo stoc
r k
Billin
g
Proc
es
Too much
stock
B
B
10) By leveling a DFD we mean
a. splitti ng it into different levels
b. make its structure uniform
c.expanding a process into one with more sub-processes giving more
detail
d. summarizing a DFD to specify only the essentials
C
B
12) Data flow in a DFD must have
(i)an arrow showing direction of flow of
data (ii)a meaningful name
(iii) a label such as: xyz
(iv)no arrows as they are confusing
a. i and iii
b. ii and iv
c. iii and iv
A
A general DFD for an airline reservation
system