![]() ![]() ![]() ![]() |
| You
are here: Autumn 2001 Course List -> 95169 -> Extra Examples -> DFD Example 1 95169 - Systems Analysis & Design, Autumn 2001 |
||||
95169 - Systems Analysis & Design |
|
DFD
Purpose
Data Flow Diagrams (DFDs) are a graphical/representation
of systems and systems components. They show the functional relationships of
the values computed by a system, including input values, output values, and
internal data stores. It's a graph showing the flow of data values from their
sources in objects through processes/functions that transform them to their
destinations in other objects. Some authors use a DFD to show control
information, others might not. A DFD can be seen as a method of organizing data
from its raw state. Note: As starting students in Systems Analysis and Design
I wouldn’t expect you handle more than a context diagram (initial project
scope) or a system diagram (in text) more commonly known as a first level DFD
(Level 0 DFD) Steps for Developing DFDs
Step 1: Requirements determination Initial definition of :
Names Constraints Data stores Incompleteness ---> Get more
Information
|
|
Overall: |
1. Know the purpose of the DFD. It determines the level of
detail to be included in the diagram. |
|
|
2. Organize the DFD so that the main sequence of actions
reads left to right and top to bottom. |
|
|
3. Very complex or detailed DFD's should be levelled. |
|
Processes: |
4. Identify all manual and computer processes (internal to
the system) with rounded rectangles or circles. |
|
|
5. Label each process symbol with an active verb and the
data involved. |
|
|
6. A process is required for all data transformations and
transfers. Therefore, never connect a data store to a data source or
destination or another data store with just a data flow arrow. |
|
|
7. Do not indicate hardware or whether a process is manual
or computerized. |
|
|
8. Ignore control information (if's, and's, or's). |
|
Data flows: |
9. Identify all data flows for each process step, except
simple record retrievals. |
|
|
10. Label data flows on each arrow. |
|
|
11. Use data flow arrows to indicate data movement, not
non-data physical transfers. |
|
Data stores: |
12. Dot not indicate file types for data stores. |
|
|
13. Draw data flows into data stores only if the data
store will be changed. |
|
External entities: |
14. Indicate external sources and destination of data,
when known, with squares. |
|
|
15. Number each occurrence of repeated external entities. |
|
|
16. Do not indicate persons or places as entity squares
when the process is internal to the system. |
Draw the DFD for a distance education university. The
enrolment process works as follows:
Students send in an application form containing their personal details, and their desired course
The university checks that the course is available and that the student has necessary academic qualifications.
If the course is available the student is enrolled in the
course, and the university confirms the enrolment by sending a confirmation
letter to the student.
If the course is unavailable the student is sent a rejection letter.
1.
Read the problem description carefully looking for:
·
people/organisations/things that supply information to or
use information from the system => external entities (EE)
·
actions/doing words/verbs => Processes (P)
· movement/exchange of information/data between external entities to processes, and processes to processes => data flows (DF)
·
store/record information/data => data stores(DS)
2.
It often helps to walk through the system in its logical
sequence; eg starting with an external entity (source), add data flows,
processes and data stores as the data provided by the entity is manipulated by
the system.
Note: The
university, or more specifically the administration section, is the system
being modelled, it is not an EE.
·
Highest level DFD.
·
Has data flows, external entities, one process (system in
focus) and no data stores.
·
Shows the system boundary and interactions with external
entities.
In this case:
External entity -
Student
Process -
Student Administration process application
Data Flows -
Application Form, Confirmation/Rejection Letter

External entity -
Student
Processes -
Check available, Enrol student, Confirm Registration
Data Flows - Application Form, Course Details, Course Enrolment Details, Student Details, Confirmation/Rejection Letter
Data Stores -
Courses, Students.

This System/Level 0 DFD raises some questions:
Q. The Data Store Courses has only data flows
entering it, how does the data get stored in the first place?
A. This DFD is part of a larger,
higher level DFD that models more than just the enrolment process. There must
be another DFD that stores course details, eg the university’s course
development process.
Q. The process Enrol Student
has many different data flows entering into and leaving it, how can we model
this process in more detail?
A. Develop a more detail, lower
level DFD for this process, that shows the processes that make up this process
| You are here: Autumn 2001 Course List -> 95169 -> Extra Examples -> DFD Example 1 | ||
|
Edit
Last Modified: Mon May 14 12:10:25 2001 by p.cherry. Disclaimers © 2000 CQU Infocom |
Contact Details |