Software development lifecycle The power of process Cycle Life Software.

Slides:



Advertisements
Similar presentations
Prescriptive Process models
Advertisements

2003 Mateusz Żochowski, Marcin Borzymek Software Life Cycle Analysis.
1 CSE 403 Software Lifecycle Models Reading: Rapid Development Ch. 7, 25 (further reading: Ch. 21, 35, 36, 20) These lecture slides are copyright (C) Marty.
1 Requirements and the Software Lifecycle The traditional software process models Waterfall model Spiral model The iterative approach Chapter 3.
1 Software Processes A Software process is a set of activities and associated results which lead to the production of a software product. Activities Common.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Software Development Life-Cycle Models
PROC-1 3. Software Process. PROC-2 What’s a process? Set of activities in creating software It involves creativity –hard to automate –Requires human judgment.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
Software Project Management
CS487 Software Engineering Omar Aldawud
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.
1 Chapter 7 Lifecycle Planning. 2 Lifecycles - Introduction A lifecycle model is a prescriptive model of what should happen between the first glimmer.
Alternate Software Development Methodologies
Software Engineering. How many lines of code? Average CS1004 assignment: 200 lines Average CS4115 project: 5000 lines Corporate e-commerce project: 80,000.
Software Engineering.
Object-oriented Analysis and Design
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Chapter 2- Software Process Lecture 4. Software Engineering We have specified the problem domain – industrial strength software – Besides delivering the.
TCSS 360, Spring 2005 Lecture Notes
1 CSE 403 Software Lifecycle Models Reading: Rapid Development Ch. 7, 25 (further reading: Ch. 21, 35, 36, 20) These lecture slides are copyright (C) Marty.
IT Systems Analysis & Design
Lecture # 04 & 05 CS314 Introduction To Software Development Software Development Process (SDP) Instructor :Muhammad Janas khan
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
SOFTWARE ENGINEERING MCS-2 LECTURE # 3. SOFTWARE PROCESS  A software development process, also known as a software development life- cycle (SDLC), is.
Software Processes n What is a process?  Sequence of steps required to develop or maintain software n Characteristics  prescribes major activities 
Week 1 MondayTuesdayWednesdayThursdayFriday Overview Course plans & expectations Tools & tool questions (section)Tools Lifecycle & project milestones KNOW.
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
13-January-2003cse LifeCycle © 2003 University of Washington1 Lifecycle CSE 403, Winter 2003 Software Engineering
Methodologies. Contents Waterfall Model Evolutionary Models Incremental Development.
Software Engineering MCS-2 Lecture # 6
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CSE 403 Lecture 2 Software Lifecycle Models Reading: Rapid Development Ch. 7, 25 (further reading: Ch. 21, 35, 36, 20) slides created by Marty Stepp
Software Engineering process models
Chapter 2 Software processes. Topics covered Software process models Process activities Coping with change.
> whoami Yuriy Brun Office: CSE 340
WATERFALL DEVELOPMENT MODEL. Waterfall model is LINEAR development lifecycle. This means each phase must be completed before moving onto the next!!! WHAT.
September 30, 2010COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
 Many models have been proposed to deal with the problems of defining activities and associating them with each other  The first model proposed was the.
Modelling the Process and Life Cycle. The Meaning of Process A process: a series of steps involving activities, constrains, and resources that produce.
CC20O7N Software Engineering 1 CC2007N Software Engineering 1 Part 1 Introduction to Software Engineering.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Software Development Life Cycle (SDLC)
Lectures 2 & 3: Software Process Models Neelam Gupta.
CSE 403, Spring 2008, Alverson Software Development Lifecycle The Power of Process.
Software Lifecycle Models A software lifecycle model is a standardised format for planning organising, and running a new development project.
Chapter 2 Software Development Model and 1. Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided.
By : Hisham Kahlifa Shreef Foda Khaled monir Tamer medhat Supervisor : Dr Doaa Nabil.
SE 548 IŞIL ÖZTÜRK.  Software Development Life Cycle (SDLC ) is a framework that describes the activities performed at each stage of a software development.
Software Lifecycle Models Place of Testing in Software Lifecycle 1.
CS 4500: Software Development Software Process. Materials Sommmerville Chapters 1, 2 and 3 Software Cycle and Models:
1 Chapter 2 SW Process Models. 2 Objectives  Understand various process models  Understand the pros and cons of each model  Evaluate the applicability.
SOFTWARE DEVELOPMENT Presented By : Emporiumtech This presentation is brought you by
Slide 3.1 © The McGraw-Hill Companies, 2002 SOFTWARE LIFE-CYCLE MODELS.
Methodologies and Algorithms
SOFTWARE LIFE-CYCLES Beyond the Waterfall.
Software Processes (a)
Software Process Models
Chapter 2 SW Process Models
Software Process Models
IT Systems Analysis & Design
Introduction to Software Engineering
Methodologies For Systems Analysis.
Lecture 02: Software Lifecycle Models
Software life cycle models
Process Models Coming up: Prescriptive Models.
Lecture 03: Software Lifecycle Models
Software Life Cycle Models.
Software Processes Process should be
Presentation transcript:

Software development lifecycle The power of process Cycle Life Software

50MLOC = 50 million lines of code 50 lines/page-side  1M page-sides 1K page-sides/ream  1K reams 2 inches/ream  2K inches 2K inches = 167 feet  twice the height of the Allen Center 5 50 wpm  50MLOC/5M min 5M min = 83,333 hr = 3,472 days  10 years 2 Just to type! No breaks and no thinking allowed!

Addressing software complexity What are/is the …? Requirements Design Implementation Testing plan … Who does the …? Requirements Design Implementation Testing … 3 Two sides of the same coin Different approaches, representations, etc. are needed for the artifact-oriented components Different skill-sets, knowledge, etc. are needed for the human-oriented components

Outline What is a software development lifecycle? Why do we need a lifecycle process? Lifecycle models and their tradeoffs –“Code-and-fix” –Waterfall –Spiral –Evolutionary prototyping –Staged delivery …there are many others (XP, scrum, …)! Main recurring themes (Agile processes)

Ad-hoc development ad-hoc development: creating software without any formal guidelines or process Advantage: easy to learn and use! Disadvantages?

Ad-hoc development ad-hoc development: creating software without any formal guidelines or process Advantage: easy to learn and use! Some disadvantages of ad-hoc development: –some important actions (testing, design) may go ignored –not clear when to start or stop doing each task –does not scale well to multiple people –not easy to review or evaluate one's work A common observation: The later a problem is found in software, the more costly it is to fix.

Lifecycle stages Virtually all lifecycles share – Requirements – Design – Implementation – Testing – Maintenance Key question: how do you combine them, and in what order? 7

The software lifecycle Software lifecycle: series of steps / phases, through which software is produced –from conception to end-of-life –can take months or years to complete Goals of each phase: –mark out a clear set of steps to perform –produce a tangible item –allow for review of work –specify actions to perform in the next phase

Benefits of using a lifecycle

It provides us with a structure in which to work It forces us to think of the “big picture” and follow steps so that we reach it without glaring deficiencies Without it you may make decisions that are individually on target but collectively misdirected It is a management tool

Benefits of using a lifecycle It provides us with a structure in which to work It forces us to think of the “big picture” and follow steps so that we reach it without glaring deficiencies Without it you may make decisions that are individually on target but collectively misdirected It is a management tool Drawbacks?

Are there analogies outside of SE? Consider the process of building the Paul Allen Center

Project with little attention on process Survival Guide: McConnell p24

Project with early attention on process Survival Guide: McConnell p25

“Code-and-fix” model

Advantages Little or no overhead - just dive in and develop, and see progress quickly Applicable sometimes for very small projects and short-lived prototypes But DANGEROUS for most projects No way to assess progress, quality or risks Unlikely to accommodate changes without a major design overhaul Unclear delivery features (scope), timing, and support

Classic waterfall model

Classic waterfall advantages Can work well for projects that are: very well understood but complex –Tackles all planning upfront –The ideal of no midstream changes equates to an efficient software development process Can provide support for an inexperienced team –Orderly sequential model that is easy to follow –Reviews at each stage determine if the product is ready to advance

Classic waterfall limitations

Difficult to specify all reqs of a stage completely and correctly upfront No sense of progress until the very end Integration occurs at the very end –Defies integrate early and often rule –Solutions are inflexible, no feedback until end –What is delivered may not match customer real needs Phase reviews are massive affairs –It takes a lot of inertia ($$) to make any change

Spiral model – risk oriented Determine objectives Identify and resolve risks Evaluate alternatives Develop and verify deliverables Plan next spiral Commit (or not) to next spiral

Spiral model Oriented towards phased reduction of risk Take on the big risks early and make some decisions –are we building the right product? –do we have any customers for this product? –is it possible to implement the product with the technology that exists today? tomorrow? Walks carefully to a result -- tasks can be more clear each spiral

Spiral model Advantages Especially appropriate at the beginning of the project when the requirements are still fluid Provides early indication of unforeseen problems and allows for change As costs increase, risks decrease! –Always addresses the biggest risk first

Spiral model Advantages Especially appropriate at the beginning of the project when the requirements are still fluid Provides early indication of unforeseen problems and allows for change As costs increase, risks decrease! –Always addresses the biggest risk first Limitations?

Spiral model Advantages Especially appropriate at the beginning of the project when the requirements are still fluid Provides early indication of unforeseen problems and allows for change As costs increase, risks decrease! –Always addresses the biggest risk first Limitations? Lots of planning and management Requires flexibility of the customer & contract Relies on developers to have risk-assessment expertise

Staged delivery model Waterfall-like beginnings, then develop in short release cycles: plan, design, execute, test, release with delivery possible at the end of any cycle

Staged delivery model Advantages Can ship at the end of any release-cycle While not feature complete, intermediate deliveries show progress, satisfy customers, and provide opportunity for feedback Problems are visible early (ie. integration) Facilitates shorter, more predictable release cycles Very practical in practice, widely used and successful

Staged delivery model Advantages Can ship at the end of any release-cycle While not feature complete, intermediate deliveries show progress, satisfy customers, and provide opportunity for feedback Problems are visible early (ie. integration) Facilitates shorter, more predictable release cycles Very practical in practice, widely used and successful Limitations?

Staged delivery model Advantages Can ship at the end of any release-cycle While not feature complete, intermediate deliveries show progress, satisfy customers, and provide opportunity for feedback Problems are visible early (ie. integration) Facilitates shorter, more predictable release cycles Very practical in practice, widely used and successful Limitations? Requires tight coordination with documentation, mgmt, mktg Must be decomposable Extra “release” overhead

Evolutionary prototyping model Develop a skeleton system and evolve it for delivery

Evolutionary prototyping model Advantages Addresses risks early Produces steady signs of progress Useful when requirements are changing rapidly or customer is non-committal Another popular and successful model, especially for custom products

Evolutionary prototyping model Advantages Addresses risks early Produces steady signs of progress Useful when requirements are changing rapidly or customer is non-committal Another popular and successful model, especially for custom products Limitations?

Evolutionary prototyping model Advantages Addresses risks early Produces steady signs of progress Useful when requirements are changing rapidly or customer is non-committal Another popular and successful model, especially for custom products Limitations Requires close customer involvement May spell trouble if the developers are inexperienced Feature creep, major design decisions, use of time, etc. Hard to estimate completion schedule or feature set

Why are there so many models? The choice of a model depends on the project circumstances and requirements A good choice of a model can result in a vastly more productive environment than a bad choice A cocktail of models is frequently used in practice to get the best of all worlds. Models are often combined or tailored to environment Choices are good!

How do you evaluate models? Consider –The task at hand –Risk management –Quality / cost control –Predictability –Visibility of progress –Customer involvement and feedback Theme: Aim for good, fast, and cheap. But you can't have all three at the same time.

36 Model category matrix Risk mgmt. Quality/ cost ctrl. Predict- ability Visibility of progress Customer involvement code-and-fix waterfall spiral evolutionary prototyping staged delivery design-to- schedule Rate each model 1-5 in each of the categories shown: Risk mgmt. Quality/ cost ctrl. Predict- ability Visibility of progress Customer involvement code-and-fix waterfall spiral evolutionary prototyping staged delivery design-to- schedule 43532

What’s the best SW dev model? A system to control anti-lock braking in a car A hospital accounting system that replaces an existing system An interactive system that allows airline passengers to quickly find replacement flight times (for missed or bumped reservations) from terminals installed at airports