SlideShare a Scribd company logo
1
Shari L. Pledger and Joanne M. Atlee (2014): Software Engineering: Theory and Practice, 4th Edition
Modeling the
Process and Life
Cycle
Chapter 2
Abdisalam Issa-Salwe
Department of Computer Science
Faculty of Information Science and Technology
East Africa University
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
Contents
2.1 The Meaning of Process
2.2 Software Process Models
2.3 Tools and Techniques for Process
Modeling
2.4 Practical Process Modeling
2.5 Information System Example
2.6 What this Chapter Means for You
2
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
Chapter 2 Objectives
 What we mean by a “process”
 Software development products,
processes, and resources
 Several models of the software
development process
 Tools and techniques for process
modeling
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.1 The Meaning of Process
 A process: a series of steps involving activities,
constrains, and resources that produce an
intended output of some kind
 A process involves a set of tools and techniques
3
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.1 The Meaning of Process
Process Characteristics
 Prescribes all major process activities
 Uses resources, subject to set of constraints (such as
schedule)
 Produces intermediate and final products
 May be composed of subprocesses with hierarchy or
links
 Each process activity has entry and exit criteria
 Activities are organized in sequence, so timing is clear
 Each process guiding principles, including goals of
each activity
 Constraints may apply to an activity, resource or
product
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.1 The Meaning of Process
The Importance of Processes
 Impose consistency and structure on a set
of activities
 Guide us to understand, control, examine,
and improve the activities
 Enable us to capture our experiences and
pass them along
4
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Reasons for Modeling a Process
 To form a common understanding
 To find inconsistencies, redundancies,
omissions
 To find and evaluate appropriate activities for
reaching process goals
 To tailor a general process for a particular
situation in which it will be used
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Software Life Cycle
 When a process involves building a software, the
process may be referred to as software life cycle
Requirements analysis and definition
System (architecture) design
Program (detailed/procedural) design
Writing programs (coding/implementation)
Testing: unit, integration, system
System delivery (deployment)
Maintenance
5
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Software Development Process Models
 Waterfall model
 V model
 Prototyping model
 Operational specification
 Transformational model
 Phased development: increments and iteration
 Spiral model
 Agile methods
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Waterfall Model
 One of the first process development models
proposed
 Works for well understood problems with
minimal or no changes in the requirements
 Simple and easy to explain to customers
 It presents
a very high-level view of the development
process
sequence of process activities
 Each major phase is marked by milestones and
deliverables (artifacts)
6
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Waterfall Model (continued)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Waterfall Model (continued)
 There is no iteration in waterfall model
 Most software developments apply a great many
iterations
7
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Sidebar 2.1 Drawbacks of The Waterfall Model
 Provides no guidance how to handle changes to
products and activities during development
(assumes requirements can be frozen)
 Views software development as manufacturing
process rather than as creative process
 There is no iterative activities that lead to
creating a final product
 Long wait before a final product
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Waterfall Model with Prototype
 A prototype is a partially developed product
 Prototyping helps
developers assess alternative design
strategies (design prototype)
users understand what the system will be like
(user interface prototype)
 Prototyping is useful for verification and
validation
8
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Waterfall Model with Prototype (continued)
 Waterfall model with prototyping
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
V Model
 A variation of the waterfall model
 Uses unit testing to verify procedural design
 Uses integration testing to verify architectural
(system) design
 Uses acceptance testing to validate the
requirements
 If problems are found during verification and
validation, the left side of the V can be re-
executed before testing on the right side is re-
enacted
9
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
V Model (continued)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Prototyping Model
 Allows repeated investigation of the
requirements or design
 Reduces risk and uncertainty in the
development
10
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Operational Specification Model
 Requirements are executed (examined) and
their implication evaluated early in the
development process
 Functionality and the design are allowed to be
merged
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Transformational Model
 Fewer major development steps
 Applies a series of transformations to change a
specification into a deliverable system
Change data representation
Select algorithms
Optimize
Compile
 Relies on formalism
 Requires formal specification (to allow
transformations)
11
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Transformational Model (continued)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Phased Development: Increments and Iterations
 Shorter cycle time
 System delivered in pieces
enables customers to have some functionality
while the rest is being developed
 Allows two systems functioning in parallel
the production system (release n): currently
being used
the development system (release n+1): the
next version
12
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Phased Development: Increments and Iterations
(continued)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Phased Development: Increments and Iterations
(continued)
 Incremental development: starts with small functional
subsystem and adds functionality with each new release
 Iterative development: starts with full system, then
changes functionality of each subsystem with each new
release
13
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Phased Development: Increments and Iterations
(continued)
 Phased development is desirable for several
reasons
Training can begin early, even though some
functions are missing
Markets can be created early for functionality
that has never before been offered
Frequent releases allow developers to fix
unanticipated problems globally and quickly
The development team can focus on different
areas of expertise with different releases
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Spiral Model
 Suggested by Boehm (1988)
 Combines development activities with risk
management to minimize and control risks
 The model is presented as a spiral in which
each iteration is represented by a circuit around
four major activities
Plan
Determine goals, alternatives and constraints
Evaluate alternatives and risks
Develop and test
14
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Spiral Model (continued)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Agile Methods
 Emphasis on flexibility in producing software quickly and
capably
 Agile manifesto
 Value individuals and interactions over process and
tools
 Prefer to invest time in producing working software
rather than in producing comprehensive documentation
 Focus on customer collaboration rather than contract
negotiation
 Concentrate on responding to change rather than on
creating a plan and then following it
15
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Agile Methods: Examples of Agile Process
 Extreme programming (XP)
 Crystal: a collection of approaches based on the
notion that every project needs a unique set of
policies and conventions
 Scrum: 30-day iterations; multiple self-
organizing teams; daily “scrum” coordination
 Adaptive software development (ASD)
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Agile Methods: Extreme Programming
 Emphasis on four characteristics of agility
Communication: continual interchange
between customers and developers
Simplicity: select the simplest design or
implementation
Courage: commitment to delivering
functionality early and often
Feedback: loops built into the various
activities during the development process
16
2.2 Software Process Models
Agile Methods: Twelve Facets of XP
 The planning game
(customer defines value)
 Small release
 Metaphor (common vision,
common names)
 Simple design
 Writing tests first
 Refactoring
 Pair programming
 Collective ownership
 Continuous integration
(small increments)
 Sustainable pace (40
hours/week)
 On-site customer
 Coding standard
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Sidebar 2.2 When Extreme is Too Extreme?
 Extreme programming's practices are
interdependent
A vulnerability if one of them is modified
 Requirements expressed as a set of test
cases must be passed by the software
System passes the tests but is not what the
customer is paying for
 Refactoring issue
Difficult to rework a system without degrading
its architecture
17
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.2 Software Process Models
Sidebar 2.3 Collections of Process Models
 Development process is a problem-solving activity
 Curtis, Krasner, and Iscoe (1988) performed a field
study to determine which problem-solving factors
to captured in process model
 The results suggest a layered behavioral model as
supplement to the traditional model
 Process model should not only describe series of
tasks, but also should detail factors that contribute
to a project's inherent uncertainty and risk
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
 Notation depends on what we want to
capture in the model
 The two major notation categories
Static model: depicts the process
Dynamic model: enacts the process
2.3 Tools and Techniques for Process
Modeling
18
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
• Element of a process are viewed in terms of
seven types
– Activity
– Sequence
– Process model
– Resource
– Control
– Policy
– Organization
• Several templates, such as an Artifact Definition
Template
2.3 Tools and Techniques for Process Modeling
Static Modeling: Lai Notation
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.3 Tools and Techniques for Process Modeling
Static Modeling: Lai Notation (continued)
 The process of starting a car
19
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.3 Tools and Techniques for Process Modeling
Static Modeling: Lai Notation (continued)
 Transition diagram illustrates the transition for a
car
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
• Enables inaction of process to see what
happens to resources and artifacts as activities
occur
• Simulate alternatives and make changes to
improve the process
• Example: systems dynamics model
2.3 Tools and Techniques for Process Modeling
Dynamic Modeling
20
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
• Introduced by Forrester in the 1950's
• Abdel-Hamid and Madnick applied it to software
development
• One way to understand system dynamics is by
exploring how software development process
affects productivity
2.3 Tools and Techniques for Process Modeling
Dynamic Modeling: System Dynamics
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.3 Tools and Techniques for Process Modeling
Dynamic Modeling: System Dynamics (continued)
 Pictorial presentation of factors affecting productivity
 Arrows indicate how changes in one factor change
another
21
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.3 Tools and Techniques for Process Modeling
Dynamic Modeling: System Dynamics (continued)
 A system
dynamic
model
containing
four major
areas
affecting
productivity
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.3 Tools and Techniques for Process Modeling
Sidebar 2.4 Process Programming
 A program to describe and enact the process
 Eliminate uncertainty
 Basis of an automated environment to produce
software
 Does not capture inherent variability of underlying
development process
 Implementation environment, skill, experience,
understanding the customer needs
 Provides only sequence of tasks
 Gives no warning of impending problems
22
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.4 Practical Process Modeling
Marvel Case Studies
 Uses Marvel process language (MPL)
 Three constructs: classes, rules, tool envelopes
 Three-part process description
rule-based specification of process behavior
object-oriented definition of model’s
information process
set of envelopes to interface between Marvel
and external software tools
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.4 Practical Process Modeling
Marvel Case Studies (continued)
 Involved two AT&T networks
network carried phone calls
signalling network responsible for routing calls
and balancing the network load
 Marvel was used to describe the signalling
fault resolution
23
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.4 Practical Process Modeling
Marvel Case Studies (continued)
 Signalling Fault Resolution Process
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.4 Practical Process Modeling
Example of Marvel Commands
TICKET:: superclass ENTITY
status : (initial, open, referred_out, referral_done,
closed, fixed) = initial;
diagnostics : (terminal, non_terminal, none) = none;
level : integer;
description : text;
referred_to : link WORKCENTER;
referrals : set_of link TICKET;
process : link PROC_INST;
end
diagnose [?t: TICKET]:
(exists PROC_INST ?p suchthat (linkto [?t.process ?p]))
:
(and (?t.status = open}(?t.diagnostics = none))
{TICKET_UTIL diagnose ?t.Name}
(and (?t.diagnostics = terminal)
(?p.last_task = diagnose)
(?p.next_task = refer_to_WC3));
(and (?t.diagnostics = non_terminal)
(?p.last_task = diagnose)
(?p.next_task = refer_to_WC2));
Class
definition
for trouble
tickets
Rulefor
diagnosing
ticket
24
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.4 Practical Process Modeling
Desirable Properties of Process Modeling Tools and
Techniques
 Facilitates human understanding and
communication
 Supports process improvement
 Supports process management
 Provides automated guidance in performing the
process
 Supports automated process execution
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.5. Information System Example
Piccadilly Television Advertising System
 Needs a system that is easily maintained
and changed
 Requirements may change
Waterfall model is not applicable
 User interface prototyping is an advantage
 There is uncertainty in regulation and
business constraints
Need to manage risks
 Spiral model is the most appropriate
25
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
2.6 What this Chapter Means for You
 Process development involves activities,
resources, and product
 Process model includes organizational,
functional, behavioral and other perspectives
 A process model is useful for guiding team
behavior, coordination and collaboration
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
Reference
Shari L. Pledger and Joanne M. Atlee
(2014): Software Engineering: Theory and
Practice, 4th Edition
26
Department of Computer Science, Faculty of Information Science and Technology, East Africa University
Group discussion
Group 1: Discuss the Meaning of
Software Process Models using
Waterfall Model with Prototype
Group 2: Discuss and analyze the
tools and techniques for Process
Modeling
Group 3: Software Process Models
using Spiral Model

More Related Content

What's hot (19)

PPT
Agile methodology
C.P. Maurya
 
PDF
Agile method
Sunny Chiu
 
PPSX
Agile
Fayis-QA
 
PPTX
SDLC
Sachin-QA
 
PPTX
Agile versus waterfall
ArshdeepKaur140
 
PPT
SDLC Models and Their Implementation
Sonal Tiwari
 
PPTX
The Extreme Programming (XP) Model
Damian T. Gordon
 
PPTX
Agile Software Development Introduction
Tu BUI
 
PDF
Overview of SDLC - Waterfall, Agile, and more
Steve Gladstone
 
PPTX
Rational Unified Process by Vincent Prince Mutimbanyoka
Vincent Prince Mutimbanyoka
 
PPT
Lecture 6 agile software development
IIUI
 
PPTX
Software Quality assurance Introduction & Software process models
JesminBinti
 
PDF
Agile model
DivyaStephen3
 
PPTX
Agile methodology
Nirusha Manandhar
 
PPT
Agile model in software testing
pooja deshmukh
 
PPT
Waterfall model
Rangga Ananto
 
PPTX
SDLC Smashup
Lester Martin
 
PPTX
Software Development Process
Amira Elsayed Ismail
 
PPT
RUP VS RAD Methodology
thaleader
 
Agile methodology
C.P. Maurya
 
Agile method
Sunny Chiu
 
Agile
Fayis-QA
 
SDLC
Sachin-QA
 
Agile versus waterfall
ArshdeepKaur140
 
SDLC Models and Their Implementation
Sonal Tiwari
 
The Extreme Programming (XP) Model
Damian T. Gordon
 
Agile Software Development Introduction
Tu BUI
 
Overview of SDLC - Waterfall, Agile, and more
Steve Gladstone
 
Rational Unified Process by Vincent Prince Mutimbanyoka
Vincent Prince Mutimbanyoka
 
Lecture 6 agile software development
IIUI
 
Software Quality assurance Introduction & Software process models
JesminBinti
 
Agile model
DivyaStephen3
 
Agile methodology
Nirusha Manandhar
 
Agile model in software testing
pooja deshmukh
 
Waterfall model
Rangga Ananto
 
SDLC Smashup
Lester Martin
 
Software Development Process
Amira Elsayed Ismail
 
RUP VS RAD Methodology
thaleader
 

Similar to Chapter 2 modeling the process and life-cycle (20)

PPT
01lifecycles
Abdihakim Dalmar
 
PPT
Software process life cycles
sathish sak
 
PDF
Chapter-2 ppt for the MBA 4rh seme6y.pdf
VikasRai405977
 
PPT
01lifecycles(system development life cycle).ppt
krishnakrishkrish100
 
PPTX
Unit 1 sepm process models
KanchanPatil34
 
PPTX
Software process
Amisha Patel
 
PPT
Software development life cycle
Nishant Srivastava
 
PPT
Process models
Hiren Selani
 
PPT
Software Engineering (Process Models)
ShudipPal
 
PPTX
Software development process models
Muhammed Afsal Villan
 
PPTX
Software process models shaukat wasi
Dr. Shaukat Wasi
 
PPT
Chapter 1- Introduction to software engineering for CS.ppt
SisayNegash4
 
PPT
Chapter 1- Introduction for software.ppt
SisayNegash4
 
PPTX
SE-03.pptx
HaiderAli252366
 
PPT
2. Software process
Ashis Kumar Chanda
 
PPT
Software Process Model.ppt
DrJasmineBeulahG
 
PPT
187202477-Models-of-SDLC-ppt-Original.ppt
0305vipul
 
DOC
Chapter 1,2,3,4 notes
Aruna M
 
PDF
Ch 2
Aruna M
 
PDF
Software Process Models
Atul Karmyal
 
01lifecycles
Abdihakim Dalmar
 
Software process life cycles
sathish sak
 
Chapter-2 ppt for the MBA 4rh seme6y.pdf
VikasRai405977
 
01lifecycles(system development life cycle).ppt
krishnakrishkrish100
 
Unit 1 sepm process models
KanchanPatil34
 
Software process
Amisha Patel
 
Software development life cycle
Nishant Srivastava
 
Process models
Hiren Selani
 
Software Engineering (Process Models)
ShudipPal
 
Software development process models
Muhammed Afsal Villan
 
Software process models shaukat wasi
Dr. Shaukat Wasi
 
Chapter 1- Introduction to software engineering for CS.ppt
SisayNegash4
 
Chapter 1- Introduction for software.ppt
SisayNegash4
 
SE-03.pptx
HaiderAli252366
 
2. Software process
Ashis Kumar Chanda
 
Software Process Model.ppt
DrJasmineBeulahG
 
187202477-Models-of-SDLC-ppt-Original.ppt
0305vipul
 
Chapter 1,2,3,4 notes
Aruna M
 
Ch 2
Aruna M
 
Software Process Models
Atul Karmyal
 
Ad

More from Taibah University, College of Computer Science & Engineering (20)

PDF
Lecture 1- Computer Organization and Architecture.pdf
Taibah University, College of Computer Science & Engineering
 
PDF
The paper the welfare state of the somali nation - a possible solution to t...
Taibah University, College of Computer Science & Engineering
 
PDF
Colonial intrusion and_the_somali_resistance
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 3 (Contemporary approaches to Information Systems)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 7 (business-level strategy and the value chain model)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 4 (using information technology for competitive advantage)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 2 (major types of information systems in organizations)
Taibah University, College of Computer Science & Engineering
 
PDF
Practical session 1 (critical path analaysis)
Taibah University, College of Computer Science & Engineering
 
PDF
Historical Perspective on the Challenge Facing the Somali Sacral Unity
Taibah University, College of Computer Science & Engineering
 
PDF
Colonial intrusion and the Somali Resistance
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 8 (information systems and strategy planning)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture 4 (using information technology for competitive advantage)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture1 data structure(introduction)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture2 is331 data&infomanag(databaseenv)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture1 is322 data&infomanag(introduction)(old curr)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture6 is353(ea&data viewpoint )
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture2 is353-ea(the zachma framework)
Taibah University, College of Computer Science & Engineering
 
PDF
Lecture1 is353-enterprise architectureconcept)
Taibah University, College of Computer Science & Engineering
 
Lecture 1- Computer Organization and Architecture.pdf
Taibah University, College of Computer Science & Engineering
 
The paper the welfare state of the somali nation - a possible solution to t...
Taibah University, College of Computer Science & Engineering
 
Colonial intrusion and_the_somali_resistance
Taibah University, College of Computer Science & Engineering
 
Lecture 3 (Contemporary approaches to Information Systems)
Taibah University, College of Computer Science & Engineering
 
Lecture 7 (business-level strategy and the value chain model)
Taibah University, College of Computer Science & Engineering
 
Lecture 4 (using information technology for competitive advantage)
Taibah University, College of Computer Science & Engineering
 
Lecture 2 (major types of information systems in organizations)
Taibah University, College of Computer Science & Engineering
 
Practical session 1 (critical path analaysis)
Taibah University, College of Computer Science & Engineering
 
Historical Perspective on the Challenge Facing the Somali Sacral Unity
Taibah University, College of Computer Science & Engineering
 
Colonial intrusion and the Somali Resistance
Taibah University, College of Computer Science & Engineering
 
Lecture 8 (information systems and strategy planning)
Taibah University, College of Computer Science & Engineering
 
Lecture 4 (using information technology for competitive advantage)
Taibah University, College of Computer Science & Engineering
 
Lecture2 is331 data&infomanag(databaseenv)
Taibah University, College of Computer Science & Engineering
 
Lecture1 is322 data&infomanag(introduction)(old curr)
Taibah University, College of Computer Science & Engineering
 
Lecture6 is353(ea&data viewpoint )
Taibah University, College of Computer Science & Engineering
 
Lecture2 is353-ea(the zachma framework)
Taibah University, College of Computer Science & Engineering
 
Lecture1 is353-enterprise architectureconcept)
Taibah University, College of Computer Science & Engineering
 
Ad

Recently uploaded (20)

PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Dimensions of Societal Planning in Commonism
StefanMz
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 

Chapter 2 modeling the process and life-cycle

  • 1. 1 Shari L. Pledger and Joanne M. Atlee (2014): Software Engineering: Theory and Practice, 4th Edition Modeling the Process and Life Cycle Chapter 2 Abdisalam Issa-Salwe Department of Computer Science Faculty of Information Science and Technology East Africa University Department of Computer Science, Faculty of Information Science and Technology, East Africa University Contents 2.1 The Meaning of Process 2.2 Software Process Models 2.3 Tools and Techniques for Process Modeling 2.4 Practical Process Modeling 2.5 Information System Example 2.6 What this Chapter Means for You
  • 2. 2 Department of Computer Science, Faculty of Information Science and Technology, East Africa University Chapter 2 Objectives  What we mean by a “process”  Software development products, processes, and resources  Several models of the software development process  Tools and techniques for process modeling Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.1 The Meaning of Process  A process: a series of steps involving activities, constrains, and resources that produce an intended output of some kind  A process involves a set of tools and techniques
  • 3. 3 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.1 The Meaning of Process Process Characteristics  Prescribes all major process activities  Uses resources, subject to set of constraints (such as schedule)  Produces intermediate and final products  May be composed of subprocesses with hierarchy or links  Each process activity has entry and exit criteria  Activities are organized in sequence, so timing is clear  Each process guiding principles, including goals of each activity  Constraints may apply to an activity, resource or product Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.1 The Meaning of Process The Importance of Processes  Impose consistency and structure on a set of activities  Guide us to understand, control, examine, and improve the activities  Enable us to capture our experiences and pass them along
  • 4. 4 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Reasons for Modeling a Process  To form a common understanding  To find inconsistencies, redundancies, omissions  To find and evaluate appropriate activities for reaching process goals  To tailor a general process for a particular situation in which it will be used Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Software Life Cycle  When a process involves building a software, the process may be referred to as software life cycle Requirements analysis and definition System (architecture) design Program (detailed/procedural) design Writing programs (coding/implementation) Testing: unit, integration, system System delivery (deployment) Maintenance
  • 5. 5 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Software Development Process Models  Waterfall model  V model  Prototyping model  Operational specification  Transformational model  Phased development: increments and iteration  Spiral model  Agile methods Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Waterfall Model  One of the first process development models proposed  Works for well understood problems with minimal or no changes in the requirements  Simple and easy to explain to customers  It presents a very high-level view of the development process sequence of process activities  Each major phase is marked by milestones and deliverables (artifacts)
  • 6. 6 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Waterfall Model (continued) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Waterfall Model (continued)  There is no iteration in waterfall model  Most software developments apply a great many iterations
  • 7. 7 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Sidebar 2.1 Drawbacks of The Waterfall Model  Provides no guidance how to handle changes to products and activities during development (assumes requirements can be frozen)  Views software development as manufacturing process rather than as creative process  There is no iterative activities that lead to creating a final product  Long wait before a final product Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Waterfall Model with Prototype  A prototype is a partially developed product  Prototyping helps developers assess alternative design strategies (design prototype) users understand what the system will be like (user interface prototype)  Prototyping is useful for verification and validation
  • 8. 8 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Waterfall Model with Prototype (continued)  Waterfall model with prototyping Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models V Model  A variation of the waterfall model  Uses unit testing to verify procedural design  Uses integration testing to verify architectural (system) design  Uses acceptance testing to validate the requirements  If problems are found during verification and validation, the left side of the V can be re- executed before testing on the right side is re- enacted
  • 9. 9 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models V Model (continued) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Prototyping Model  Allows repeated investigation of the requirements or design  Reduces risk and uncertainty in the development
  • 10. 10 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Operational Specification Model  Requirements are executed (examined) and their implication evaluated early in the development process  Functionality and the design are allowed to be merged Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Transformational Model  Fewer major development steps  Applies a series of transformations to change a specification into a deliverable system Change data representation Select algorithms Optimize Compile  Relies on formalism  Requires formal specification (to allow transformations)
  • 11. 11 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Transformational Model (continued) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Phased Development: Increments and Iterations  Shorter cycle time  System delivered in pieces enables customers to have some functionality while the rest is being developed  Allows two systems functioning in parallel the production system (release n): currently being used the development system (release n+1): the next version
  • 12. 12 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Phased Development: Increments and Iterations (continued) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Phased Development: Increments and Iterations (continued)  Incremental development: starts with small functional subsystem and adds functionality with each new release  Iterative development: starts with full system, then changes functionality of each subsystem with each new release
  • 13. 13 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Phased Development: Increments and Iterations (continued)  Phased development is desirable for several reasons Training can begin early, even though some functions are missing Markets can be created early for functionality that has never before been offered Frequent releases allow developers to fix unanticipated problems globally and quickly The development team can focus on different areas of expertise with different releases Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Spiral Model  Suggested by Boehm (1988)  Combines development activities with risk management to minimize and control risks  The model is presented as a spiral in which each iteration is represented by a circuit around four major activities Plan Determine goals, alternatives and constraints Evaluate alternatives and risks Develop and test
  • 14. 14 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Spiral Model (continued) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Agile Methods  Emphasis on flexibility in producing software quickly and capably  Agile manifesto  Value individuals and interactions over process and tools  Prefer to invest time in producing working software rather than in producing comprehensive documentation  Focus on customer collaboration rather than contract negotiation  Concentrate on responding to change rather than on creating a plan and then following it
  • 15. 15 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Agile Methods: Examples of Agile Process  Extreme programming (XP)  Crystal: a collection of approaches based on the notion that every project needs a unique set of policies and conventions  Scrum: 30-day iterations; multiple self- organizing teams; daily “scrum” coordination  Adaptive software development (ASD) Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Agile Methods: Extreme Programming  Emphasis on four characteristics of agility Communication: continual interchange between customers and developers Simplicity: select the simplest design or implementation Courage: commitment to delivering functionality early and often Feedback: loops built into the various activities during the development process
  • 16. 16 2.2 Software Process Models Agile Methods: Twelve Facets of XP  The planning game (customer defines value)  Small release  Metaphor (common vision, common names)  Simple design  Writing tests first  Refactoring  Pair programming  Collective ownership  Continuous integration (small increments)  Sustainable pace (40 hours/week)  On-site customer  Coding standard Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Sidebar 2.2 When Extreme is Too Extreme?  Extreme programming's practices are interdependent A vulnerability if one of them is modified  Requirements expressed as a set of test cases must be passed by the software System passes the tests but is not what the customer is paying for  Refactoring issue Difficult to rework a system without degrading its architecture
  • 17. 17 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.2 Software Process Models Sidebar 2.3 Collections of Process Models  Development process is a problem-solving activity  Curtis, Krasner, and Iscoe (1988) performed a field study to determine which problem-solving factors to captured in process model  The results suggest a layered behavioral model as supplement to the traditional model  Process model should not only describe series of tasks, but also should detail factors that contribute to a project's inherent uncertainty and risk Department of Computer Science, Faculty of Information Science and Technology, East Africa University  Notation depends on what we want to capture in the model  The two major notation categories Static model: depicts the process Dynamic model: enacts the process 2.3 Tools and Techniques for Process Modeling
  • 18. 18 Department of Computer Science, Faculty of Information Science and Technology, East Africa University • Element of a process are viewed in terms of seven types – Activity – Sequence – Process model – Resource – Control – Policy – Organization • Several templates, such as an Artifact Definition Template 2.3 Tools and Techniques for Process Modeling Static Modeling: Lai Notation Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.3 Tools and Techniques for Process Modeling Static Modeling: Lai Notation (continued)  The process of starting a car
  • 19. 19 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.3 Tools and Techniques for Process Modeling Static Modeling: Lai Notation (continued)  Transition diagram illustrates the transition for a car Department of Computer Science, Faculty of Information Science and Technology, East Africa University • Enables inaction of process to see what happens to resources and artifacts as activities occur • Simulate alternatives and make changes to improve the process • Example: systems dynamics model 2.3 Tools and Techniques for Process Modeling Dynamic Modeling
  • 20. 20 Department of Computer Science, Faculty of Information Science and Technology, East Africa University • Introduced by Forrester in the 1950's • Abdel-Hamid and Madnick applied it to software development • One way to understand system dynamics is by exploring how software development process affects productivity 2.3 Tools and Techniques for Process Modeling Dynamic Modeling: System Dynamics Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.3 Tools and Techniques for Process Modeling Dynamic Modeling: System Dynamics (continued)  Pictorial presentation of factors affecting productivity  Arrows indicate how changes in one factor change another
  • 21. 21 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.3 Tools and Techniques for Process Modeling Dynamic Modeling: System Dynamics (continued)  A system dynamic model containing four major areas affecting productivity Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.3 Tools and Techniques for Process Modeling Sidebar 2.4 Process Programming  A program to describe and enact the process  Eliminate uncertainty  Basis of an automated environment to produce software  Does not capture inherent variability of underlying development process  Implementation environment, skill, experience, understanding the customer needs  Provides only sequence of tasks  Gives no warning of impending problems
  • 22. 22 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.4 Practical Process Modeling Marvel Case Studies  Uses Marvel process language (MPL)  Three constructs: classes, rules, tool envelopes  Three-part process description rule-based specification of process behavior object-oriented definition of model’s information process set of envelopes to interface between Marvel and external software tools Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.4 Practical Process Modeling Marvel Case Studies (continued)  Involved two AT&T networks network carried phone calls signalling network responsible for routing calls and balancing the network load  Marvel was used to describe the signalling fault resolution
  • 23. 23 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.4 Practical Process Modeling Marvel Case Studies (continued)  Signalling Fault Resolution Process Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.4 Practical Process Modeling Example of Marvel Commands TICKET:: superclass ENTITY status : (initial, open, referred_out, referral_done, closed, fixed) = initial; diagnostics : (terminal, non_terminal, none) = none; level : integer; description : text; referred_to : link WORKCENTER; referrals : set_of link TICKET; process : link PROC_INST; end diagnose [?t: TICKET]: (exists PROC_INST ?p suchthat (linkto [?t.process ?p])) : (and (?t.status = open}(?t.diagnostics = none)) {TICKET_UTIL diagnose ?t.Name} (and (?t.diagnostics = terminal) (?p.last_task = diagnose) (?p.next_task = refer_to_WC3)); (and (?t.diagnostics = non_terminal) (?p.last_task = diagnose) (?p.next_task = refer_to_WC2)); Class definition for trouble tickets Rulefor diagnosing ticket
  • 24. 24 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.4 Practical Process Modeling Desirable Properties of Process Modeling Tools and Techniques  Facilitates human understanding and communication  Supports process improvement  Supports process management  Provides automated guidance in performing the process  Supports automated process execution Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.5. Information System Example Piccadilly Television Advertising System  Needs a system that is easily maintained and changed  Requirements may change Waterfall model is not applicable  User interface prototyping is an advantage  There is uncertainty in regulation and business constraints Need to manage risks  Spiral model is the most appropriate
  • 25. 25 Department of Computer Science, Faculty of Information Science and Technology, East Africa University 2.6 What this Chapter Means for You  Process development involves activities, resources, and product  Process model includes organizational, functional, behavioral and other perspectives  A process model is useful for guiding team behavior, coordination and collaboration Department of Computer Science, Faculty of Information Science and Technology, East Africa University Reference Shari L. Pledger and Joanne M. Atlee (2014): Software Engineering: Theory and Practice, 4th Edition
  • 26. 26 Department of Computer Science, Faculty of Information Science and Technology, East Africa University Group discussion Group 1: Discuss the Meaning of Software Process Models using Waterfall Model with Prototype Group 2: Discuss and analyze the tools and techniques for Process Modeling Group 3: Software Process Models using Spiral Model