Chapter 2 Modelling the Process and Life Cycle. Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.2 Contents 2.1 The Meaning of Process.

Slides:



Advertisements
Similar presentations
Unified process(UP) UP is an OO system development methodology offered by Rational(Rational Rose) s/w, now a part of IBM Developed by Booach,Rambaugh,Jacobson--
Advertisements

AGILE DEVELOPMENT Outlines : Quick Look of agile development Agility
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
1 Requirements and the Software Lifecycle The traditional software process models Waterfall model Spiral model The iterative approach Chapter 3.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
ISBN Prentice-Hall, 2006 Chapter 2 Modeling the Process and Life Cycle Copyright 2006 Pearson/Prentice Hall. All rights reserved.
CSC 532 Term Paper Process Models In Software Engineering By Xiancong Xiong Fall 2004.
Software Life Cycle Requirements analysis System design Program design Program implementation (coding) Unit testing Integration testing System testing.
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger
Software Project Management
CEN nd Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi Software Process Models.
CS487 Software Engineering Omar Aldawud
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger
1 EE29B Feisal Mohammed Modeling the Process and Life Cycle Software development usually involves the following stages: Requirements analysis and definition.
CSE 470 : Software Engineering The Software Process.
Modeling the Process and Life Cycle CSCI 411 Advanced Database and Project Management Monday, February 2, 2015.
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger Joanne M. Atlee 4th Edition.
SEP1 - 1 Introduction to Software Engineering Processes SWENET SEP1 Module Developed with support from the National Science Foundation.
Alternate Software Development Methodologies
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger
CH02: Modeling the process and life cycle Process of developing software (organization and discipline in the activities) contribute to the quality of the.
 The Rise of Computer Science ◦ Machine Language (1 st Gen) ◦ Assembly Language (2 nd Gen) ◦ Third Generation Languages (FORTRAN, BASIC, Java, C++, etc.)
Lecturer: Dr. AJ Bieszczad Chapter 22-1 Process includes: all major process activities resources used, subject to set of constraints (such as schedule)
The Software Product Life Cycle. Views of the Software Product Life Cycle  Management  Software engineering  Engineering design  Architectural design.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Modelling the Process and Life Cycle
Software Development Process
S/W Project Management Software Process Models. Objectives To understand  Software process and process models, including the main characteristics of.
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development.
Chapter 2 The process Process, Methods, and Tools
-Nikhil Bhatia 28 th October What is RUP? Central Elements of RUP Project Lifecycle Phases Six Engineering Disciplines Three Supporting Disciplines.
Current Trends in Systems Develpment
1 Chapter 2 The Process. 2 Process  What is it?  Who does it?  Why is it important?  What are the steps?  What is the work product?  How to ensure.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
©Ian Sommerville 2000, Mejia-Alvarez 2009 Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing and testing.
Software Engineering Environment  A quality focus: constant incremental improvement  Process: framework to organize development activities  Methods:
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 3 Slide 1 Software Processes l Coherent sets of activities for specifying, designing,
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger Joanne M. Atlee 4 th Edition.
Review of Software Process Models Review Class 1 Software Process Models CEN 4021 Class 2 – 01/12.
Chapter 3 Agile Software Development (1/2) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
An Introduction to Software Engineering
Lecture 4 – XP and Agile 17/9/15. Plan-driven and agile development Plan-driven development A plan-driven approach to software engineering is based around.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Requirements Engineering Requirements Engineering in Agile Methods Lecture-28.
Modelling the Process and Life Cycle. The Meaning of Process A process: a series of steps involving activities, constrains, and resources that produce.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
SOFTWARE PROCESS MODELING Benjamin Dixon U
1 CEN 4020 Software Engineering PPT2: Software process modeling.
Software Process Modelling
Software Engineering, 8th edition. Chapter 4 1 Courtesy: ©Ian Sommerville 2006 FEB 13 th, 2009 Lecture # 5 Software Processes.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Chapter 2 Software Development Model and 1. Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided.
Systems Development Life Cycle
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
Project Management Software development models & methodologies
Software Development Process includes: all major process activities all major process activities resources used, subject to set of constraints (such as.
Embedded Systems Software Training Center
Software Processes (a)
Process Models In Software Engineering
Software Processes.
Introduction to Software Engineering
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger Joanne M. Atlee 4th Edition.
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger
Copyright 2006 Pearson/Prentice Hall. All rights reserved.
Chapter 2 Modeling the Process and Life Cycle Shari L. Pfleeger
Chapter 2 Software Processes
Presentation transcript:

Chapter 2 Modelling the Process and Life Cycle

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.2 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 Real Time Example 2.7 What this Chapter Means for You

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.3 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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 (discussed in Chapter 1)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Waterfall Model (continued)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Waterfall Model (continued) There is no iteration in waterfall model Most software developments apply a great amount of iterations

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Sidebar 2.1 Drawbacks of The Waterfall Model Provides no guidance how to handle changes to products and activities during development Views software development as manufacturing process rather than as creative process There is no iterative activities (i.e. developing and evaluating prototypes) that lead to creating a final product Long wait before a final product

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Waterfall Model with Prototype A prototype is a partially developed product Prototyping helps –to determine whether it is feasible and practical –developers assess alternative design strategies (design prototype) –users understand what the system will be like (user interface prototype) Protopyping is useful for verification and validation

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Waterfall Model with Prototype (continued) Waterfall model with prototyping

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models V Model A variation of the waterfall model

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Prototyping Model Allows repeated investigation of the requirements or design Reduces risk and uncertainty in the development

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Transformational Model Fewer major development steps Applies a series of transformations to change a specification into a deliverable system (such as) –Change data representation –Select algorithms –Optimize –Compile Relies on formalism Requires formal specification to allow transformations

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Transformational Model (continued)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models P hased 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Phased Development: Increments and Iterations (continued)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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 globaly and quickly –The development team can focus on different areas of expertise with different releases

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Spiral Model (continued)

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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, since requirements change frequently.

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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 activitites during the development process

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Agile Methods: Twelve Facets of XP The planning game (customer defines value) Small release (incremental or iterative cycles) Metaphor (development team agrees on common vision, common names) Simple design Writing tests first (functional and unit) Refactoring (revisiting the requirements) Pair programming (one keyboard two people) Collective ownership (any developer can change) Continuous integration (small increments) Sustainable pace (40 hours/week) On-site customer Coding standard

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Software Process Models Sidebar 2.2 When Extreme is Too Extreme? Extreme programming's practices are interdependent –Uncomfortable with pair programming, many developers prefer to do some design documents before they write code. 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 (moving away from goals) Refactoring issue –Difficult to rework a system without degrading its architecture

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.32 Notation depends on what we want to capture in the model The two major notation categories –Static model: depicts the process, showing that the inputs are transformed to outputs. –Dynamic model: enacts the process, so the user can see how intermediate and final products are transformed over time. 2.3 Tools and Techniques for Process Modeling

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.33 Element of a process are viewed in terms of seven types –Activity: Something that will happen in a process –Sequence: The order of activities –Process model: A view of interest about the system –Resource: A necessary item, tool, or person. –Control: An external influence over process enactment –Policy: A guiding principle –Organization: The hierarchical structure of process agents Several templates, such as an Artifact Definition Template 2.3 Tools and Techniques for Process Modeling Static Modeling: Lai Notation

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Tools and Techniques for Process Modeling Static Modeling: Lai Notation

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Tools and Techniques for Process Modeling Static Modeling: Lai Notation (continued) The process of starting a car

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Tools and Techniques for Process Modeling Static Modeling: Lai Notation (continued) Transition diagram illustrates the transition for a car

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.37 Enables enaction of process to see what happens to resources and artifacts as activities occur Simulate alternatives and make changes to improve the process Example: We can use systems dynamics model to help us decide how many testers we need or when we must initiate testing in order to finish on schedule. 2.3 Tools and Techniques for Process Modeling Dynamic Modeling

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 2.38 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Tools and Techniques for Process Modeling Dynamic Modeling: System Dynamics (continued) A system dynamic model containing four major areas affecting productivity

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Practical Process Modeling Marvel Case Studies Uses Marvel process language (MPL) MPL uses three constructs: classes, rules, tool envelopes to produce three-part process description –rule-based specification of process behaviour –object-oriented definition of model’s information process –set of envelopes to interface between Marvel and external software tools

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Practical Process Modeling Marvel Case Study - 1 (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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Practical Process Modeling Marvel Case Studies (continued) Signaling Fault Resolution Process

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Practical Process Modeling E xample of Marvel Commands

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Practical Process Modelling Desirable Properties of Process Modelling 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter 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

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Information System Example Piccadilly System (continued) Risk can be viewed in terms of two facets –Probability: the likelihood a particular problem may occur –Severity: the impact it will have on the system To manage risk, it needs to model needs to include characterization of risks in the process model

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Information System Example Lai Artifact Table for Piccadilly System

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Real Time Example Ariane-5 Software Involved reuse of software from Ariane-4 The reuse process model –Identify reusable subprocesses, describe them and place them in a library –Examine the requirements for the new software and the reusable components from library and produce revised set of requirements –Use the revised requirements to design the software –Evaluate all reused design components to certify the correctness and consistency –Build or change the software

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter Real Time Example Ariane-5 Software (continued) Reuse process model presentation

Pfleeger and Atlee, Software Engineering: Theory and PracticeChapter What this Chapter Means for You Process development involves activities, resources, and product Process model includes organizational, functional, behavioural and other perspectives A process model is useful for guiding team behaviour, coordination and collaboration