Docsity

01 structured analysis, Lecture notes of Computers and Information technologies

Toggle sidebar
bg1
SYSTEMS ANALYSIS AND DESIGN
Prepared by Rommel B. Dy
Structured Analysis: Using Data Flow
Diagrams
Learning Objectives:
Once you have mastered the materials in this
lesson you will be able to:
1. Comprehend the importance of using logical and
physical data flow diagrams (DFDs) to graphically
depict data movement for humans and systems
in an organization.
2. Create, use, and explode logical DFDs to capture
and analyze the current system through parent
and child levels.
3. Develop and explode logical DFDs that illustrate
the proposed system.
4. Produce physical DFDs based on logical DFDs you
have developed.
5. Understand and apply the concept of partitioning
of physical DFDs.
The system analyst needs to make use of the conceptual
freedom afforded by data flow diagrams, which
graphically characterize data processes and flows in a
business system. In their original state, data flow
diagrams depict the broadest possible overview of
system inputs, processes, and outputs, which correspond
to those of the general systems. A series of layered data
flow diagrams may be used to represent and analyze
detailed procedures in the larger system.
DATA FLOW APPROACH TO HUMAN REQUIREMENTS
DETERMINATION
When systems analysts attempt to understand the
information requirements of users, they must be able to
conceptualize how data move through the organization,
the processes or transformation that the data undergo,
and what the outputs are. Although interviews and the
investigation of hard data provide a verbal narrative of
the system, a visual depiction can crystallize this
information for users and analysts in a useful way.
Through a structured analysis technique
analysis technique called data flow diagrams (DFDs),
the systems analyst can put together a graphical
representation of data processes throughout the
organization. By using combinations of only four symbols,
the system analyst can create a pictorial depiction of
processes that will eventually provide solid system
documentation.
ADVANTAGES OF DATA FLOW APPROACH
The data flow approach has four chief advantages over
narrative explanations of the way data move through the
system:
1. Freedom from committing to the technical
implementation of the system early.
2. Further understanding of the interrelatedness of
systems and subsystems.
3. Communicating current system knowledge to
users through data flow diagrams.
4. Analysis of a proposed system to determine if the
necessary data and processed have defined.
CONVENTIONS USED IN DATA FLOW DIAGRAMS
Four basic symbols are used to chart data movement on
data flow diagrams:
The double square is used to depict an external entity
(another department a business, a person, or a machine)
that can send data to or receive data from the system.
The external entity, or just entity, is also called a
source or destination of data and it is considered to be
external to the system being described. Each entity is
labelled with an appropriate name. Entities should be
named with a noun. The same entity may be used more
than once on a given data flow diagram to avoid crossing
data flow lines
The arrow shows movement of data from one point to
another, with the head of the arrow pointing toward the
data’s destination. Data flows occurring simultaneously
can be depicted doing just that through the use of
parallel arrows. Because an arrow represents data
about a person, place, or thing, it should be described
with a noun.
A rectangle with rounded corners is used to show the
occurrence of a transforming process. Processes always
denote a change in or transformation of data; hence, the
data flow leaving a process is always labelled differently
than the one entering it. Processes work being
performed in the system and should be named using one
of the following formats. A clear name makes it easier to
understand what the process is accomplishing.
1. Assign the name of the whole system when
naming a high-level process. An example is
INVENTORY CONTROL SYSTEM.
2. To name a major subsystem, use a name such as
INVENTORY REPORTING SUBSYSTEM or
INTERNET CUSTOMER FULFILLMENT
SYSTEM.
3. Use a verb-adjective-noun format for detailed
processes.
3.a. The verb describes the type of
activity, such as COMPUTE, VERIFY,
PREPARE, PRINT, or ADD.
3.b. The noun indicates what the
major outcome of the process is, such as
REPORT or RECORD.
3.c. The adjective illustrate which
specific output, such as BACKORDERED
or INVENTORY, is produced.
Examples of complete process name are COMPUTE
SALES TAX, VERIFY CUSTOMER ACCOUNT STATUS,
PREPARE SHIPPING INVOICE, PRINT BACK-
ORDERED REPORT, SEND CUSTOMER EMAL
CONFIRMATION, VERIFY CREDIT CARD BALANCE,
and ADD INVENTORY RECORD.
4. A process must also be given a unique identifying
number indicating its level in the diagram.
The last basic symbol used in data flow diagrams is an
open-ended rectangle, which represent a data store.
Systems Analysis and Design
HandOuts-001/ 07-30-11
SAD – Structured Analysis
pf3
pf4
pf5
pf8

Partial preview of the text

Download 01 structured analysis and more Lecture notes Computers and Information technologies in PDF only on Docsity!

SYSTEMS ANALYSIS AND DESIGN

Prepared by Rommel B. Dy

Structured Analysis: Using Data Flow

Diagrams

Learning Objectives:

Once you have mastered the materials in this lesson you will be able to:

1. Comprehend the importance of using logical and

physical data flow diagrams (DFDs) to graphically depict data movement for humans and systems in an organization.

2. Create, use, and explode logical DFDs to capture

and analyze the current system through parent and child levels.

3. Develop and explode logical DFDs that illustrate

the proposed system.

4. Produce physical DFDs based on logical DFDs you

have developed.

5. Understand and apply the concept of partitioning

of physical DFDs.

The system analyst needs to make use of the conceptual freedom afforded by data flow diagrams, which graphically characterize data processes and flows in a business system. In their original state, data flow diagrams depict the broadest possible overview of system inputs, processes, and outputs, which correspond to those of the general systems. A series of layered data flow diagrams may be used to represent and analyze detailed procedures in the larger system.

DATA FLOW APPROACH TO HUMAN REQUIREMENTS

DETERMINATION

When systems analysts attempt to understand the information requirements of users, they must be able to conceptualize how data move through the organization, the processes or transformation that the data undergo, and what the outputs are. Although interviews and the investigation of hard data provide a verbal narrative of the system, a visual depiction can crystallize this information for users and analysts in a useful way. Through a structured analysis technique analysis technique called data flow diagrams (DFDs) , the systems analyst can put together a graphical representation of data processes throughout the organization. By using combinations of only four symbols, the system analyst can create a pictorial depiction of processes that will eventually provide solid system documentation.

ADVANTAGES OF DATA FLOW APPROACH

The data flow approach has four chief advantages over narrative explanations of the way data move through the system:

1. Freedom from committing to the technical

implementation of the system early.

2. Further understanding of the interrelatedness of

systems and subsystems.

3. Communicating current system knowledge to

users through data flow diagrams.

4. Analysis of a proposed system to determine if the

necessary data and processed have defined. CONVENTIONS USED IN DATA FLOW DIAGRAMS Four basic symbols are used to chart data movement on data flow diagrams:

The double square is used to depict an external entity (another department a business, a person, or a machine) that can send data to or receive data from the system. The external entity, or just entity, is also called a source or destination of data and it is considered to be external to the system being described. Each entity is labelled with an appropriate name. Entities should be named with a noun. The same entity may be used more than once on a given data flow diagram to avoid crossing data flow lines

The arrow shows movement of data from one point to another, with the head of the arrow pointing toward the data’s destination. Data flows occurring simultaneously can be depicted doing just that through the use of parallel arrows. Because an arrow represents data about a person, place, or thing, it should be described with a noun.

A rectangle with rounded corners is used to show the occurrence of a transforming process. Processes always denote a change in or transformation of data; hence, the data flow leaving a process is always labelled differently than the one entering it. Processes work being performed in the system and should be named using one of the following formats. A clear name makes it easier to understand what the process is accomplishing.

1. Assign the name of the whole system when

naming a high-level process. An example is INVENTORY CONTROL SYSTEM.

2. To name a major subsystem, use a name such as

INVENTORY REPORTING SUBSYSTEM or INTERNET CUSTOMER FULFILLMENT SYSTEM.

3. Use a verb-adjective-noun format for detailed

processes.

3.a. The verb describes the type of

activity, such as COMPUTE, VERIFY, PREPARE, PRINT, or ADD.

3.b. The noun indicates what the

major outcome of the process is, such as REPORT or RECORD.

3.c. The adjective illustrate which

specific output, such as BACKORDERED or INVENTORY , is produced. Examples of complete process name are COMPUTE SALES TAX, VERIFY CUSTOMER ACCOUNT STATUS, PREPARE SHIPPING INVOICE, PRINT BACK- ORDERED REPORT, SEND CUSTOMER EMAL CONFIRMATION, VERIFY CREDIT CARD BALANCE, and ADD INVENTORY RECORD.

4. A process must also be given a unique identifying

number indicating its level in the diagram.

The last basic symbol used in data flow diagrams is an open-ended rectangle , which represent a data store.

Systems Analysis and Design HandOuts-001/ 07-30-

SAD – Structured Analysis

The rectangle is drawn with two parallel lines that are closed by a short line on the left side and are open ended on the right. The data store symbol is simply showing a depository for data that allows examination, addition, and retrieval of data.

• The data store may represent a manual store,

such as a filing cabinet, or a computerized file or database.

• Data Stores represent a person, place, or thing

they are named with a noun.

• Temporary data stores, such as scratch paper or

a temporary computer file, are not included on the data flow diagram.

• Give each data store a unique reference number,

such as D1, D2, D3, and so on, to identify its level as described in the following section. Symbol Meaning Example

Entity

Student

Data Flow

Process

Create Student Record

Data Store

Student Master D

DEVELOPING DATA FLOW DIAGRAMS

Data flow diagrams can and should be drawn systematically. First, the systems analyst needs to conceptualize data flows from a top-down perspective. To Begin a data flow diagram, collapse the organization’s system narrative (or story) into a list with the four categories of external entity, data flow, process, and data store. This list in turn helps determine the boundaries of the system you will be describing. Once a basic list of data elements has been compiled, begin drawing a context diagram.

CREATING THE CONTEXT DIAGRAM

With a top-down approach to diagramming data movement, the diagrams move from general to specific. Although the first diagram helps the systems analyst grasp basic data movement, its general nature limits its usefulness. The initial context diagram should be an overview, one including basic inputs, the general system, and outputs. This diagram will be the most general one, really a bird’s eye view of data movement in the system and the broadest possible conceptualization of the system. The context diagram is the highest level in a data flow diagram and contains only one process, representing the entire system. The process is given the number zero. All external entities are shown on the context diagram, as well as major data flow to and from them. The diagram does not contain any data stores and is fairly simple to create, once the external entities and the data flow to and from them are known to analysts.

Developing Data Flow Diagrams Using a Top-Down Approach

1. Make a list of business activities and use it to

determine various.

• External Entities

• Data Flows

• Processes

• Data Stores

2. Create a context diagram that shows external

entities and data flow to and from the system. Do not show any detailed processes or data stores.

3. Draw Diagram 0, the next level. Show processes,

but keep them general. Show data stores at this level.

4. Create a child diagram for each of the processes

in Diagram 0.

5. Check for errors and make sure the labels you

assign to each process and data flow are meaningful.

6. Develop a physical data flow diagram from the

logical data flow diagram. Distinguish between manual and automated processes, describe actual files and reports by name, and add controls to indicate when processes are complete or errors occur.

7. Partition the physical data flow diagram by

separating or grouping parts of the diagram in order to facilitate programming and implementation.

DRAWING DIAGRAM 0 (THE NEXT

LEVEL)

Diagram 0 is the explosion of the context diagram and may include up to nine processes. Including more processes at this level will result in a cluttered diagram that is difficult to understand. Each process is numbered with an integer, generally starting from the upper left-hand corner of the diagram and working toward the lower right-hand corner. The major data stores of the system (representing master files) and all external entities are included on Diagram 0. Because a data flow diagram is two-dimensional (rather than linear), you may start at any point and work forward or backward through the diagram. If you are unsure of what you would include at any point, take a

Systems Analysis and Design HandOuts-001/ 07-30-

SAD – Structured Analysis

Systems Analysis and Design HandOuts-001/ 07-30-

SAD – Structured Analysis

Entity 1

System NameEntity 2Entity 3Entity 1

General Process AAA

Entity 3

General Process BBB

D1 Data Store 1Entity 2

General Process CCC

D2 Data Store 2

General Process DDD

Detailed Process XXX

Detailed Process ZZZ

D

Transaction File 1

D1 Data

Store 1

Detailed

Process

YYY

TransactionOutputError lines may be added on a detailed child diagram.Data Flow from parent process to child diagram must match. flow must match the parent process. files may be added to lower-level diagrams.

Entity 2

General

Process

CCC

General

Process

DDD

D1 Data

Store 1

Video Purchase System

Rent Video Items

Manage-mentAccountingCustomerCustomer

Produce

Management

Reports

Summarize

Cash

Received

D

Customer

Check In

Customer

Video Return

Add New

Record

Customer

Produce

Monthly

Bonus Letter

D

Customer

Produce

Yearly Bonus

Letter

D1D1Rental InformationCustomer Name and Address Customer IDCustomer RecordCustomerCustomerNot Found Error1.5Payment

Find Customer Record

Customer Record1.4Rental Receipt Produce Customer Receipt

Rental

Information

Update Customer Record

Cash TransactionVideo Information1.

Get Customer Payment

RentalRental Information

Information

Get Video Record

Video Rental Item