SlideShare a Scribd company logo
1 of 34
Chapter 2 Software Processes
Software Process Model
Dr.G.Jasmine Beulah
Assistant Professor, Dept. Computer Science,
Kristu Jayanti College,Bengaluru.
1
Chapter 2 Software Processes
The Software Process
 A structured set of activities required to develop a
software system.
 Many different software processes but all involve:
Specification – defining what the system should do;
Design and implementation – defining the organization of the system
and implementing the system;
Validation – checking that it does what the customer wants;
Evolution – changing the system in response to changing customer
needs.
 A software process model is an abstract representation
of a process. It presents a description of a process from
some particular perspective.
3
Chapter 2 Software Processes
Software Process Descriptions
 When we describe and discuss processes, we usually
talk about the activities in these processes such as
specifying a data model, designing a user interface, etc.
and the ordering of these activities.
 Process descriptions may also include:
Products, which are the outcomes of a process activity;
Roles, which reflect the responsibilities of the people involved in
the process;
Pre- and post-conditions, which are statements that are true
before and after a process activity has been enacted or a product
produced.
4
Chapter 2 Software Processes
Plan-driven and Agile Processes
a.k.a. Heavy-Weight versus Light-Weight Models
 Plan-driven processes are processes where all of the
process activities are planned in advance and progress is
measured against this plan.
Plan drives everything!
 In Agile Processes planning is incremental and it is
easier to change the process to reflect changing
customer requirements.
 In practice, most practical processes include
elements of both plan-driven and agile.
 There are no right or wrong software processes.
5
Software Development Life Cycle (SDLC)
 A software life cycle model (also termed process model) is a pictorial
and diagrammatic representation of the software life cycle.
 A life cycle model represents all the methods required to make a
software product transit through its life cycle stages.
 It also captures the structure in which these methods are to be
undertaken.
SDLC Cycle
SDLC Models
Chapter 2 Software Processes
Software Process Models - heavyweight model
 Example: The Waterfall Model
Plan-driven model.
Separate and distinct phases of specification and development.
Heavily oriented toward documentation (documentation-intensive)
Progress often measured thru documentation completion and
reviews (many)
Garnett charts
Lockstep approach
Little chance for Change!
Oftentimes discover major flaws too late.
Delivered as Big Bang
Still exists in spades – but modified to a degree.
6
Chapter 2 Software Processes
The Waterfall Model
8
Notice the feedback loops
Chapter 2 Software Processes
Waterfall Model Phases
 There are separate identified phases in the waterfall
model:
Requirements analysis and definition
System and software design
Implementation and unit testing
Integration and system testing
Operation and maintenance
 The main drawback of the waterfall model is the
difficulty of accommodating change after the process is
underway. In principle, a phase has to be complete
before moving onto the next phase.
 But many issues are true too, such as risk addressing.
9
Chapter 2 Software Processes
Waterfall Model Problems
 Inflexible partitioning of the project into distinct stages
makes it difficult to respond to changing customer
requirements.
Therefore, this model is only appropriate when the requirements
are well-understood and changes will be fairly limited during
the design process.
Few business systems have stable requirements.
 The waterfall model is mostly used for large systems
engineering projects where a system is developed at
several sites.
In those circumstances, the plan-driven nature of the waterfall
model helps coordinate the work.
10
Prototype Model
 The prototype model requires that before carrying out the
development of actual software, a working prototype of the system
should be built.
 A prototype is a toy implementation of the system.
 A prototype usually turns out to be a very crude version of the actual
system, possible exhibiting limited functional capabilities, low
reliability, and inefficient performance as compared to actual
software.
 In many instances, the client only has a general view of what is
expected from the software product.
 In such a scenario where there is an absence of detailed information
regarding the input to the system, the processing needs, and the
output requirement, the prototyping model may be employed.
Steps of Prototype Model
1. Requirement Gathering and Analyst
2. Quick Decision
3. Build a Prototype
4. Assessment or User Evaluation
5. Prototype Refinement
6. Engineer Product
Advantage of Prototype Model
1. Reduce the risk of incorrect user requirement
2. Good where requirement are changing/uncommitted
3. Regular visible process aids management
4. Support early product marketing
5. Reduce Maintenance cost.
6. Errors can be detected much earlier as the system is
made side by side.
Disadvantage of Prototype Model
 An unstable/badly implemented prototype often becomes the final
product.
 Require extensive customer collaboration
Costs customer money
Needs committed customer
Difficult to finish if customer withdraw
May be too customer specific, no broad market
 Difficult to know how long the project will last.
 Easy to fall back into the code and fix without proper requirement
analysis, design, customer evaluation, and feedback.
 Prototyping tools are expensive.
 Special tools & techniques are required to build a prototype.
 It is a time-consuming process.
Chapter 2 Software Processes
Boehm’s Spiral Model - heavyweight model
 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.
 No fixed phases such as specification or design - loops in
the spiral are chosen depending on what is required.
 Risks are explicitly assessed and resolved throughout the
process.
 This was the motivation behind developing the Spiral Model - Risk
11
Chapter 2 Software Processes
Boehm’s Spiral Model of the Software Process
12
Chapter 2 Software Processes
Spiral Model Sectors
 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. Development takes place.
 Planning
The project is reviewed and the next phase of the spiral is
planned.
13
Chapter 2 Software Processes
Spiral Model Usage
 Spiral model has been very influential in helping people
think about iteration in software processes and
introducing the risk-driven approach to development.
 In practice, however, the model is rarely used as
published for practical software development.
14
Great Dissatisfaction with Heavy-
Weight Models
Delivered late,
over budget,
Failure to meet functional and non-functional requirements,
not responsive to change,
poor assessment of risk, ....
Discovery of major problems late….
Thinking about Process…..
Want to refine the way we develop systems
Hierarchy:
Successful, Challenged; Failed
Few systems totally successful
Many ‘challenged’
Too many failures
Many famous practitioners starting at Process in more detail
How can we do better?
Chapter 2 Software Processes
Process Activities
 Real software processes are inter-leaved sequences of
technical, collaborative and managerial activities with the
overall goal of specifying, designing, implementing and testing
a software system.
 The four basic process activities (specified in your book) of
specification, development, validation and evolution are
organized differently in different development processes.
 In the waterfall model, they are organized in sequence,
whereas in incremental development they are inter-leaved.
16
Chapter 2 Software Processes
Software Specification
 Is: The process of establishing what services are required and
the constraints on the system’s operation and development.
 Requirements Engineering Process
Feasibility study
• Is it technically and financially feasible to build the system?
• ROI, product Vision, what market share are we after? Urgency of development?
Requirements elicitation and analysis
• What do the system stakeholders require or expect from the system?
• Recognition that the client must be satisfied. Have checkbook.
Requirements Specification
• Defining the requirements in detail. These are the ‘whats’ of a system!!!
Requirements Validation
• Checking the validity of the requirements
• Are they feasible, testable, sufficient, necessary, ...
17
Chapter 2 Software Processes
The Requirements Engineering Process
18
Chapter 2 Software Processes
Software Design and Implementation
 The process of converting the system specification into
an executable system.
 Software Design (inputs: specifications)
Design a software structure that realizes the specification;
 Implementation
Translate this model / structure into an executable app;
Programming is the implementation of the design.
 The activities of design and implementation are closely
related and may be inter-leaved and definitely are using
many modern development processes. (more to come)
19
Chapter 2 Software Processes
A General Model of the Design Process
20
Chapter 2 Software Processes
Design Activities
 Architectural design, where one identifies the overall structure of
the system, the principal components (sometimes called sub-
systems or modules or layers, etc…), their relationships and how
they are distributed.
Example: Such as Model View Controller (MVC )pattern; others.
 Interface design, where one defines the interfaces between system
components. (interface to controller; controller to database; external
device (sensor) to analyzer…)
 Recognize that to the end user, the UI is the application.
 Component design, where one takes each system component and
design how it will operate.
 This is what we are often used to
 Database design, where one designs the system data structures and
how these are to be represented in a database.
21
Chapter 2 Software Processes
Software Validation
 Verification and validation (V & V) is intended to show
that a system conforms to its specification and meets the
requirements of the system customer.
Look up the difference between verification and
validation. Be able to explain clearly.
 Involves checking and review processes and system
testing.
 System testing involves executing the system with test
cases that are derived from the specification of the real
data to be processed by the system.
 Testing is the most commonly used V & V activity.
22
Chapter 2 Software Processes
Stages of Testing
23
What does this mean??
Chapter 2 Software Processes
Testing Stages
 Development or component testing. (Unit testing)
Individual components are tested independently;
Components may be functions or objects or coherent groupings of
these entities.
 System testing
Testing of the system as a whole. Testing of emergent properties
is particularly important.
 Acceptance testing
Testing with customer data to check that the system meets the
customer’s needs
Some models have various other kinds of testing; subsystem testing,
integrated system testing, and much more.
24
Chapter 2 Software Processes
Testing Phases in a Plan-driven Software Process
25
Chapter 2 Software Processes
Software Evolution
 Software is inherently flexible and can change.
 As requirements change through changing business
circumstances, the software that supports the business
must also evolve and change.
 Although there has been a demarcation between
development and evolution (maintenance) this is
increasingly irrelevant as fewer and fewer systems are
completely new (greenfield).
26
Chapter 2 Software Processes
Key points
• Understand the principles of software engineering
• Understand what we mean by a software process
• Note the two major classifications of processes and note also
that there are numerous hybrid classifications within these.
• Software processes are the activities involved in producing a
software system.
• Software process models are abstract representations of these
processes.
33
Chapter 2 Software Processes
Key points
• Requirements engineering is the process of developing a
software specification.
• Design and implementation processes are concerned
with transforming a requirements specification into an
executable software system.
• Software validation is the process of checking that the
system conforms to its specification and that it meets the
real needs of the users of the system.
• Software evolution takes place when you change existing
software systems to meet new requirements. The
software must evolve to remain useful.
34

More Related Content

Similar to Software Process Model.ppt

Ch2-Software Engineering 9
Ch2-Software Engineering 9Ch2-Software Engineering 9
Ch2-Software Engineering 9Ian Sommerville
 
Ian Sommerville, Software Engineering, 9th Edition Ch2
Ian Sommerville,  Software Engineering, 9th Edition Ch2Ian Sommerville,  Software Engineering, 9th Edition Ch2
Ian Sommerville, Software Engineering, 9th Edition Ch2Mohammed Romi
 
ISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptHumzaWaris1
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )eshtiyak
 
Lesson 2 introduction in computing
Lesson 2 introduction in computingLesson 2 introduction in computing
Lesson 2 introduction in computingProfessor Thor
 
software development life cycle(SDLC)
software development life cycle(SDLC)software development life cycle(SDLC)
software development life cycle(SDLC)sanoop s
 
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJK
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJKunit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJK
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJKAvijitChaudhuri3
 
61f4fc87-9977-4003-baf8-37f13200977b.pptx
61f4fc87-9977-4003-baf8-37f13200977b.pptx61f4fc87-9977-4003-baf8-37f13200977b.pptx
61f4fc87-9977-4003-baf8-37f13200977b.pptxSuhleemAhmd
 
Ch 02 s.e software process models 1
Ch 02 s.e software process models   1Ch 02 s.e software process models   1
Ch 02 s.e software process models 1Badar Waseer
 
Chapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfChapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfVikasRai405977
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLESwarnima Tiwari
 

Similar to Software Process Model.ppt (20)

Ch2-Software Engineering 9
Ch2-Software Engineering 9Ch2-Software Engineering 9
Ch2-Software Engineering 9
 
Ch2-2.pptx
Ch2-2.pptxCh2-2.pptx
Ch2-2.pptx
 
Ian Sommerville, Software Engineering, 9th Edition Ch2
Ian Sommerville,  Software Engineering, 9th Edition Ch2Ian Sommerville,  Software Engineering, 9th Edition Ch2
Ian Sommerville, Software Engineering, 9th Edition Ch2
 
ISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.ppt
 
Ch2
Ch2Ch2
Ch2
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 
Lesson 2 introduction in computing
Lesson 2 introduction in computingLesson 2 introduction in computing
Lesson 2 introduction in computing
 
Software Maintenance
Software MaintenanceSoftware Maintenance
Software Maintenance
 
software development life cycle(SDLC)
software development life cycle(SDLC)software development life cycle(SDLC)
software development life cycle(SDLC)
 
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJK
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJKunit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJK
unit2.pdfJgkcGkgcjkGKCJGgscdGSADKJgjsdkgKJAGSDJK
 
61f4fc87-9977-4003-baf8-37f13200977b.pptx
61f4fc87-9977-4003-baf8-37f13200977b.pptx61f4fc87-9977-4003-baf8-37f13200977b.pptx
61f4fc87-9977-4003-baf8-37f13200977b.pptx
 
Ch 02 s.e software process models 1
Ch 02 s.e software process models   1Ch 02 s.e software process models   1
Ch 02 s.e software process models 1
 
Chapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfChapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdf
 
SE-03.pptx
SE-03.pptxSE-03.pptx
SE-03.pptx
 
Sdpl1
Sdpl1Sdpl1
Sdpl1
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
SE-Lecture-2.pptx
SE-Lecture-2.pptxSE-Lecture-2.pptx
SE-Lecture-2.pptx
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 
SDLC
SDLCSDLC
SDLC
 
2-models.pptx
2-models.pptx2-models.pptx
2-models.pptx
 

More from DrJasmineBeulahG

More from DrJasmineBeulahG (9)

File Handling in C.pptx
File Handling in C.pptxFile Handling in C.pptx
File Handling in C.pptx
 
Constants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptxConstants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptx
 
Software Testing.pptx
Software Testing.pptxSoftware Testing.pptx
Software Testing.pptx
 
NumPy.pptx
NumPy.pptxNumPy.pptx
NumPy.pptx
 
Exception Handling in Python
Exception Handling in PythonException Handling in Python
Exception Handling in Python
 
STUDENT DETAILS DATABASE.pptx
STUDENT DETAILS DATABASE.pptxSTUDENT DETAILS DATABASE.pptx
STUDENT DETAILS DATABASE.pptx
 
Selection Sort.pptx
Selection Sort.pptxSelection Sort.pptx
Selection Sort.pptx
 
Structures
StructuresStructures
Structures
 
Arrays
ArraysArrays
Arrays
 

Recently uploaded

How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxakanksha16arora
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Recently uploaded (20)

How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

Software Process Model.ppt

  • 1. Chapter 2 Software Processes Software Process Model Dr.G.Jasmine Beulah Assistant Professor, Dept. Computer Science, Kristu Jayanti College,Bengaluru. 1
  • 2. Chapter 2 Software Processes The Software Process  A structured set of activities required to develop a software system.  Many different software processes but all involve: Specification – defining what the system should do; Design and implementation – defining the organization of the system and implementing the system; Validation – checking that it does what the customer wants; Evolution – changing the system in response to changing customer needs.  A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective. 3
  • 3. Chapter 2 Software Processes Software Process Descriptions  When we describe and discuss processes, we usually talk about the activities in these processes such as specifying a data model, designing a user interface, etc. and the ordering of these activities.  Process descriptions may also include: Products, which are the outcomes of a process activity; Roles, which reflect the responsibilities of the people involved in the process; Pre- and post-conditions, which are statements that are true before and after a process activity has been enacted or a product produced. 4
  • 4. Chapter 2 Software Processes Plan-driven and Agile Processes a.k.a. Heavy-Weight versus Light-Weight Models  Plan-driven processes are processes where all of the process activities are planned in advance and progress is measured against this plan. Plan drives everything!  In Agile Processes planning is incremental and it is easier to change the process to reflect changing customer requirements.  In practice, most practical processes include elements of both plan-driven and agile.  There are no right or wrong software processes. 5
  • 5. Software Development Life Cycle (SDLC)  A software life cycle model (also termed process model) is a pictorial and diagrammatic representation of the software life cycle.  A life cycle model represents all the methods required to make a software product transit through its life cycle stages.  It also captures the structure in which these methods are to be undertaken.
  • 8. Chapter 2 Software Processes Software Process Models - heavyweight model  Example: The Waterfall Model Plan-driven model. Separate and distinct phases of specification and development. Heavily oriented toward documentation (documentation-intensive) Progress often measured thru documentation completion and reviews (many) Garnett charts Lockstep approach Little chance for Change! Oftentimes discover major flaws too late. Delivered as Big Bang Still exists in spades – but modified to a degree. 6
  • 9. Chapter 2 Software Processes The Waterfall Model 8 Notice the feedback loops
  • 10. Chapter 2 Software Processes Waterfall Model Phases  There are separate identified phases in the waterfall model: Requirements analysis and definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance  The main drawback of the waterfall model is the difficulty of accommodating change after the process is underway. In principle, a phase has to be complete before moving onto the next phase.  But many issues are true too, such as risk addressing. 9
  • 11. Chapter 2 Software Processes Waterfall Model Problems  Inflexible partitioning of the project into distinct stages makes it difficult to respond to changing customer requirements. Therefore, this model is only appropriate when the requirements are well-understood and changes will be fairly limited during the design process. Few business systems have stable requirements.  The waterfall model is mostly used for large systems engineering projects where a system is developed at several sites. In those circumstances, the plan-driven nature of the waterfall model helps coordinate the work. 10
  • 12. Prototype Model  The prototype model requires that before carrying out the development of actual software, a working prototype of the system should be built.  A prototype is a toy implementation of the system.  A prototype usually turns out to be a very crude version of the actual system, possible exhibiting limited functional capabilities, low reliability, and inefficient performance as compared to actual software.  In many instances, the client only has a general view of what is expected from the software product.  In such a scenario where there is an absence of detailed information regarding the input to the system, the processing needs, and the output requirement, the prototyping model may be employed.
  • 13.
  • 14. Steps of Prototype Model 1. Requirement Gathering and Analyst 2. Quick Decision 3. Build a Prototype 4. Assessment or User Evaluation 5. Prototype Refinement 6. Engineer Product
  • 15. Advantage of Prototype Model 1. Reduce the risk of incorrect user requirement 2. Good where requirement are changing/uncommitted 3. Regular visible process aids management 4. Support early product marketing 5. Reduce Maintenance cost. 6. Errors can be detected much earlier as the system is made side by side.
  • 16. Disadvantage of Prototype Model  An unstable/badly implemented prototype often becomes the final product.  Require extensive customer collaboration Costs customer money Needs committed customer Difficult to finish if customer withdraw May be too customer specific, no broad market  Difficult to know how long the project will last.  Easy to fall back into the code and fix without proper requirement analysis, design, customer evaluation, and feedback.  Prototyping tools are expensive.  Special tools & techniques are required to build a prototype.  It is a time-consuming process.
  • 17. Chapter 2 Software Processes Boehm’s Spiral Model - heavyweight model  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.  No fixed phases such as specification or design - loops in the spiral are chosen depending on what is required.  Risks are explicitly assessed and resolved throughout the process.  This was the motivation behind developing the Spiral Model - Risk 11
  • 18. Chapter 2 Software Processes Boehm’s Spiral Model of the Software Process 12
  • 19. Chapter 2 Software Processes Spiral Model Sectors  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. Development takes place.  Planning The project is reviewed and the next phase of the spiral is planned. 13
  • 20. Chapter 2 Software Processes Spiral Model Usage  Spiral model has been very influential in helping people think about iteration in software processes and introducing the risk-driven approach to development.  In practice, however, the model is rarely used as published for practical software development. 14
  • 21. Great Dissatisfaction with Heavy- Weight Models Delivered late, over budget, Failure to meet functional and non-functional requirements, not responsive to change, poor assessment of risk, .... Discovery of major problems late…. Thinking about Process….. Want to refine the way we develop systems Hierarchy: Successful, Challenged; Failed Few systems totally successful Many ‘challenged’ Too many failures Many famous practitioners starting at Process in more detail How can we do better?
  • 22. Chapter 2 Software Processes Process Activities  Real software processes are inter-leaved sequences of technical, collaborative and managerial activities with the overall goal of specifying, designing, implementing and testing a software system.  The four basic process activities (specified in your book) of specification, development, validation and evolution are organized differently in different development processes.  In the waterfall model, they are organized in sequence, whereas in incremental development they are inter-leaved. 16
  • 23. Chapter 2 Software Processes Software Specification  Is: The process of establishing what services are required and the constraints on the system’s operation and development.  Requirements Engineering Process Feasibility study • Is it technically and financially feasible to build the system? • ROI, product Vision, what market share are we after? Urgency of development? Requirements elicitation and analysis • What do the system stakeholders require or expect from the system? • Recognition that the client must be satisfied. Have checkbook. Requirements Specification • Defining the requirements in detail. These are the ‘whats’ of a system!!! Requirements Validation • Checking the validity of the requirements • Are they feasible, testable, sufficient, necessary, ... 17
  • 24. Chapter 2 Software Processes The Requirements Engineering Process 18
  • 25. Chapter 2 Software Processes Software Design and Implementation  The process of converting the system specification into an executable system.  Software Design (inputs: specifications) Design a software structure that realizes the specification;  Implementation Translate this model / structure into an executable app; Programming is the implementation of the design.  The activities of design and implementation are closely related and may be inter-leaved and definitely are using many modern development processes. (more to come) 19
  • 26. Chapter 2 Software Processes A General Model of the Design Process 20
  • 27. Chapter 2 Software Processes Design Activities  Architectural design, where one identifies the overall structure of the system, the principal components (sometimes called sub- systems or modules or layers, etc…), their relationships and how they are distributed. Example: Such as Model View Controller (MVC )pattern; others.  Interface design, where one defines the interfaces between system components. (interface to controller; controller to database; external device (sensor) to analyzer…)  Recognize that to the end user, the UI is the application.  Component design, where one takes each system component and design how it will operate.  This is what we are often used to  Database design, where one designs the system data structures and how these are to be represented in a database. 21
  • 28. Chapter 2 Software Processes Software Validation  Verification and validation (V & V) is intended to show that a system conforms to its specification and meets the requirements of the system customer. Look up the difference between verification and validation. Be able to explain clearly.  Involves checking and review processes and system testing.  System testing involves executing the system with test cases that are derived from the specification of the real data to be processed by the system.  Testing is the most commonly used V & V activity. 22
  • 29. Chapter 2 Software Processes Stages of Testing 23 What does this mean??
  • 30. Chapter 2 Software Processes Testing Stages  Development or component testing. (Unit testing) Individual components are tested independently; Components may be functions or objects or coherent groupings of these entities.  System testing Testing of the system as a whole. Testing of emergent properties is particularly important.  Acceptance testing Testing with customer data to check that the system meets the customer’s needs Some models have various other kinds of testing; subsystem testing, integrated system testing, and much more. 24
  • 31. Chapter 2 Software Processes Testing Phases in a Plan-driven Software Process 25
  • 32. Chapter 2 Software Processes Software Evolution  Software is inherently flexible and can change.  As requirements change through changing business circumstances, the software that supports the business must also evolve and change.  Although there has been a demarcation between development and evolution (maintenance) this is increasingly irrelevant as fewer and fewer systems are completely new (greenfield). 26
  • 33. Chapter 2 Software Processes Key points • Understand the principles of software engineering • Understand what we mean by a software process • Note the two major classifications of processes and note also that there are numerous hybrid classifications within these. • Software processes are the activities involved in producing a software system. • Software process models are abstract representations of these processes. 33
  • 34. Chapter 2 Software Processes Key points • Requirements engineering is the process of developing a software specification. • Design and implementation processes are concerned with transforming a requirements specification into an executable software system. • Software validation is the process of checking that the system conforms to its specification and that it meets the real needs of the users of the system. • Software evolution takes place when you change existing software systems to meet new requirements. The software must evolve to remain useful. 34