Lecture 6 - Structured Analysis
Lecture 6 - Structured Analysis
Lecture 6
Agenda
• What is Structured Analysis?
• Structured Analysis Tools
• Structured Analysis Model
• Data Dictionary
• Entity Relationship Diagrams
• Data Flow Diagrams
• State Transition Diagrams
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 requirements of an
existing system
• Develop a new system specification which can
be easily understandable by user.
What is Structured Analysis?
(contd.)
• 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 Dictionary
• Data Flow Diagrams
• Decision Trees
• Decision Tables
• Structured English
• Pseudocode
The Structured Analysis
Model
Data Dictionary
• Core of the structured analysis model
2 2.2
2 2.2 2.2.2
Overall sub sub-sub
process Process Process Process
3 2.3 2.2.3
sub sub-sub
Process Process Process
Entity
DFD Levelling (contd.)
Context Diagram (Level 0):
• The process name in the context diagram should be the name of the
information system surrounded by the external entities that the system
deals with.
• For example, Grading System, Order Processing System, Registration
System.
Level 1 DFD
• Process in Level 0 is be expanded further to represent details of the
processing activities. And in this level the data stores are represented too.
Level 2 DFD
• If a process still can be expanded into more details (i.e. sub-processes or
steps) , the we refine the process into a separate level of DFD;
• Most importantly you must ensure the consistency between levels as
shown in the next slide
• You will not be asked to go beyond Level 2 in this course!
DFD Levelling (contd.)
Sales, Dispatch and
Warehouse System
Case Study
Sales, Dispatch and
Warehouse system
• Customers send orders to the Sales Dept. who respond by
sending an order acknowledgement back to the customer.
Each week the Accounts Department send a credit limit list to
the Sales department (this is a list of customers who are up to
their limit and should be refused further orders).
Order
acknowledgement
Sales,
Despatch
& Warehouse
Goods
received note
c
Supplier
Example - Level 1 DFD
a
Cust om er
Deliv er y not e 2 Despat ch
Pack age
O r der O r der goods
ac knowledgem ent & despat ch
*
1 Sales
O r der
Ent r y
Copy deliv er y
* Despat ch
not e
i s t r uc t io n set
n
W eekly c r edit
lim it lis t
b I nt er nal or der
f or m
Ac count s G oods r ec eiv ed
not e
3 W ar ehouse b
G oods r ec eiv ed Ac count s
St oc k
not e cont r ol
c Re- or der c ar d
Supplier
Level 2 DFD - Stock Control
2 Des pat c h
1 Sales
Pac k age
goods
O r der
& des pat c h
Ent r y *
*
b
Ac c ount s 3 St oc k c ont r ol
Re- or der c ar d
3. 1 St oc k Clk I nt er nal or der 3. 2 Ty pis t
f or m Ty pe t he
Allo c at e
des pat c h
s t oc k
ins t r uc t io n
t o or der
* s et *
r ead & updat e
s t oc k
M 3/ 1 St oc k
s t oc k addit ions
3. 3 W 'h m en s t oc k lev el 3. 4 G oods Rec
Chec k goods
M onit or
r ec eipt not e
s t oc k
t o s t oc k r ec ei-
lev els
v ed & inc r e *
Re- or der c ar d
G oods r ec eiv ed
G oods r ec eiv ed not e
not e
b c
Ac c ount s Supplier
Level 3 DFD - Monitor Stock
Levels
3 .3 Mo n ito rs to c k le v e ls