System Analysis: Unit - 5
System Analysis: Unit - 5
System Analysis: Unit - 5
UNIT 5
SYSTEM ANALYSIS
Learning Objectives
After having read this unit, you will be able to
Structure
5.1. Introduction
5.2. Requirement Determination
5.3. Strategies for Requirement Determination
5.4. Structured Analysis Tools
5.5. Summary
5.6. Review Questions
5.1. Introduction
System analysis may be understood as a process of collecting and interpreting
facts, identifying problems and using the information to recommend
improvements in the system. In other words, system analysis means
identification, understanding and examining the system for achieving predetermined goals/objectives of the system. System analysis is carried out with
the following two objectives.
82
i)
ii)
83
problem and application area. The requirement determination is a means of
translating the ideas given by the user, into a formal document, and thus to
bridge the communication gap. A good SRS provides the following benefits.
i)
It bridges the communication gap between the user and the above
developer by acting as a basis of agreement between the two parties.
ii)
iii)
requirement
investigation
and
requirement
specification.
ii)
iii)
the various constraints in terms of time and the volume of work, and
iv)
84
Let us discuss these activities in more detail.
ii)
iii)
iv)
85
his
perception
of information
needs,
whereas
organizational
ii)
In order to study the business operations of the organization and thus to know
the existing system and information requirements for the new system, an
information analyst collects the information and then makes an analysis of the
collected information by using certain analysis tools.
86
5.3.1. Interview
The interview is a face-to-face method used for collecting the required data. In
this method, a person (the interviewer) asks questions from the other person
being interviewed. The interview may be formal or informal and the questions
asked may be structured or unstructured. The interview is the oldest and the
most often used device for gathering information about an existing system.
The respondents are generally current users of the existing system or potential
users of the proposed system. Although it is one of the preferred techniques,
interviewing is not always the best source of application data. Because of the
time required for interviewing and the inability of the users to explain the
system in detail, other methods are also used to gather information.
However, this method is helpful for gathering information from individuals
who so not communicate effectively in writing or who may not have the time
to answer questionnaires. Interviews allow analysts to discover areas of
misunderstanding, unrealistic expectations and even indication of resistance to
the proposed system.
The analyst must plan the interviews and must know clearly in advance
regarding the following issues.
i)
Whom to interview?
ii)
When to interview?
iii)
What to ask?
iv)
v)
vi)
87
5.3.2. Questionnaire
A questionnaire is a term for almost any tool that has questions to which
individuals respond. The use of questionnaires allows analysts to collect
information about various aspects of a system form a large number of persons.
The questionnaire may contain structured or unstructured questions. The use
of a standardized questionnaire may give more reliable data than other factfinding techniques. Also the wide distribution ensures greater anonymity for
respondents, which can lead to more honest responses. The questionnaire
survey also helps in saving time as compared to interviews. However, this
method does not allow analysts to observe the expressions or reactions of
respondents as are possible during interviewing and also, it is difficult to
design exhaustive questionnaires. The analyst should know the advantages and
disadvantages of structured as well as unstructured questionnaires.
Questionnaires must be tested and modified as per the background and
experience of the respondents.
88
the same logic which is contained in the old system. It is difficult to comment
upon the two views. However, both the views seem valid. It can only be
suggested here that an information analyst should study the existing system, if
any, to know more about the whole of the system.
5.3.4. Observation
Another information gathering tool used in system studies is observation. It is
the process of recognizing and noticing people, objects and occurrences to
obtain information. Observation allows analysts to get information, which is
difficult to obtain by any other fact-finding method. This approach is most
useful when analysts need to actually observe the way documents are handled,
processes are carried out and whether specified steps are actually followed. As
an observer, the analyst follows a set of rules. While making observations,
he/she is more likely to listen than talk. The exercise is time-consuming and
costly. Also the observer may not be able to get all the required information
especially about some intricacies of the system. Nowadays, electronic
observation-gathering tools because of their speed and efficiency.
The analysts usually use a combination of all these approaches to study an
existing system, as any one approach may not be sufficient for eliciting
information requirement of the system.
The fact-finding techniques which have been discussed above represent only
one aspect of system analysis. Various tools for organizing the details
collected are discussed as follows.
ii)
Data Dictionary
89
iii)
Structured English
iv)
Decision Trees
v)
Decision Tables
iii) Circle/ Bubble: It represents a process that transforms incoming data flow
into outgoing data flow. A process can be represented by a circle or an oval
bubble.
90
ii)
The direction of flow is from top to bottom and from left to right.
iii)
iv)
The name of data stores, sources and destinations are written in capital
letters. Process and data flow names have the first letter capitalized.
A DFD should have no more than 10-12 processes, as having even 12 will
make a DFD complex and difficult to understand.
A DFD shows the minimum contents of a data store. Each data store should
contain all the elements that flow in and out of it.
DFD is very effective, when the required design is not clear and the user and
the analyst require some symbolic representation for communication.
The main disadvantage of DFD is that a large number of iterations are often
required to arrive at an accurate and complete solution.
91
For example, consider the case of a payroll system to prepare salary
statements for each employee of an organization. Data flow for such a system
can be represented, as shown in Figure 5-1.
Employee
Employee
Data
Payroll
Processin
g
Salary Statement
Accounts Department
Updated data
Figure 5-1 A DFD for payroll Processing: Macro View
Employee File
Sink
Employee Data
Accou
nts
Depart
ment
Employ
ee
Employees
Gross Salary
Gross
Salary
Processin
g
Net
Salary
Computat
-ion
Salary
Statement
Source
Deductions
Various Deductions
Updated Data
Updated Data on
Employee
92
employees (e.g. total tax deducted, provident fund contribution, etc.) is stored
in an intermediate file (data store), which is required for processing in the
subsequent months.
A DFD displays data flow in a top-down approach. To draw a DFD, start with
a macro DFD (overview) and then explode it into micro DFDs. Figure 5-2
illustrates the method.
While exploding a DFD into lower levels, continuity and linkage is maintained
between a DFD and its member DFDs. This is achieved by numbering each
circle (processing step) by adopting the numbering system, e.g. 1,2,3,, each
further numbered as 1.1,1.2, 1.3, ., and still further numbered as 1.1.1, 1.1.2,
. Figure 5.3 illustrates the point.
Processin
g1
1.2.1
1.1
1.2
1.2.2
93
common database for programmers and can also be used for control purposes.
Most databases have data dictionary as a desirable feature.
There are mainly three items of data present in a data dictionary.
i)
ii)
iii)
Data Flows and Data Stores: Data flows are nothing but data
structures in motion, whereas data stores are data structures at rest. In
other words, data stores are locations where data structures are
temporarily stored. Data dictionary is an integral part of the structured
specifications.
The terms used to describe data structures are always in capital letters.
ii)
iii)
iv)
There should be names for every data flow, data store, data structure
and data element.
v)
vi)
vii)
Various symbols which are used in the data dictionary are explained in Table
5-1.
94
Table 5-1
Symbols used in Data Dictionary
Symbol
=
+
Option 1
Meaning
Is equivalent to
Add
Only one of the options is used at a given time
Option 2
:
:
Max
{Component}
min
{component}
* Comment*
An Example:
VENDOR INVOICE
= INVOICE-NUMBER + VENDOR-NAME +
TOTAL-INVOICE-AMOUNT + INVOICE-DUE-DATE
+ (SHIPPING-DATA)
30
{ITEM-DETAIL-LINE}
1
Size of Order
Discount
Dealer
6 or more
35%
95
Less than 6
Discount
Policy
Educational
Institution or
Individual
50 or more
20 49
6 -19
Less than 6
Figure 5-4 A Decision Tree An Example
Nil
30%
20%
15%
Nil
SMALL
6 TO 19 PCs
MEDIUM
20 TO 49 PCs
LARGE
50 OR MORE PCs
DISCOUNT-POLICY
Add up the number of PCs per PC type
If order is from a dealer
And if ORDER-SIZE IS SMALL OR MEDIUM OR LARGE
THEN: Discount is 35%
ELSE (ORDER-SIZE IS MINIMUM}
So: no discount is allowed
ELSE {ORDER is from educational institution or individual customers}
SO IF ORDER-SIZE IS LARGE
96
Discount is 30%
ELSE IF ORDER-SIZE IS MEDIUM
Discount is 20%
ELSE IF ORDER-SIZE IS SMALL
Discount is 15%
ELSE (ORDER-SIZE IS MINIMUM)
So: no discount is allowed.
97
The condition entry part contains the answers to questions asked in the
condition stub and the action entry part indicates the appropriate action
resulting from the answers to the conditions in the condition entry quadrant.
In constructing a decision table, the following rules are observed.
i)
ii)
iii)
iv)
1
Y
Condition Entry
2
3
4
5
Y
N
N
N
6
N
Condition Stub
individual?
Is the order size 50 or more PCs?
Is the order size 20 to 49 PCs?
Is the order size 6 to 19 PCs?
Action Stub
Allow 35% discount
Allow 30% discount
Allow 20% discount
Allow 15% discount
Figure 5-7 Decision Table An Example.
Action Entry
X
X
X
X
5.5. Summary
System analysis is a detailed study of all important business aspects under
consideration and the existing system, and thus, the study becomes a basis for
98
the proposed system. The final product of the system analysis is a set of
system requirements of a proposed information system.
Requirement