chapter 2 sw process models
DESCRIPTION
Chapter 2 SW Process Models. Objectives. Understand various process models Understand the pros and cons of each model Evaluate the applicability of each model for a certain type of software development. Overview. Why SW process models? What are SW process models? The waterfall model - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/1.jpg)
1
Chapter 2 SW Process Models
![Page 2: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/2.jpg)
2
Objectives Understand various process models Understand the pros and cons of each model Evaluate the applicability of each model for a
certain type of software development
![Page 3: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/3.jpg)
Overview Why SW process models? What are SW process models? The waterfall model Evolutionary models The Spiral CBSE Which is best?
3
![Page 4: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/4.jpg)
4
Why SW process models? Some problems with ad-hoc development
Difficult to distinguish between tasks and therefore some important tasks may be ignored
Problem if multiple people are involved, as it is not easy to review their work.
If problems are found late, the more costly it is to fix.
Division of work Helps in managing the process
![Page 5: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/5.jpg)
5
What is it? A SW process is a structured set of activities
required to develop a software system Specification; Design and Implementation; Validation; Evolution.
A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective.
May take months or years to complete.
![Page 6: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/6.jpg)
6
SW Process Models Waterfall model
Separate and distinct phases of specification and development. Evolutionary models
Specification, development and validation are interleaved. Exploratory development The incremental model The prototyping model The spiral model
Component-based development model The system is assembled from existing components
![Page 7: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/7.jpg)
7
The Waterfall Model Oldest model Called “linear sequential model” Most widely used model for SW engineering Documentation is produced at each stage.
![Page 8: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/8.jpg)
8
The Waterfall model phases Requirements analysis and definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance
![Page 9: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/9.jpg)
9
The Waterfall model
Requirements
definition
System andsoftware design
Implementationand unit testing
Integration andsystem testing
Operation and
maintenance
![Page 10: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/10.jpg)
10
The Waterfall model Disadvantages Inflexible partitioning of the project into
distinct stages makes it difficult to respond to changing customer requirements.
Only appropriate when the requirements are well-understood and changes will be fairly limited during the design process.
The waterfall model is mostly used for large systems engineering projects.
![Page 11: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/11.jpg)
11
Evolutionary Models The Exploratory Model
Objective is to work with customers and to evolve a final system from an initial outline specification. Should start with well-understood requirements and add new features as proposed by the customer.
The Incremental Model Rather than deliver the system as a single delivery, the
development and delivery is broken down into increments with each increment delivering part of the required functionality.
The Prototyping Model Objective is to understand the system requirements. Should start with
poorly understood requirements to clarify what is really needed. The Spiral Model
Process is represented as a spiral rather than as a sequence of activities with backtracking
![Page 12: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/12.jpg)
12
The Exploratory ModelConcurrentactivities
ValidationFinal
version
DevelopmentIntermediate
versions
SpecificationInitial
version
Outlinedescription
![Page 13: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/13.jpg)
13
The Exploratory Model Problems
Lack of process visibility; Systems are often poorly structured;
Applicability For small or medium-size interactive systems; For parts of large systems (e.g. the user
interface); For short-lifetime systems.
![Page 14: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/14.jpg)
14
The Incremental Model User requirements are prioritised and the
highest priority requirements are included in early increments.
Once the development of an increment is started, the requirements are frozen though requirements for later increments can continue to evolve.
![Page 15: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/15.jpg)
15
The Incremental Model
Validateincrement
Develop systemincrement
Design systemarchitecture
Integrateincrement
Validatesystem
Define outline requirements
Assign requirements to increments
System incomplete
Finalsystem
![Page 16: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/16.jpg)
16
The Incremental Model- Advantages Customer value can be delivered with each
increment so system functionality is available earlier.
Early increments act as a prototype to help elicit requirements for later increments.
Lower risk of overall project failure. The highest priority system services tend to
receive the most testing.
![Page 17: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/17.jpg)
17
The Incremental Model- Disadvantages Increments should be relatively small (20,000
lines of code) Can be difficult to map the customer’s
requirements onto increments of the right size Hard to identify common functions
![Page 18: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/18.jpg)
18
The Prototyping Model When a customer defines a set of general
objectives for a software but does not identify detailed input, processing, or output requirement.
It consists of the iterating phases: Requirements gathering Design and build SW prototype Evaluate prototype with customer Refine requirements
![Page 19: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/19.jpg)
19
The Prototyping Model
Build/ revise prototype
Customer test drives prototype
Listen to customer
![Page 20: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/20.jpg)
20
The Prototyping Model Advantages
Users get a feel for the actual system Developers get to build something immediately Specifications can be developed incrementally
Disadvantages The developer may make implementation compromises in
order to get a prototype working quickly. The process in not visible (few documents that reflect
every version of the system) Systems poorly structured
![Page 21: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/21.jpg)
21
The Spiral Model Defined by Barry Boehm in his 1988 article A Spiral
Model of Software Development and Enhancement. Process is represented as a spiral rather than as a
sequence of activities with backtracking. Each loop in the spiral represents a phase in the
process. Suitable for large, expensive and complicated
projects
![Page 22: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/22.jpg)
22
The Spiral Model
Riskanalysis
Riskanalysis
Riskanalysis
Riskanalysis Proto-
type 1
Prototype 2
Prototype 3Opera-tionalprotoype
Concept ofOperation
Simulations, models, benchmarks
S/Wrequirements
Requirementvalidation
DesignV&V
Productdesign Detailed
design
Code
Unit test
IntegrationtestAcceptance
testService Develop, verifynext-level product
Evaluate alternatives,identify, resolve risks
Determine objectives,alternatives and
constraints
Plan next phase
Integrationand test plan
Developmentplan
Requirements planLife-cycle plan
REVIEW
![Page 23: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/23.jpg)
23
The Spiral Model Objective setting
Specific objectives for the phase are identified. Risk assessment and reduction
Risks are assessed and activities put in place to reduce the key risks.
Development and validation A development model for the system is chosen which can be
any of the generic models. Planning
The project is reviewed and the next phase of the spiral is planned.
![Page 24: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/24.jpg)
The Spiral Model Risk driven process model
Different risk patterns can lead to choosing different process models
What is a risk? Situations or possible events that may cause a project to fail to
meet its goal. Example risks:
Experienced staff leave the project Hardware which is essential for the system will not be delivered on
schedule
(more about risks in Chapter 3)24
![Page 25: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/25.jpg)
The Spiral Model- Advantages Risks are explicitly assessed and resolved
throughout the process. Software engineers can start working on the
project earlier rather than wading through a lengthy early design process.
25
![Page 26: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/26.jpg)
The Spiral Model- Disadvantages Requires highly skilled people in risk analysis
and planning Requires more time, and is more expensive Estimates of budget and time are harder to
judge at the beginning of the project since the requirements evolve through the process
26
![Page 27: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/27.jpg)
27
Component Based Software Engineering (CBSE) Based on systematic reuse where systems are
integrated from existing components or COTS (Commercial-off-the-shelf) systems.
Process stages Component analysis; Requirements modification; System design with reuse; Development and integration.
This approach is becoming increasingly used as component standards have emerged.
![Page 28: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/28.jpg)
28
Component Based Software Engineering (CBSE)
Requirementsspecification
Componentanalysis
Developmentand integration
System designwith reuse
Requirementsmodification
Systemvalidation
![Page 29: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/29.jpg)
29
Component Based Software Engineering (CBSE) Advantages:
Reduce amount of software to be developed Reduce costs and risks Faster delivery
Disadvantages: Requirements compromises, system does not
meet real needs of users Control over system evolution is lost
![Page 30: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/30.jpg)
Which model is best? The choice of a model depends on the project
circumstances and requirements. A combination of models is used sometimes get the
benefits of more than one model. Criteria for evaluating models:
Risk management Quality / cost control Visibility of progress Early system functionality Customer involvement and feedback
30
![Page 31: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/31.jpg)
31
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management
QualityCost Control
System Functionality
Visibility of Progress
Customer Involvement
![Page 32: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/32.jpg)
32
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management22152QualityCost Control
System Functionality
Visibility of Progress
Customer Involvement
![Page 33: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/33.jpg)
33
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management22152QualityCost Control43253System Functionality
Visibility of Progress
Customer Involvement
![Page 34: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/34.jpg)
34
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management22152QualityCost Control43253System Functionality15443Visibility of Progress
Customer Involvement
![Page 35: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/35.jpg)
35
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management22152QualityCost Control43253System Functionality15443Visibility of Progress54243Customer Involvement
![Page 36: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/36.jpg)
36
Model/Criteria Matrix Rate each model 1-5 in each of the categories shown:
WaterfallIncrementalPrototypingSpiralCBSE
Risk Management22152QualityCost Control43253System Functionality15443Visibility of Progress54243Customer Involvement24532
![Page 37: Chapter 2 SW Process Models](https://reader034.vdocuments.us/reader034/viewer/2022050909/56814f37550346895dbcd661/html5/thumbnails/37.jpg)
Assignment 1 Please check the weblog and download
Assignment 1.
37