Sie sind auf Seite 1von 57

Introduction to Structured

Method Techniques Data Flow


Models

Topic & structure of the lesson


Introduction to Structured Method
Techniques
Data Flow Models
Data Flow Diagrams
Context Diagram
Level 0
Level 1

Data Dictionary
Process Specification

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 2 (of 43)

Learning Outcomes
By the end of lecture, YOU should be
able:
to identify the framework of activities
associated with methodologies and describe
how the techniques are used together to
develop a system

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 3 (of 43)

Key terms you must be able to use

If you have mastered this topic, you


should be able to use the following
terms correctly in your assignments
and exams:
Data Flow Diagrams
Context Diagram
Data Store
Entities
Data Flow
Processes

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 4 (of 43)

Introduction
Techniques

data flow diagrams


data dictionary
process specification
data modeling
entity life histories

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Modelling
What is a model?
part of real world
abstraction

Benefits
communication
tackle complexity
decomposition - breakdown
abstraction - zoom into an idea

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Purpose of Data Flow Diagrams


to show the processes that data undergo in a
system
to show how data moves and changes through
an information system in a graphical, top-down
fashion
to produce a logical model of an information
system in a simple, direct way

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 5 (of 24)

Data Flow Diagrams


used with complementary techniques of:

data dictionary
data modelling
process definitions
entity life histories

Basic elements

data flows
processes
data stores
external entities

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

DFD notation
data flows

CT026-3-1 Systems Analysis and Design

processes

Introduction to Structured Method Techniques

DFD notation
data stores

CT026-3-1 Systems Analysis and Design

external entities

Introduction to Structured Method Techniques

Components of DFD (Yourdon)


Data Flow
Process

Customer order

1.0
Raise
Order

Data Store
External Entity
(Source/Sink)
CT026-3-1 Systems Analysis and Design

Customer

Introduction to Structured Method Techniques

Slide 9 (of 24)

Components of DFD (Gane & Sarson)


Data Flow

Customer order

Process

1.0
Raise
Order

Data Store

Product

External Entity
(Source/Sink)
CT026-3-1 Systems Analysis and Design

Customer
Introduction to Structured Method Techniques

Slide 10 (of 24)

Logical and Physical Data Flow


Diagrams
Physical
System

Logical
System

Current System

CPDFD
Current
physical
How the existing system
works

CLDFD
Current
logical
What the existing
system works

Required System

RPDFD
Required
physical
How the requirements
are to be
implemented

RLDFD
Required
logical
What the required
system will do

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Levelled DFDs
Context Diagram
Top-level diagram
Models the whole system as a single process
box
identifies all external entities and related input
and output flows
Labelling
entities
data flows
process
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Levelled DFDs
Expanding processes
Level 0, Level 1, Level 2....
Numbering
Labelling
processes
data stores

Balancing Rules

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Steps in developing Data Flow


Diagrams
Make a list of business activities and use it to
determine various

External entities
Data Flows
Processes
Data Stores

Create a context diagram which shows external


entities and data flows
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 6 (of 21)

Steps in developing DFD


Draw Diagram 0, the next level. Show
processes, but keep them general. Show
data stores at this level.
Create a child diagram for each of the
processes in Diagram 0.
Check for errors and make sure the labels
you assign to each process in a data flow
diagram are meaningful.
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Level 0 DFD

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 6 (of 12)

Level 1 DFD

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 7 (of 12)

Data Dictionary
Purpose
Content and layout vary

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

WHAT IS A DATA DICTIONARY ?


Also known as data repository
A reference work of data about data (metadata)
which is compiled by systems analysts to guide
them through analysis, design and
implementation.
A central storehouse of information about the
systems data
A document which is used to collect and
coordinate specific data terms, as well as
confirms what each term mean to different
people in the organization
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 5 (of 25)

A DATA DICTIONARY IS USED TO :


provide documentation
eliminate redundancy
validate the data flow diagram for completeness
& accuracy
provide a starting point for developing screens
and reports
determine the contents of data stored in files
develop the logic for data flow diagram
processes
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 6 (of 25)

Contents of a data dictionary

Figure 11-1 :Contents of the Data Dictionary


Systems Analysis & Design (4th Edition) Shelly Cashman Series
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 7 (of 25)

External Entity
Name :
The external entity name as it appears on the DFDs
Description :
Of the external entity and its purpose
Input data flows :
The standard DFD names for the input data flows into
the external entity
Output data flows :
The standard DFD names for the output data flows
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 8 (of 25)

External Entity
Name : Customer
Description : Customer register details to obtain
login details such as Login # and password
Input data flows : Login details

Customer record

Output data flow : Customer details


Registration details
Customer details

Customer

1.0
Register
Customer

Login details
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 9 (of 25)

Updated
Customer
details

Process
Name : Process name and # as it appears on the
DFDs
Description : Brief statement of the processs
general purpose
Input data flows : The standard DFD names for the
data flows entering the process
Output data flow : The standard DFD names for
the data
flows leaving the process
Process description : Document the detailed steps
for the process using Structured English
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 10 (of 25)

Process
Name : 1.0 Register Customer
Description : Registers customer details into the
customer records and retrieves randomly generated
password with login
Input data flows : Customer details
Customer record
Output data flows : Login details
Process : DO
READ customer details .............. Registration details
Customer details

Customer

1.0
Register
Customer

Login details
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 11 (of 25)

Updated
Customer
details

Data Flow
Name : The data flow name as it appears on
the DFDs
Description : Describes the data flow and its
purpose
Origin / Source : The DFD beginning or
source of the data flow. Can be a process, a
data store or an external entity.
Destination : The DFD ending points for the
data flow. Can be a process, a data store or
an external entity
Data structure : Also known as record
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 12 (of 25)

Data Flow
Name : Login details
Description : to allow the customer to log on into the system
Origin / Source : Register customer process
Destination / Sink : Customer external entity
Data structure : Login ID, Password
Customer record

Registration details
Customer details

Customer

1.0
Register
Customer

Login details
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 13 (of 25)

Updated
Customer
details

Data Store
Name : The data store name as it appears on
the DFDs
Description : Describes the data store and its
purpose
Input data flows : The standard DFD names for
the data flows entering the data store
Output data flows : The standard DFD names
for the data flows leaving the data store
Data structure : Also known as record
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 14 (of 25)

Data Store
Name : Customer Record
Description : Stores registration details and provide updated
customer details for processes
Input data flows : Registration details
Output data flows : Updated customer details
Customer record
Data structure : Customer ID, Name, Address.......
Registration details
Customer details

Customer

1.0
Register
Customer

Login details
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 15 (of 25)

Updated
Customer
details

Quick Review Question


What is the data dictionary format for
entity?
process?
data flow?
data store?

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 16 (of 25)

CONTENTS OF A DATA DICTIONARY


Data Structure

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 17 (of 25)

Data Structure
described using algebraic notation
The symbols used are :
=
means is composed of
+
means and
{ } indicate repetitive elements,
repeating groups or tables
[ ] represent an either / or situation
( ) represent an optional element
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 18 (of 25)

Data Structure
Customer order = Customer ID+
Customer Name +
Address +
Telephone +
Order Date +
{Available order items} +
Merchandise Total +
(Tax) +
(Credit Card Type) +
(Credit Card Number)
Method of payment =
CT026-3-1 Systems Analysis and Design

[Check | Charge | Money Order]

Introduction to Structured Method Techniques

Slide 19 (of 25)

CONTENTS OF A DATA DICTIONARY


Data Element

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 20 (of 25)

Data Element
Data Element Name : Login ID
Description : used to uniquely identify the
user of the system
Element Characteristics :
Type : Alphanumeric
Length : 7
Output format : xxxxxxx
* other characteristics refer to Ms Access
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 21 (of 25)

Process Specification
supporting documentation for DFDs
describes in detail whats happening in the
process boxes of the DFD
explain the decision-making logic and
formulas that will transform process input
data into output
descriptive techniques
Structured English
Decision Tables
Decision Trees
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Structured English
Suggested constructs include:
a sequence construct statement 1 before
statement 2
two decision constructs
ifthenelse construct
case construct

one or two repetition constructs


whiledo
repeat until

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Structured English Keywords


Construct
Structured English Keyword
Sequence
No keyword are used to show
sequence. The end of sequence is
indicated by the word EXIT
Selection

often

IFTHENELSE..ENDIF
IFELSEIFELSEIFELSEENDIF
SELECTWHENWHENENDSELECT

Repetition

DO WHILE, REPEAT WHILE,


LOOP WHILE DO UNTIL, REPEAT UNTIL,
LOOP UNTIL FOR ALL, FOR EACHWHERE
ENDDO, ENDREPEAT, ENDLOOP,
ENDFOR

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 9 (of 15)

END,

Structured English

Figure 10-1 : Sample Structured English process description


Systems Analysis & Design (4th Edition) Shelly Cashman Series

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 10 (of 15)

Quick Review Question


Write the process specification, using
Structured English, for the following
process:
Customer record
Registration details
Customer details

Customer

1.0
Register
Customer

Login details
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 11 (of 15)

Updated
Customer
details

Decision Tables

Figure 6.1: The standard format used for presenting a decision table (Kendall, 1999)
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Decision Table
Developing decision tables:
1. Determine number of conditions
2. Determine number of possible actions
3. Determine number of condition alternatives
4. Calculate maximum number of columns
5. Fill in condition alternatives
6. Insert an X where rules suggest certain actions
7. Simplify table combine rules where alternative does
not make a difference

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 6 (of 18)

Decision Table with 4 rules

Figure 10-3 : Example of a decision table with 4 rules


Systems Analysis & Design (4th Edition) Shelly Cashman Series

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 7 (of 18)

Decision Table with 8 rules

Figure 10-4 : Example of a decision table with 8 rules


Systems Analysis & Design (4th Edition) Shelly Cashman Series

All possible combinations, including some that may be illogical or


impractical
It is essential to show all possibilities before attempting to combine
or simplify the rules.

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 8 (of 18)

Simplifying a decision table

Figure 10-5 : Example of a decision table being simplified


Systems Analysis & Design (4th Edition) Shelly Cashman Series

All eight rules are shown, but conditions that do not affect the
outcome are represented by a dash.

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 9 (of 18)

Simplifying a decision table

Figure 10-6 : Example of a simplified decision table


Systems Analysis & Design (4th Edition) Shelly Cashman Series

The rules are combined into four meaningful


possibilities.
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 10 (of 18)

Quick Review Question


What are the advantages of Decision
Table compared to Structured English?

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 11 (of 18)

Decision Tree
a graphical representation of the conditions,
actions
and rules found in a decision table
shows the logic structure in a horizontal form
that resembles a tree with the roots at the left
and the branches to the right
are effective ways to present the system to
management
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 12 (of 18)

Decision Tree

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 13 (of 18)

Decision Tree

Figure 6.2: Example of Decision Tree (Kendall, 1999)


CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Advantages of decision tree over


decision table
The order of checking conditions and
executing actions is immediately
noticeable
Conditions and actions of decision trees
are found on some branches but not on
others, unlike decision tables where they
are all part of the same table
Decision trees are more readily
understood by others in the organization
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 14 (of 18)

Follow Up Assignment
Individual
Model the logical design of the system based
on given case study

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Summary of Main Teaching Points


Introduction to Structured Method
Techniques
Data Flow Models
Data Flow Diagrams
Context Diagram
Level 0
Level 1

Data Dictionary
Process Specification

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 41 (of 43)

Question and Answer Session

Q&A
CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 42 (of 43)

Next Session
Introduction to Structured Method
Techniques
Entity Relationship Models
Event Models

CT026-3-1 Systems Analysis and Design

Introduction to Structured Method Techniques

Slide 43 (of 43)

Das könnte Ihnen auch gefallen