Professional Documents
Culture Documents
TOOLS OF THE
SYSTEMS ANALYST
by: SILVER AND SILVER
Chapter 4
The Tools of the Analyst
Learning Objectives:
To be able to…
• Architectural Modeling
From this box draw out lines towards the right for each possible solution, and write that
solution along the line. Keep the lines apart as far as possible so that you can expand
your thoughts.
At the end of each line, consider the results. If the result of taking that decision is
uncertain, draw a small circle. If the result is another decision that you need to make,
draw another square. Squares represent decisions, and circles represent uncertain
outcomes. Write the decision or factor above the square or circle. If you have completed
the solution at the end of the line, just leave it blank.
Starting from the new decision squares on your diagram, draw out lines representing the
options that you could select. From the circles draw lines representing possible
outcomes. Again make a brief note on the line saying what it means. Keep on doing this
until you have drawn out as many of the possible outcomes and decisions as you can see
leading on from the original decisions.
Once you have done this, review your tree diagram.
Challenge each square and circle to see if there are any
solutions or outcomes you have not considered. If there are,
draw them in. If necessary, redraft your tree if parts of it are
too congested or untidy. You should now have a good
understanding of the range of possible outcomes of your
decisions.
Decision Trees Symbols
Shape Name Meaning
Shows multiple
Chance node uncertain outcomes
Indicates a final
Endpoint node outcome
Format of a Decision Tree
Example of a Decision Tree
DECISION TABLES
Decision Tables
Decision tables are composed of rows and columns. Each
row corresponds to a single rule, with the columns defining
the conditions and actions of the rules
Parts of a Decision Table
Condition Condition
Stub Entry
Action Action
Stub Entry
Sample Decision Table
Sample Decision Table
FLOWCHARTS
Flowcharts
A flowchart is a graphic representation of the steps in the
solution of a problem, in which symbols represent
operations, data flow, hardware, and the system plan.
Flowcharts can document either business systems or
computer programs
Types of Flowcharts
System Flowchart diagrams illustrate the movement of data
in an organization. They show the sequence of steps through
which information moves, including related personnel,
workstations, forms, records, processing, and associated
activities
Program Flowcharts show the sequence of steps performed
in a computer program .
System flowcharts document the overall system, while
Program flowcharts deal with the information flow through
the computer.
FLOWCHART SYMBOLS
STRUCTURED DESIGN
TOOLS
Structured Design Tools
Structured design tools emphasize the visual or graphic
nature of a problem. They break systems down into
elements known as modules.
Customer
3.2 5.2.7
Edit Calculate
Customer Customer
Discount
© 2005 Pearson Prentice Hall Kendall & Kendall
7-
Child Diagrams (Continued)
External entities are usually not shown on the child diagrams
below Diagram 0.
If the parent process has data flow connecting to a data store,
the child diagram may include the data store as well.
1 2
Add Add
New New
Customer Customer
Customer D1 Customer
The level of detail increases from the top to the bottom of the figure, from the
general to the specific. This is called top-down development.
Each module in the visual table of contents is described in greater
detail in an overview diagram, which includes the module's inputs,
processing, and outputs. The reference number assigned to the
overview diagram shows where the module fits into the overall
structure of the system as depicted in the visual table of contents. If
the module passes control to a lower-level module in the hierarchy
for some specific processing operation, that operation is also given
a reference number. An overview diagram for the payroll
processing module (2.1), ''Calculate Each Employee's Pay,'' is
shown in the Figure below.
IPO Diagram
WARNIER/ORR DIAGRAM
Warnier/Orr Diagram
A Warnier/Orr diagram (also known as a logical
construction of a program/system) is a kind of hierarchical
flowchart that allow the description of the organization of
data and procedures.
Initially developed in France by Jean-Dominique Warnier
and in the United States by Kenneth Orr.
This method aids the design of program structures by
identifying the output and processing results and then
working backwards to determine the steps and combinations
of input needed to produce them. The simple graphic method
used in Warnier/Orr diagrams makes the levels in the system
evident and the movement of the data between them vivid.
Using Warnier/Orr diagrams
To develop a Warnier/Orr diagram, the analyst works
backwards, starting with systems output and using
output oriented analysis. On paper, the development
moves from right to left. First, the intended output or
results of the processing are defined. At the next level,
shown by inclusion with a bracket, the steps needed to
produce the output are defined. Each step in turn is
further defined. Additional brackets group the processes
required to produce the result on the next level.
Constructs in Warnier/Orr
diagrams
There are four basic constructs used on
Warnier/Orr diagrams: hierarchy, sequence,
repetition, and alternation. There are also two
slightly more advanced concepts that are
occasionally needed: concurrency and
recursion.
Hierarchy
Hierarchy is the most fundamental of all of the Warnier/Orr
constructs. It is simply a nested group of sets and subsets
shown as a set of nested brackets. Each bracket on the
diagram (depending on how you represent it, the character is
usually more like a brace "{" than a bracket "[", but we call
them "brackets") represents one level of hierarchy. The
hierarchy or structure that is represented on the diagram can
show the organization of data or processing. However, both
data and processing are never shown on the same diagram.
Sequence
Sequence is the simplest structure to show on a
Warnier/Orr diagram. Within one level of hierarchy,
the features listed are shown in the order in which they
occur. In other words, the step listed first is the first
that will be executed (if the diagram reflects a
process), while the step listed last is the last that will
be executed. Similarly with data, the data field listed
first is the first that is encountered when looking at the
data, the data field listed last is the final one
encountered.
Repetition
Repetition is the representation of a classic "loop" in
programming terms. It occurs whenever the same set of data
occurs over and over again (for a data structure) or whenever the
same group of actions is to occur over and over again (for a
processing structure). Repetition is indicated by placing a set of
numbers inside parentheses beneath the repeating set.