Requirements Modeling: CIS 375 Bruce R. Maxim UM-Dearborn
Requirements Modeling: CIS 375 Bruce R. Maxim UM-Dearborn
CIS 375
Bruce R. Maxim
UM-Dearborn
1
H.I.P.O. Chart
H.I.P.O Chart
Hierarchical Input-Process-Output
Strength
Shows functional relationships
Weaknesses
Does not show non-functional
requirements
No checking mechanism, except for
customer review
3
Structured Analysis - 1
Analysis products must be highly
maintainable, especially the software
requirements specification.
Problems of size must be dealt with using an
effective method of partitioning.
Graphics should be used whenever possible.
Differentiate between the logical (essential)
and physical (implementation) considerations.
7
Structured Analysis - 2
Find something to help with
requirements partitioning and document
the partitioning before specification.
Devise a way to track and evaluate user
interfaces.
Devise tools that describe logic and
policy better than narrative text
8
Alias
alternate names for each data object
Where-used/how-used
listing of processes that use the data or control item and
how it is used
input to process
output from process
as a store
as an external entity
11
Supplementary information
other data type information, preset values,
restrictions, limitations, etc.
12
Entity-Relationship Diagrams
13
Attributes
name a data object instance, describe its
characteristics, or make reference to another data
object
Relationships
indicate the manner in which data objects are
connected to one another
14
Modality
zero (0) for an optional object relationship
one (1) for a mandatory relationship
15
Creating Entity-Relationship
Diagrams - 1
Customer asked to list "things" that
application addresses
These things evolve into input objects,
output objects, and external entities
Analyst and customer define
connections between the objects
One or more object-relationship pairs is
created for each connection
16
Creating Entity-Relationship
Diagrams - 2
Cardinality and modality are determined
for an object-relationship pair
Attributes of each entity are defined
ERD is reviewed and refined
17
Normalization Rules
Given instance of an object has one value for
an attribute.
Attributes represent elementary items.
When more than one attribute is used to
identify an object, make sure they describe
the same "key".
All non-ID attributes represent the same
characteristics of instance named by key.
18
Dataflow Diagram
19
external entities
process or transforms
data items
data stores
21
Creating DFD - 1
Level 0 data flow diagram should depict the system
as a single bubble
Primary input and output should be carefully noted
Refinement should begin by consolidating (for
representation at the next level):
candidate processes
data objects
data stores to be represented at the next level
Creating DFD - 2
Information flow must be maintained from one
level to level
Refine one bubble at a time
Write PSPEC for each bubble in the final DFD
"mini-spec" written using English or another
natural language or a program design language
23
DFD Refinement
24
Spreadsheet
Information
Display Monitor
WKConnectors
Delimited Text
Information
Report Results
Table1.CSV
Table1 Delimited
Text Information
Table2 Delimited Text
Information
PART NUMBER
ANALYSIS (PNA) Tool
Report Results
File
Report Results
Table2.CSV
- Command
- PN data
Printer
User
25
Table1
Delimited Text
information
Report Results
Validate Data
Process Report
Print / Save
Data
Report Results
Table2
Delimited Text
information
- Command
- PN data
26
WKConnectors
Delimited Text
information
Make
tbl_createdWKConn
- Command
- PN data
Relevant WKConnector
Records
Make WKConn
Category
Reference ID
Validation
Results
tbl_createdWKConn
WKConn field
data
- Component
Remarks
- Category ID
tbl_createdT1
T1 Field data
Relevant T1
Record(s)
Analyze/Classify Data
Print / Save
Data
Criteria:
- dbs
- strCriteria
- strOrigPN
Criteria:
- dbs
- strOrigPN
T2 Field data
Make tbl_createdT1
tbl_createdT2
Make tbl_createdT2
Relevant T2 Record(s)
27
Table1
Delimited Text
information
Criteria:
- dbs
- strCriteria
- strOrigPN
qry_Table1UniquePN
Recreate tbl_createdT1
Table1 Query
Results
Relevant T1
Record(s)
Table2
Delimited Text
information
Recreate tbl_createdT2
qry_Table2PrelimUnique
Table2 Query
Results
Relevant
T2Record(s)
28
29
30
STD Elements
Decision Table
Rules
Condition
Actions
33
Condition
N not numeric
N <= 1
N legal
N prime
Action
Print N prime
X
X
34
Event Table
Mode
Event1
Event2
Event3
Event4
Presentation
Graphics
Action
1
Action8
Architecture
Drawing
A2 then A3
A5 & A6
Programming
A4
A1, A2 & A3
A7
35
Petri Nets
Sequential Process
F(StateA, Event1,
Event2, Event3)
StateS
F(StateA, Event1,
Event2, Event3)
(StateS1,StateS2)
36
SADT
Structured Analysis and Design Technique
Phases:
SA
Activity diagrams combined to for activity network
Data diagrams combined to form data network
DT
37
SA Activity Diagram
Control
Inputs
Outputs
Mechanism
38
SA Data Diagram
Control
Resulting
Generating
Activity
Activity
Storage Device
39