Software Engineering CHAPTER 2 SOFTWARE LIFE CYCLE MODELS

Slides:



Advertisements
Similar presentations
Slide 3.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Advertisements

Software Life-Cycle Models
Ch 3: Unified Process CSCI 4320: Software Engineering.
Ch2: Software Life Cycles Housekeeping  Feedback from Wednesday  Structured vs. Object Oriented Paradigm Structured: Data is an argument, functions separate,
CHAPTER 3 SOFTWARE LIFE-CYCLE MODELS.
SOFTWARE PROCESS MODELS. Software Process Models  Process model (Life-cycle model) -steps through which the product progresses Requirements phase Specification.
Software Life-Cycle Models
Slide 2.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 2.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill,
MADALINA CROITORU Software Engineering week 1 Madalina Croitoru IUT Montpellier.
The software process A software process is a set of activities and associated results which lead to the production of a software product. This may involve.
CHAPTER 1 SOFTWARE DEVELOPMENT. 2 Goals of software development Aspects of software quality Development life cycle models Basic concepts of algorithm.
SEP1 - 1 Introduction to Software Engineering Processes SWENET SEP1 Module Developed with support from the National Science Foundation.
Software Process and Problem Statements CSSE 371, Software Requirements and Specification Mark Ardis, Rose-Hulman Institute September 3, 2004.
Slide 9.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Computer Engineering 203 R Smith Agile Development 1/ Agile Methods What are Agile Methods? – Extreme Programming is the best known example – SCRUM.
Chapter 2A 1 Software Engineering CHAPTER 2 SOFTWARE LIFE CYCLE MODELS by Farhad Mavaddat CS430 Notes Modified from the notes of Jerry Breecher of Clark.
2. Software Life Cycle Models. Software Engineering Overview Software development in theory Iteration and incrementation Risks and other aspects of iteration.
Ch 2: Software Life-Cycle Models CSCI Ideal Software Development.
1 CMPT 275 Software Engineering Software life cycle.
Chapter 2 The process Process, Methods, and Tools
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
Capability Maturity Models Software Engineering Institute (supported by DoD) The problems of software development are mainly caused by poor process management.
CSE 308 Software Engineering Software Engineering Strategies.
Slide 10.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition,
Chapter 2 Software processes. Topics covered Software process models Process activities Coping with change.
SOFTWARE LIFE-CYCLE MODELS
SOFTWARE LIFE-CYCLE MODELS CHAPTER 2
Slide 3.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
SOFTWARE LIFE-CYCLE MODELS
Slide 2.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R.
It specifies the various phases/workflows of the software process, such as: the requirements, analysis (specification), design, implementation,
Software Engineering At Glance. Why We Need Software Engineering? The aim of software engineering is to solve the software crisis Software is delivered.
Software Engineering Zhang Shuang
Slide 2.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 2 SOFTWARE LIFE-CYCLE MODELS Derived from Dr. Stehpen R. Schach’s.
Chapter 1: Introduction Omar Meqdadi SE 3860 Lecture 1 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach
Workflows Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Slide 2.1 © The McGraw-Hill Companies, 2007 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach.
Lectures 2 & 3: Software Process Models Neelam Gupta.
Introduction Requirements and the Software Lifecycle (3)
Software Development. The Software Life Cycle Encompasses all activities from initial analysis until obsolescence Analysis of problem or request Analysis.
Slide 10.1 CHAPTER 10 OVERVIEW OF THE PREVIOUS CHAPTERS.
Software Development - Methodologies
2. Software Life Cycle Models
TK2023 Object-Oriented Software Engineering
Software Development.
Methodologies and Algorithms
Software Engineering Management
Lecture 3 Prescriptive Process Models
8.4 Management of Postdelivery Maintenance
Fundamentals of Information Systems, Sixth Edition
Software Processes (a)
CS 425/625 Software Engineering Software Processes
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach 1.
Chapter 2 SW Process Models
Software Life Cycle Models
Level 1 Level 1 – Initial: The software process is characterized as ad hoc and occasionally even chaotic. Few processes are defined, and success depends.
Software Engineering Lecture 09 & 10.
Requirements and the Software Lifecycle
Introduction to Software Engineering
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach
Lecture 2 Revision of Models of a Software Process
Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Extreme Programming.
Chapter 8 Software Evolution.
Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach
Presentation transcript:

Software Engineering CHAPTER 2 SOFTWARE LIFE CYCLE MODELS by Farhad Mavaddat CS430 Notes Modified from the notes of Jerry Breecher of Clark University & Stephen R. Schach, Vanderbilt University Chapter 2A

Overview Software development in theory Winburg mini case study Lessons of the Winburg mini case study Teal tractors mini case study Iteration and incrementation Winburg mini case study revisited Risks and other aspects of iteration and incrementation Managing iteration and incrementation Other life-cycle models Comparison of life-cycle models Chapter 2A

2.1 Software Development in Theory Ideally, software is developed as described in Chapter 1 Linear Starting from scratch Called the Linear Model Requirements Analysis Design Implementation Chapter 2A Figure 2.1

Winburg Case Study – The Real World Is Different Episode 1: The first version is implemented Episode 2: A fault is found The product is too slow because of an implementation fault Changes to the implementation are begun Episode 3: The requirements change A faster algorithm is used Episode 4: A new design is adopted Development is complete Epilogue: A few years later, these problems recur Chapter 2A

Evolution-Tree Model Winburg Mini Case Study Development Maintenance Requirements Analysis Design Implementation Maintenance Development Chapter 2A Figure 2.2

Waterfall Model The linear life cycle model with feedback loops The waterfall model cannot show the order of events Requirements Analysis Design Implementation Maintenance Development Chapter 2A Figure 2.3

2.4 Teal Tractors Mini Case Study While the Teal Tractors software product is being constructed, the requirements change The company is expanding into Canada Changes needed include: Additional sales regions must be added The product must be able to handle Canadian taxes and other business aspects that are handled differently Third, the product must be extended to handle two different currencies, USD and CAD These changes may be Great for the company; but Disastrous for the software product A change in the requirements while the software product is being developed Chapter 2A

Moving Target Problem (contd) Even if the reasons for the change are good, the software product can be adversely impacted Dependencies will be induced Any change made to a software product can potentially cause a regression fault A fault in an apparently unrelated part of the software If there are too many changes The entire product may have to be redesigned and re-implemented Change is inevitable Growing companies are always going to change If the individual calling for changes has sufficient clout, nothing can be done about it There is no solution to the moving target problem Chapter 2A

2.5 Iteration and Incrementation In real life, we cannot speak about “the analysis phase” Instead, the operations of the analysis phase are spread out over the life cycle The basic software development process is iterative Each successive version is intended to be closer to its target than its predecessor Chapter 2A

Miller’s Law At any one time, we can concentrate on only approximately seven chunks (units of information) To handle larger amounts of information, use stepwise refinement Concentrate on the aspects that are currently the most important Postpone aspects that are currently less critical Every aspect is eventually handled, but in order of current importance This is an incremental process Chapter 2A

2.5 Iteration and Incrementation Work Quantity In Each Increment Increment A Increment B Increment C Increment D Requirements Workflow High Medium Low None Analysis Workflow Design Workflow Implementation Workflow Test Workflow Iteration and incrementation are used in conjunction with one another There is no single “requirements phase” or “design phase” Instead, there are multiple instances of each phase Chapter 2A

Iteration and Incrementation (contd) Iteration and incrementation are used in conjunction with one another There is no single “requirements phase” or “design phase” Instead, there are multiple instances of each phase The number of increments will vary—it does not have to be four Requirements Analysis Design Implementation Maintenance Development Chapter 2A

Workflows All five core workflows are performed over the entire life cycle However, at most times one workflow predominates Examples: At the beginning of the life cycle The requirements workflow predominates At the end of the life cycle The implementation and test workflows predominate Planning and documentation activities are performed throughout the life cycle Chapter 2A

2.8 Managing Iteration and Incrementation The iterative-and-incremental life-cycle model is as regimented as the waterfall model … … because the iterative-and-incremental life-cycle model is the waterfall model, applied successively Each increment is a waterfall mini project Chapter 2A

2.9 Other Life-Cycle Models The following life-cycle models are presented and compared: Code-and-fix life-cycle model Waterfall life-cycle model Rapid prototyping life-cycle model Extreme programming and agile processes Synchronize-and-stabilize life-cycle model Spiral life-cycle model Chapter 2A

2.9.1 Code-and-Fix Model No design No specifications Maintenance nightmare The easiest way to develop software The most expensive way Typically used by a start-up. Implement the 1st Version Modify until client is satisfied Postdelivery Maintenance Development Maintenance Figure 2.7 Chapter 2A

2.9.2 Waterfall Model Characterized by Feedback loops Documentation-driven Advantages Documentation Maintenance is easier Disadvantages Specification document Joe and Jane Johnson Mark Marberry Chapter 2A Figure 2.8

2.9.3 Rapid Prototyping Model Linear model “Rapid” Chapter 2A Figure 2.9

2.9.4 Extreme Programming and Agile Processes Somewhat controversial new approach Stories (features client wants) Estimate duration and cost of each story Select stories for next build Each build is divided into tasks Test cases for a task are drawn up first Pair programming Continuous integration of tasks Unusual Features of XP The computers are put in the center of a large room lined with cubicles A client representative is always present Software professionals cannot work overtime for 2 successive weeks No specialization Refactoring (design modification) Chapter 2A

Agile Processes A collection of new paradigms characterized by Less emphasis on analysis and design Earlier implementation (working software is considered more important than documentation) Responsiveness to change Close collaboration with the client XP has had some successes with small-scale software development However, medium- and large-scale software development is very different Chapter 2A

Evaluating Agile Processes and XP (contd) The key decider: the impact of agile processes on post-delivery maintenance Refactoring is an essential component of agile processes Refactoring continues during maintenance Will refactoring increase the cost of post-delivery maintenance, as indicated by preliminary research? Agile processes are good when requirements are vague or changing It is too soon to evaluate agile processes There are not enough data yet Even if agile processes prove to be disappointing Some features (such as pair programming) may be adopted as mainstream software engineering practices Chapter 2A

2.10 Comparison of Life-Cycle Models Different life-cycle models have been presented Each with its own strengths and weaknesses Criteria for deciding on a model include: The organization Its management The skills of the employees The nature of the product Best suggestion “Mix-and-match” life-cycle model Chapter 2A

Comparison of Models (According to Schach) Life-Cycle Model Strengths Weaknesses Evolution tree model Closely models real-world software production. Equivalent to the iterative and increment model. Iterative and incremental model Closely models real-world software production. Underlies the unified process. Code and fix model Fine for short programs that require no maintenance. Unsatisfactory for nontrivial programs. Waterfall model Disciplined approach – document driven. Product may not meet client’s needs. Rapid Prototyping model Ensures delivered product meets the client’s need. Not yet proven beyond all doubt. Extreme programming model Works well when the requirements are vague. Appears to work on only small scale projects. Chapter 2A