Professional Documents
Culture Documents
Unit 8
Unit 8
System Analysis I
Structure:
8.1
Introduction
Objectives
8.2
System Analysis
8.3
Problem Definition
8.4
Information Requirements
Information gathering tools
8.5
Tools of Structured Analysis
8.6
Data Flow Diagrams
Symbols used in DFDs
Naming conventions in DFD
Developing a DFD
8.7
Data Dictionary
Rules to draw data dictionaries
Advantages of data dictionary
Types of data dictionaries
8.8
Decision Tree
8.9
Decision Tables
8.10 Structured English
8.11 Summary
8.12 Glossary
8.13 Terminal Questions
8.14 Answers
8.15 References
8.1 Introduction
In the previous unit, you studied the various system development
methodologies like structured development methodologies, rapid application
development methodologies, and agile development methodologies. Also,
you learned how to select the appropriate development methodology.
In this unit, we will study the concept of system analysis including problem
definition and information requirements. You will recognise various
information gathering tools such as online observations, interview, etc., and
Unit 8
Unit 8
Unit 8
Unit 8
Two projects are never the same. This signifies that the analyst must wisely
choose the information gathering tool to be used and also decides how to
use it. Even though there are no standard rules for stating their use, a
significant rule is that information must be obtained correctly, systematically,
under the correct conditions, and with minimum disruption to user
personnel.
For example, if only information available in the current manuals is required
by the analyst, then interviewing is needless. Interviewing is essential where
the manual is not up-to-date. If additional information is needed, on-site
observation or questionnaire may be considered. Thus, you are required to
understand the meaning and purpose of various information gathering tools.
Each tool has a unique function, based on the requirements of information.
The various information gathering tools are:
Reviews of Literature, Procedures and Forms: There are very less
system problems that are considered to be unique. The growing number of
software packages recommends that problem solutions are turning out to be
standardised. Thus, as a first step, a search of the literature through
professional reference and procedures manuals, textbooks, company
studies, government publications, or consultant studies, may prove
invaluable. The primary drawback of the search is time. Often it is difficult to
get certain reports, publications may be expensive, and the information
might be outdated due to a time lag in publication.
Procedure manuals and forms are valuable sources for the analyst. They
demonstrate the format and functions of the current system. System
requirements that assist in determining how well the different objectives are
met are included in most of the manuals. Information gathering time is
saved by means of up-to-date manuals. Unluckily, manuals are generally
outdated or do not exist.
The study of existing forms is included in the study of procedures and forms.
Printed forms are extensively used for capturing and offering information.
The goal is to recognise how forms are to be used. The following questions
may be of use:
Who uses the forms? How significant are they to the user?
Do the forms comprise all the essential information? What item should
be added or removed?
Sikkim Manipal University
Unit 8
Unit 8
Interview
1.
Economical
1.
Less Economical
2.
2.
3.
3.
4.
4.
5.
5.
Activity 1:
Develop a sample questionnaire for information gathering on any topic
of your choice. The questionnaire should be of at least 10 questions.
Unit 8
Unit 8
Meaning
1.
Data flow
2.
Process
3.
Source or
Destination
4.
Data Store
Yourdon
Gane &Sarson
Unit 8
Person
Step number
File
Procedure
Throughout data flow analysis, these details are assessed in terms of the
logical constituents of data flows, processes, data stores, origins and
destinations.
System requirements are converted into logical design details, during the
design stages that follow actual construction, such as the programming of
computer software, translates logical specifications into physical features
and a working information system.
Unit 8
Context Diagram: The top level DFD is considered as the context diagram.
Context diagram symbolises a system as a single process with only major
inputs and outputs to the system. These inputs and outputs are represented
as data flows. The source and destination of the data as external entities are
also represented. Figure 8.4 represents a context diagram. It shows a level
O DFD for an accounts payable system.
Observe that only a single process is represented in the figure. Here, the
vendor is shown as both the source and the destination of data.
A cc o u n ts
p a ya b l e
Balanc e
Ve n d o r
i n vo i ce
Ve n d o r
A cc o u n ts
C h e ck
p a ya b l e
Vendo r
D a ta
Unit 8
We have shown a sample DFD in figure 8.5. Here we have represented the
enlarged view of context diagram shown in figure 8.4.
V e r i fie d
A cco u n ts
in vo ic e
Vend o r
Vendo r
In vo ic e
p a ya b l e
In v o i ce
U p d a te a cco u n ts
A c co u n ts
A cc o u n ts
ve r if ic a ti o n
p a ya b l e
p a ya b l e r e co r d
b a l a n ce
C h e ck
Vend or
p r e p a r a ti o n
C h e ck
Vend or
a d dr e s s
V e n d o r da t a
Unit 8
Data Store: A data structure used for gathering data input throughout
processing is known as data store. For example, Part Register is a data
store.
Equivalent to
And
[]
Either/or
()
Optional entry
8.7.1 Rules to draw data dictionariesThere are four rules used in the
construction of data dictionary entries:
1. Words should be defined to represent their meanings. They should not
represent the variable names by which they may be explained in the
program: use CUSTOMER_NAME not ABCPQ or CODE06.
*Words capitalisation makes them noticeable and may be of help.
2. Each word must be exclusive; same customer name cannot have two
definitions.
3. When two or more entries represent the similar meaning, aliases, or
synonyms are permitted; a vendor number may also be known as a
customer number. Remember that aliases should be utilised only when
extremely required.
4. Self-defining words should not be decomposed.
8.7.2 Advantages of data dictionary
The various advantages of data dictionary are as follows:
Unit 8
It makes easy for analysis in finding out the additions and changes in the
system.
It assists the analyst to keep the details of each element and data
structure.
Unit 8
program data storage definitions for languages like COBOL, etc., for
execution-time performance.
In-line Data Dictionaries: An in-line data dictionary remains active
throughout program execution. In-line Data Dictionary carries out
transaction validation and editing. This type of dictionary would always
comprise some documentation value. However, documentation across the
organisation regarding the organisation functions and processes and all the
organisation data stores is not possible.
Self Assessment Questions
11. ________________ defines every term encountered throughout the
analysis and design of a new system.
12. Passive dictionary performs only documentation. (True/False)
Unit 8
Unit 8
$380,000
Simple
(0.30)
$450,000
Difficult
(0.70)
Build
$275,000
Minor changes
(0.70)
$310,000
Simple
(0.20)
reuse
System X
Major changes
(0.60)
Buy
Complex
(0.80)
$490,000
$210,000
$400,000
$350,000
$500,000
The predictable value for cost, calculated along any branch of the decision
tree, is:
Expected cost = (path probability)i (estimated path cost)i
Where, i is the decision tree path.
For the build path,
Expected cost build = 0.39($380K) + 0.70($450K)=$429K
The predictable costs for reuse, buy, and contract under different situations,
are also displayed.
The predictable costs for these paths are:
Expected cost reuse
($490K)]=$382K
0.40($275K)
0.60[0.20($310K)
0.80
Unit 8
Based on the probability and projected costs have been noted in figure 8.8,
the lowest predictable cost is the buy alternative.
Observe that many criteria apart from just cost, must be considered
throughout the decision making procedure.
Self Assessment Questions
13. Based on various set of conditions, _______________ shows the
alternative actions that can be carried out in a process.
14. Decision tables are not preferred for difficult conditional statements.
(True/False)
Activity 2
Construct a decision tree of developing a new system or modifying the
existing and take assumptions for various options and the costs
associated with them.
Unit 8
on. You can find out the number of rules in a decision table by using the
formula:
Number of rules = 2^N=2N
Where N symbolises the number of conditions and ^ signifies
exponentiation. So, a decision table with four conditions include 16
(2^4=2x2x2x2=16) rules, one with six conditions include 64 rules and one
with eight conditions include 256 rules.
Therefore, condition entry is considered as a record of all yes/no
permutations in a decision table. The action entry is held by the lower right
corner. X's or dots signify whether an action should take place as a result of
the yes/no entries under condition entry. X's indicates action; dots indicate
no action.
So, Action Entry signifies via dot or X whether something should take place
in a decision table.
Table 8.2: Format of a Decision Table
Title:
Date:
Author:
Systems:
Comments:
Condition Stub
Condition Entry
Action Stub
Action Entry
On making the yes or no rules for the condition entry, we must make all
probable patterns of y's and n's. An arrangement that assures thoroughness
is to put two y's in series followed by two n's. In the second row, we put
alternating pairs of y's and n's.
Example: In table 8.3, we have shown decision table for bicycle assembly.
A decision table comprising four conditions (2^4 =16) would have 16
dissimilar sets of y's and n's. This would result in the pattern of yes and no
responses as shown below.
As a result, the first row will have eight y's followed by eight n's. The second
row contains four y's, four y's and four n's.
Unit 8
This form makes sure that the analyst comprises of all combinations with
duplication.
On occurrence of the large number of conditions, decision tables can
become lengthy. Analysts must eliminate redundancies to avoid lengthy
decision tables. They should be careful and should not ignore anything.
Occasionally, two or more rules may be united to decrease or remove
redundancy. In tables 8.3 and 8.4, rules 1 and 2 cause the last action to
take place in the action stub.
Thus, we can combine these two rules to remove redundancy. To signify
redundancy, we put a dash (-) in the condition entry to illustrate that this
condition stub is inappropriate and can be overlooked.
Sikkim Manipal University
Unit 8
In Table 8.4 the decision table describes the AP cheque module. Even
though this format is quite typical, you will come across various different
types of decision tables in practice. Table 8.4shows an example of limitedentry, as the condition entry comprises yes or no responses for all rules.
Limited-Entry: Limited-Entry is a type of decision table displaying a y or n
response for each condition. We have shown AP cheque decision table in
table 8.4 as below.
Table 8.4: A Limited-Entry Decision Table
Unit 8
Mixed Entry: Mixed entry is a type of decision table which mixes values in
the condition and action entries.
Now, we have shown below the AP cheque written as a mixed-entry
decision table in table 8.6 as below.
Unit 8
Unit 8
Apart from designing screen layout formats and finding out screen
specification, the design must build up input controls for interactive dialogue
and demonstrate the manner in which screens and menus are connected
together.
Three tools which aid the design team in performing this are dialogue
trees, decision trees, and picture-frame analysis. By means of dialogue
and decision trees, the team is capable of displaying the flow of control in
processing, as well as the actions users can take to stop an input method.
By means of picture-frame analysis, the design team is capable of providing
a walk-through to recognise the appearance of the screen once a design
turns out to be operational.
Self Assessment Questions
15. A type of decision table which mixes values in the condition and action
entries is known as a _____________________ .
16. Open-ended decision table does not allow accessing another decision
table. (True/False)
Unit 8
Decision Structure
If Basic_Pay<=1000
HRA = 500
else
Ans = Y
Do while Ans = Y
Accept employee code
If Basic_Pay<= 3000
HRA = 1000
else
HRA = 1500
endif
Iteration Structure
endif
Unit 8
8.11 Summary
Let us recapitulate the important concepts discussed in this unit:
Decision tree is a diagram that shows the alternative actions that can be
carried out in a process depending upon various set of conditions.
8.12 Glossary
Data Dictionary: An organised list of terms and their definitions for all
the data elements and data structures that are pertinent to the system.
Data Flow Diagram (DFD): A graphic tool for describing the movement
of data within or outside the system.
Unit 8
8.14 Answers
Self Assessment Questions
1. False
2. Analyst
3. False
4. Intermediate
5. True
6. Printed
7. Structured analysis
8. True
9. False
10. DFD
11. Data dictionary
12. True
13. Decision tree
Sikkim Manipal University
Unit 8
14. False
15. Mixed-entry
16. False
17. Decision
18. True
Terminal Questions
1. The process of learning as much as possible about the current system is
known as fact-finding. Information gathering tools include: Reviews of
Literature, Procedures and Forms; on-site observation, interviews, and
questionnaire. Refer section 8.4.
2. A DFD contains a sequence of bubbles connected by lines. The bubbles
and the lines represent data transformations and data flows in the
system respectively. Context diagram is considered as the top level
DFD. Refer section 8.6.
3. Data dictionary is a catalogue comprising all data elements, data
structures and processes depicted in logical DFDs. It helps in identifying
meanings of different elements, terms and procedures. Refer section
8.7.
4. The decision table is defined as a chart comprising four sections stating
all the logical conditions and actions. Condition stub displays all the
required tests or conditions. Action Stub is a record of all the processes
included in a decision table. Refer section 8.9.
5. Structured English is one of the tools of structured analysis that uses
narrative statements to illustrate a procedure. Refer section 8.10.
8.15 References
Unit 8
E-References
http://www.bcanotes.com/Download/sad/System%20Analysis%20And%
20Design/Tools%20of%20Structured%20Analysis.pdf, 19-03012
http://www.authorstream.com/Presentation/sebastianlawrance-1307989module-2/, 19-03-12
http://books.google.co.in/books?id=koyquCMIoSUC&printsec=frontcover
#v=onepage&q=dfd&f=false
http://www.scribd.com/doc/22278404/SAD