SlideShare a Scribd company logo
Lec-9.ppt
2
Team Skill 3 -
Defining the System
Lec 10
3
Outline – Skill 3
 Use Cases
 Organizing Requirements
 Vision Document
 Product Management
4
Use Cases
Key Points
 Use cases carry the majority of the
requirements for the system.
 The development team, with user
involvement, writes the use cases.
 Use cases are built on a common, standard
format.
 Use cases later drive test case development
5
Benefits of Use Cases
 Easier to write and read
 Force developers to think from the user perspective
 Use cases engage the users in the requirements process
 Use cases provide a sequence of actions
 Help to understand what the system needs to do and how it
might go about doing it
 Use cases carry over directly into the testing process
 Use cases serve as inputs to the user documentation
6
Use cases simply tell a better requirements story
So, Use these
7
What is a Use Case?
 Definition: A use case describes sequences
of actions a system performs that yield an
observable result of value to a particular
actor: -
 Sequences of actions
 System Performs
 Observable result of value to a particular actor
 Particular Actor
Actors
 Definition: An actor is someone or something
that interacts with the system
 Type of Actors: -
 Users
 Other systems or applications
 A device
8
Flow of events
 The heart of the use case is the event flow, usually a textual
description of the interactions between the actor and the
system.
 The flow of events can consist of both:
 the basic flow, which is the main path through the use case,
and
 alternate flows, which are executed only under certain
circumstances
9
10
Use Case Model - Development Steps
1. Identify the actors
2. Identify the use cases
3. Identify actor/use case relationships
4. Outline use cases
5. Refine use cases
Use cases for the Homeowner/Programmer
actor
11
12
3. Identify Actor/Use Case Relationships
 Draw a diagram showing relationships
between actors and use cases
Eat food
Buy food
Parent Child
13
4. Outline Use Cases
 Describe sequence of events in basic flow
(sunny day scenario)
 Describe sequences of events in alternate
flows (rainy day scenarios)
4. Outline Use Cases - Questions
 Basic flow:
 What event starts the use
case?
 How does the use case end?
 How does the use case
repeat some behavior?
 Alternate flow:
 Are there optional situations in
the use case?
 What odd cases might happen?
 What variants might happen?
 What may go wrong?
 What may not happen?
 What kind of resources can be
blocked?
14
15
5. Refine Use Cases
 At some point later in the project lifecycle you will
refine the use cases to the next and last level of
detail.
 At that time, there are a number of additional
factors to be considered, such as: -
 Describe All alternate flows, including exception
conditions
 Describe pre-conditions / post-conditions
 Fill in special requirements
Use Case Anatomy
16
See Appendix C for fully elaborated use-case specification template
17
Microwave Example
User
Cook Food
18
Cook Food Use Case – Slide 1 of 4
A. Name: Cook Food
B. Brief description: User places food in microwave
and cooks it for desired period of time at desired
power level.
C. Actors: User
19
Cook Food Use Case – Slide 2 of 4
D. Basic flow:
1. User opens door and places food in unit
2. User enters time for cooking
3. User pushes start button
4. Unit cooks food
5. Unit beeps
20
Cook Food Use Case – Slide 3 of 4
E. Alternate flows
1. User cancels time before starting
2. User cancels cooking before finished
3. User selects reduced power level before pushing start
button
21
Cook Food Use Case – Slide 4 of 4
F. Pre-conditions
 Unit is plugged in
 Unit is in ready state
G. Post-conditions
 Food is cooked or user cancelled operation
H. Special requirements
 Timer should display remaining time to finish while
cooking
 Default power setting should be "high"
22
Cook Food Use Case – Slide 4 of 4
F. Pre-conditions
 Unit is plugged in
 Unit is in ready state
G. Post-conditions
 Food is cooked or user cancelled operation
H. Special requirements
 Timer should display remaining time to finish while
cooking
 Default power setting should be "high"
23
Organizing Requirements
Key Points
 For nontrivial applications, requirements must
be captured and recorded in a document,
database, model, or tool.
 Different types of projects require different
requirements organization techniques.
 Complex systems require that requirements
sets be developed for each subsystem.
24
25
Organization Techniques
 Requirements can rarely be defined in a single
monolithic document or in a single use-case model.
 There may be no of reasons: -
 The system may be very complex
 The system being constructed may be a subsystem of a
larger system and may satisfy only a subset of all the
requirements identified
 Marketing and business goals need to be separated
from the detailed product requirements
 Other requirements, perhaps regulatory or legal, may
be required to be documented elsewhere
26
Organization Techniques
 The system design process itself creates new classes
of requirements, when subsystem are defined.
27
Organization Techniques
 Once these requirements are agreed on, system design is
performed again, if necessary, by breaking down each of the
subsystems into its subsystems and developing requirements
for each.
28
Organization Techniques
 Once these requirements are agreed on, system design is
performed again, if necessary, by breaking down each of the
subsystems into its subsystems and developing requirements
for each.
29
Organization Techniques
 As seen, the lowest-level systems, that is, those that are not
further decomposed, usually correspond to software-only or
hardware-only subsystems
30
The Vision Document
Key Points
 Every software project will benefit from having a Vision
document.
 The Vision document describes the application in general
terms, including descriptions of the target market, the system
users, and the application features.
 The Vision document defines, at a high level of abstraction,
both the problem and the solution.
 The Delta Vision document focuses on what has changed
31
Scope of Vision Document
 The Vision document captures the needs
of the user, the features of the system,
and other common requirements for the
project.
 As such, the scope of the Vision
document extends over the top two
levels of the requirements pyramid,
thereby defining at a high level of
abstraction both the problem and the
solution
32
33
Vision Document Template
1. Introduction
2. User Description
3. Product Overview
4. Feature Attributes
5. Product Features
6. Exemplary Use Cases
7. Other Product Requirements
8. Documentation Requirements
9. Glossary
See the Detailed version of Vision Document from the Text
The Delta Vision Document
 Keeping the Vision document understandable and
manageable is an important team skill.
 To assist in this process, it is helpful to keep the Vision
document as short, concise, and "to the point" as possible
 However, in future releases, you may discover that it is
counterproductive to repeat features that have been
incorporated in prior releases
 Delta Vision document, addresses these issues
34
The Delta Vision Document
35
END
36
Ad

More Related Content

Similar to Lec-9.ppt (20)

Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
Muhammad Imran
 
UNIT 4 REFINING THE SYSTEM DEFINITION.docx
UNIT 4    REFINING THE SYSTEM DEFINITION.docxUNIT 4    REFINING THE SYSTEM DEFINITION.docx
UNIT 4 REFINING THE SYSTEM DEFINITION.docx
jeevaakatiravanhod
 
Ch 1-Introduction.ppt
Ch 1-Introduction.pptCh 1-Introduction.ppt
Ch 1-Introduction.ppt
balewayalew
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
zaaakditte
 
SEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptxSEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptx
mokshithaM1
 
__3.pptlinux and integration about legts and lab
__3.pptlinux and integration about legts and lab__3.pptlinux and integration about legts and lab
__3.pptlinux and integration about legts and lab
tttop2458
 
Usecase
UsecaseUsecase
Usecase
nazeer pasha
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
Ashenafi Workie
 
Modern Elicitation Process
Modern Elicitation ProcessModern Elicitation Process
Modern Elicitation Process
Rajon
 
SRE UNIT 5 BUILDING THE RIGHT SYSTEM.docx
SRE UNIT 5  BUILDING THE RIGHT SYSTEM.docxSRE UNIT 5  BUILDING THE RIGHT SYSTEM.docx
SRE UNIT 5 BUILDING THE RIGHT SYSTEM.docx
jeevaakatiravanhod
 
Chapter 8Understanding User Requirements1© Karl E
Chapter 8Understanding User Requirements1© Karl EChapter 8Understanding User Requirements1© Karl E
Chapter 8Understanding User Requirements1© Karl E
JinElias52
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.ppt
TalhaTajammal1
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian SommervilleSolution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
grispooropel
 
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
UjjwalAgrawal34
 
Requirements Engineering - SRS - IEEE.ppt
Requirements Engineering - SRS - IEEE.pptRequirements Engineering - SRS - IEEE.ppt
Requirements Engineering - SRS - IEEE.ppt
devhamnah
 
SE UNIT-2.pdf
SE UNIT-2.pdfSE UNIT-2.pdf
SE UNIT-2.pdf
Dr. Radhey Shyam
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
ndjavasapni
 
Unit-4- Process oveunit5and6forview.pptx
Unit-4- Process oveunit5and6forview.pptxUnit-4- Process oveunit5and6forview.pptx
Unit-4- Process oveunit5and6forview.pptx
ChiragSuresh
 
SE Chapter 4 - Software Requirements.pptx
SE Chapter 4 - Software  Requirements.pptxSE Chapter 4 - Software  Requirements.pptx
SE Chapter 4 - Software Requirements.pptx
Dibyesh1
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian SommervilleSolution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
nafiizstanek
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
Muhammad Imran
 
UNIT 4 REFINING THE SYSTEM DEFINITION.docx
UNIT 4    REFINING THE SYSTEM DEFINITION.docxUNIT 4    REFINING THE SYSTEM DEFINITION.docx
UNIT 4 REFINING THE SYSTEM DEFINITION.docx
jeevaakatiravanhod
 
Ch 1-Introduction.ppt
Ch 1-Introduction.pptCh 1-Introduction.ppt
Ch 1-Introduction.ppt
balewayalew
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
zaaakditte
 
SEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptxSEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptx
mokshithaM1
 
__3.pptlinux and integration about legts and lab
__3.pptlinux and integration about legts and lab__3.pptlinux and integration about legts and lab
__3.pptlinux and integration about legts and lab
tttop2458
 
Modern Elicitation Process
Modern Elicitation ProcessModern Elicitation Process
Modern Elicitation Process
Rajon
 
SRE UNIT 5 BUILDING THE RIGHT SYSTEM.docx
SRE UNIT 5  BUILDING THE RIGHT SYSTEM.docxSRE UNIT 5  BUILDING THE RIGHT SYSTEM.docx
SRE UNIT 5 BUILDING THE RIGHT SYSTEM.docx
jeevaakatiravanhod
 
Chapter 8Understanding User Requirements1© Karl E
Chapter 8Understanding User Requirements1© Karl EChapter 8Understanding User Requirements1© Karl E
Chapter 8Understanding User Requirements1© Karl E
JinElias52
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.ppt
TalhaTajammal1
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian SommervilleSolution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
grispooropel
 
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
UjjwalAgrawal34
 
Requirements Engineering - SRS - IEEE.ppt
Requirements Engineering - SRS - IEEE.pptRequirements Engineering - SRS - IEEE.ppt
Requirements Engineering - SRS - IEEE.ppt
devhamnah
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville 202...
ndjavasapni
 
Unit-4- Process oveunit5and6forview.pptx
Unit-4- Process oveunit5and6forview.pptxUnit-4- Process oveunit5and6forview.pptx
Unit-4- Process oveunit5and6forview.pptx
ChiragSuresh
 
SE Chapter 4 - Software Requirements.pptx
SE Chapter 4 - Software  Requirements.pptxSE Chapter 4 - Software  Requirements.pptx
SE Chapter 4 - Software Requirements.pptx
Dibyesh1
 
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian SommervilleSolution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
nafiizstanek
 

Recently uploaded (20)

fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
Ad

Lec-9.ppt

  • 2. 2 Team Skill 3 - Defining the System Lec 10
  • 3. 3 Outline – Skill 3  Use Cases  Organizing Requirements  Vision Document  Product Management
  • 5. Key Points  Use cases carry the majority of the requirements for the system.  The development team, with user involvement, writes the use cases.  Use cases are built on a common, standard format.  Use cases later drive test case development 5
  • 6. Benefits of Use Cases  Easier to write and read  Force developers to think from the user perspective  Use cases engage the users in the requirements process  Use cases provide a sequence of actions  Help to understand what the system needs to do and how it might go about doing it  Use cases carry over directly into the testing process  Use cases serve as inputs to the user documentation 6 Use cases simply tell a better requirements story So, Use these
  • 7. 7 What is a Use Case?  Definition: A use case describes sequences of actions a system performs that yield an observable result of value to a particular actor: -  Sequences of actions  System Performs  Observable result of value to a particular actor  Particular Actor
  • 8. Actors  Definition: An actor is someone or something that interacts with the system  Type of Actors: -  Users  Other systems or applications  A device 8
  • 9. Flow of events  The heart of the use case is the event flow, usually a textual description of the interactions between the actor and the system.  The flow of events can consist of both:  the basic flow, which is the main path through the use case, and  alternate flows, which are executed only under certain circumstances 9
  • 10. 10 Use Case Model - Development Steps 1. Identify the actors 2. Identify the use cases 3. Identify actor/use case relationships 4. Outline use cases 5. Refine use cases
  • 11. Use cases for the Homeowner/Programmer actor 11
  • 12. 12 3. Identify Actor/Use Case Relationships  Draw a diagram showing relationships between actors and use cases Eat food Buy food Parent Child
  • 13. 13 4. Outline Use Cases  Describe sequence of events in basic flow (sunny day scenario)  Describe sequences of events in alternate flows (rainy day scenarios)
  • 14. 4. Outline Use Cases - Questions  Basic flow:  What event starts the use case?  How does the use case end?  How does the use case repeat some behavior?  Alternate flow:  Are there optional situations in the use case?  What odd cases might happen?  What variants might happen?  What may go wrong?  What may not happen?  What kind of resources can be blocked? 14
  • 15. 15 5. Refine Use Cases  At some point later in the project lifecycle you will refine the use cases to the next and last level of detail.  At that time, there are a number of additional factors to be considered, such as: -  Describe All alternate flows, including exception conditions  Describe pre-conditions / post-conditions  Fill in special requirements
  • 16. Use Case Anatomy 16 See Appendix C for fully elaborated use-case specification template
  • 18. 18 Cook Food Use Case – Slide 1 of 4 A. Name: Cook Food B. Brief description: User places food in microwave and cooks it for desired period of time at desired power level. C. Actors: User
  • 19. 19 Cook Food Use Case – Slide 2 of 4 D. Basic flow: 1. User opens door and places food in unit 2. User enters time for cooking 3. User pushes start button 4. Unit cooks food 5. Unit beeps
  • 20. 20 Cook Food Use Case – Slide 3 of 4 E. Alternate flows 1. User cancels time before starting 2. User cancels cooking before finished 3. User selects reduced power level before pushing start button
  • 21. 21 Cook Food Use Case – Slide 4 of 4 F. Pre-conditions  Unit is plugged in  Unit is in ready state G. Post-conditions  Food is cooked or user cancelled operation H. Special requirements  Timer should display remaining time to finish while cooking  Default power setting should be "high"
  • 22. 22 Cook Food Use Case – Slide 4 of 4 F. Pre-conditions  Unit is plugged in  Unit is in ready state G. Post-conditions  Food is cooked or user cancelled operation H. Special requirements  Timer should display remaining time to finish while cooking  Default power setting should be "high"
  • 24. Key Points  For nontrivial applications, requirements must be captured and recorded in a document, database, model, or tool.  Different types of projects require different requirements organization techniques.  Complex systems require that requirements sets be developed for each subsystem. 24
  • 25. 25 Organization Techniques  Requirements can rarely be defined in a single monolithic document or in a single use-case model.  There may be no of reasons: -  The system may be very complex  The system being constructed may be a subsystem of a larger system and may satisfy only a subset of all the requirements identified  Marketing and business goals need to be separated from the detailed product requirements  Other requirements, perhaps regulatory or legal, may be required to be documented elsewhere
  • 26. 26 Organization Techniques  The system design process itself creates new classes of requirements, when subsystem are defined.
  • 27. 27 Organization Techniques  Once these requirements are agreed on, system design is performed again, if necessary, by breaking down each of the subsystems into its subsystems and developing requirements for each.
  • 28. 28 Organization Techniques  Once these requirements are agreed on, system design is performed again, if necessary, by breaking down each of the subsystems into its subsystems and developing requirements for each.
  • 29. 29 Organization Techniques  As seen, the lowest-level systems, that is, those that are not further decomposed, usually correspond to software-only or hardware-only subsystems
  • 31. Key Points  Every software project will benefit from having a Vision document.  The Vision document describes the application in general terms, including descriptions of the target market, the system users, and the application features.  The Vision document defines, at a high level of abstraction, both the problem and the solution.  The Delta Vision document focuses on what has changed 31
  • 32. Scope of Vision Document  The Vision document captures the needs of the user, the features of the system, and other common requirements for the project.  As such, the scope of the Vision document extends over the top two levels of the requirements pyramid, thereby defining at a high level of abstraction both the problem and the solution 32
  • 33. 33 Vision Document Template 1. Introduction 2. User Description 3. Product Overview 4. Feature Attributes 5. Product Features 6. Exemplary Use Cases 7. Other Product Requirements 8. Documentation Requirements 9. Glossary See the Detailed version of Vision Document from the Text
  • 34. The Delta Vision Document  Keeping the Vision document understandable and manageable is an important team skill.  To assist in this process, it is helpful to keep the Vision document as short, concise, and "to the point" as possible  However, in future releases, you may discover that it is counterproductive to repeat features that have been incorporated in prior releases  Delta Vision document, addresses these issues 34
  • 35. The Delta Vision Document 35

Editor's Notes

  • #9: Who uses the system? Who gets/provides information from/to system? Who supports and maintains the system? What other systems interact with this system? Where in the company is the system used?
  • #11: Find what are the intentions of each actor with respect to the system? Ask Fol: - What will the actor use the system for? Will the actor create, store, change, remove, or read data in the system? Will the actor need to inform the system about external events or changes? Will the actor need to be informed about certain occurrences in the system? Give a descriptive name: Start with an action verb Describes goal or intent Give a one-sentence description