Software Requirement Specification
Software Engineering
1
Object-oriented Analysis and Design
Requirements Analysis 1
As Marketing requested it.
Software Engineering
2
Object-oriented Analysis and Design
Requirements Analysis 2
As Sales ordered it.
Software Engineering
3
Object-oriented Analysis and Design
Requirements Analysis 3
As Engineering designed it.
Software Engineering
4
Object-oriented Analysis and Design
Requirements Analysis 4
As Production manufactured it.
Software Engineering
5
Object-oriented Analysis and Design
Requirements Analysis 5
As Maintenance installed it.
Software Engineering
6
Object-oriented Analysis and Design
Requirements Analysis 6
What the customer wanted.
Software Engineering
7
Object-oriented Analysis and Design
A Short Example 1
Define Use Cases
Play a Dice Game use case:
Player requests to roll the dice. System presents results: If the dice face value totals seven, player wins; otherwise, player loses. Die Game player Roll Dies
Software Engineering
8
Object-oriented Analysis and Design
A Short Example 2
Define a Domain Model creating a description of the domain from the perspective of objects. There is an identification of the concepts, attributes, and associations that are considered noteworthy.
Player name 1 Plays 1 DiceGame 1 Includes 1 Rolls 2 Die faceValue 2
Software Engineering
9
Object-oriented Analysis and Design
A Short Example 3
Assign Object Responsibilities and Draw Interaction Diagrams to illustrate these collaborations is the sequence diagram. It shows the flow of messages between software objects, and the invocation of methods.
:DiceGame play() roll() fv1 := getFaceValue() roll() fv2 := getFaceValue() die1 : Die die2 : Die
Software Engineering
10
Object-oriented Analysis and Design
A Short Example 4
Define Design Class Diagrams
a
References: Version Inception draft Date Jan 10, 2031 Description First draft. To be refined primarily during elaboration. Author Craig Larman Introduction: This document is the repository of all NextGen POS requirements not captured in the use cases