0% found this document useful (0 votes)
34 views

4.structured Analysis

Structured analysis is a method that uses graphical tools to analyze and refine system objectives and develop specifications. It divides processes to provide a clear system flow. Key tools include data flow diagrams, data dictionaries, decision trees, decision tables, structured English, and pseudocode.

Uploaded by

Ahmad Akhtar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

4.structured Analysis

Structured analysis is a method that uses graphical tools to analyze and refine system objectives and develop specifications. It divides processes to provide a clear system flow. Key tools include data flow diagrams, data dictionaries, decision trees, decision tables, structured English, and pseudocode.

Uploaded by

Ahmad Akhtar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Structured Analysis

Analysts use various tools to understand and describe the information system. One of the ways
is using structured analysis.

What is Structured Analysis?


Structured Analysis is a development method that allows the analyst to understand the system
and its activities in a logical way.
It is a systematic approach, which uses graphical tools that analyze and refine the objectives of
an existing system and develop a new system specification which can be easily understandable
by user.
It has following attributes −
 It is graphic which specifies the presentation of application.

 It divides the processes so that it gives a clear picture of system flow.

 It is logical rather than physical i.e., the elements of system do not depend on vendor or hardware.

 It is an approach that works from high-level overviews to lower-level details.

Structured Analysis Tools


During Structured Analysis, various tools and techniques are used for system development.
They are −
 Data Flow Diagrams
 Data Dictionary
 Decision Trees
 Decision Tables
 Structured English
 Pseudo code

Data Flow Diagrams (DFD) or Bubble Chart


Data flow diagram is graphical representation of flow of data in an information system. It is
capable of depicting incoming data flow, outgoing0 data flow and stored data. The DFD does
not mention anything about how data flows through the system.
There is a prominent difference between DFD and Flowchart. The flowchart depicts flow of
control in program modules. DFDs depict flow of data in the system at various levels. DFD
does not contain any control or branch elements.

Types of DFD
Data Flow Diagrams are either Logical or Physical.

 Logical DFD - This type of DFD concentrates on the system process, and flow of data in the
system.For example in a Banking software system, how data is moved between different entities.
 Physical DFD - This type of DFD shows how the data flow is actually implemented in the system. It
is more specific and close to the implementation.

DFD Components
DFD can represent Source, destination, storage and flow of data using the following set of
components -

 Entities - Entities are source and destination of information data. Entities are represented by a
rectangles with their respective names.
 Process - Activities and action taken on the data are represented by Circle or Round-edged rectangles.
 Data Storage - There are two variants of data storage - it can either be represented as a rectangle with
absence of both smaller sides or as an open-sided rectangle with only one side missing.
 Data Flow - Movement of data is shown by pointed arrows. Data movement is shown from the base
of arrow as its source towards head of the arrow as destination.

Levels of DFD
 Level 0 - Highest abstraction level DFD is known as Level 0 DFD, which depicts the entire
information system as one diagram concealing all the underlying details. Level 0 DFDs are also
known as context level DFDs.

 Level 1 - The Level 0 DFD is broken down into more specific, Level 1 DFD. Level 1 DFD
depicts basic modules in the system and flow of data among various modules. Level 1 DFD also
mentions basic processes and sources of information.
 Level 2 - At this level, DFD shows how data flows inside the modules mentioned in Level 1.
Higher level DFDs can be transformed into more specific lower level DFDs with deeper level of
understanding unless the desired level of specification is achieved.

 Data Dictionary
A data dictionary is a structured repository of data elements in the system. It stores the
descriptions of all DFD data elements that is, details and definitions of data flows, data stores,
data stored in data stores, and the processes.
A data dictionary improves the communication between the analyst and the user. It plays an
important role in building a database. Most DBMSs have a data dictionary as a standard feature.
For example, refer the following table −

Sr.No. Data Name Description No. of Characters

1 TITLE Title 60

2 SUB Book Subjects 80

3 ANAME Author Name 15

 Decision Trees
Decision trees are a method for defining complex relationships by describing decisions and
avoiding the problems in communication. Thus, it depicts which conditions to consider first,
second, and so on.
Decision trees depict the relationship of each condition and their actions. A square node
indicates an action and a circle indicates a condition. It forces analysts to consider the sequence
of decisions and identifies the actual decision that must be made. It is a single representation of
the relationships between conditions and actions. A decision tree is a structure that includes a
root node, branches, and leaf nodes. Each internal node denotes a test on an attribute, each
branch denotes the outcome of a test, and each leaf node holds a class label. The topmost node
in the tree is the root node.
The decision tree example are as follows

Figure 1: Decision tress


The benefits of having a decision tree are as follows −
 It does not require any domain knowledge.
 It is easy to comprehend.
 The learning and classification steps of a decision tree are simple and fast.

 Decision Tables
Decision tables are a method of describing the complex logical relationship in a precise manner which is
easily understandable. It is useful in situations where the resulting actions depend on the occurrence of
one or several combinations of independent conditions. It is a matrix containing row or columns for
defining a problem and the actions.

To create the decision table, the developer must follow basic four steps:

 Identify all possible conditions to be addressed


 Determine actions for all identified conditions
 Create Maximum possible rules
 Define action for each rule
The entries in decision table are given by Decision Rules which define the relationships
between combinations of conditions and courses of action. In rules section,

 Y shows the existence of a condition.


 N represents the condition, which is not satisfied.
 A blank - against action states it is to be ignored.
 X (or a check mark will do) against action states it is to be carried out.

For example, refer the following table −

CONDITIONS Rule 1 Rule 2 Rule 3 Rule 4

Advance payment made Y N N N

Purchase amount = Rs 10,000/- - Y Y N

Regular Customer - Y N -

ACTIONS

Give 5% discount X X - -

Give no discount - - X X

 Structured English
Structure English is derived from structured programming language which gives more
understandable and precise description of process. It is based on procedural logic that uses
construction and imperative sentences designed to perform operation for action.
 It is best used when sequences and loops in a program must be considered and the problem needs
sequences of actions with decisions.

 It does not have strict syntax rule. It expresses all logic in terms of sequential decision structures and
iterations.

For example, see the following sequence of actions −

if customer pays advance


then
Give 5% Discount
else
if purchase amount >=10,000
then
if the customer is a regular customer
then Give 5% Discount
else No Discount
end if
else No Discount 0
end if
end if
 Pseudo Code
A pseudocode does not conform to any programming language and expresses logic in plain English.
Pseudo code contains more programming details than Structured English. It provides a method to
perform the task, as if a computer is executing the code.
 It may specify the physical programming logic without actual coding during and after the
physical design.
 It is used in conjunction with structured programming.
 It replaces the flowcharts of a program.

Example:
Procedure finds factorial (A)
Factorial = 1
for value = 1 to A
Factorial =factorial * value
ENDFOR
DISPLAY factorial
END PROCEDURE

Guidelines for Selecting Appropriate Tools


Use the following guidelines for selecting the most appropriate tool that would suit your requirements −
 Use DFD at high or low level analysis for providing good system documentations.
 Use data dictionary to simplify the structure for meeting the data requirement of the system.
 Use structured English if there are many loops and actions are complex.
 Use decision tables when there are a large number of conditions to check and logic is complex.
 Use decision trees when sequencing of conditions is important and if there are few conditions to
be tested.

You might also like