CS223: Software Engineering Lecture 4: Software Development Models.

Slides:



Advertisements
Similar presentations
Software Processes.
Advertisements

©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.
Software Process Models
Unit 2. Software Lifecycle
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
Software Engineering Saeed Akhtar The University of Lahore Lecture 4 Originally shared for: mashhoood.webs.com.
CSE 470 : Software Engineering The Software Process.
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.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Process Models
Alternate Software Development Methodologies
Software Process Software Process.
Introduction to Requirements (Chapters 1-3 of the requirements text) CSSE 371, Software Requirements and Specification Don Bagert, Rose-Hulman Institute.
Requirements - Why What and How? Sriram Mohan. Outline Why ? What ? How ?
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
©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.
CMSC 345, Version 1/03 An Overview of Software Processes Reference: Software Engineering, by Ian Sommerville, 6 th edition, Chapter 3.
S/W Project Management Software Process Models. Objectives To understand  Software process and process models, including the main characteristics of.
Lecture 2 Software Processes CSC301-Winter 2011 Hesam C. Esfahani
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.
Lecture # 04 & 05 CS314 Introduction To Software Development Software Development Process (SDP) Instructor :Muhammad Janas khan
 Software Models.  A software life-cycle model is a descriptive and diagrammatic representation of the software life-cycle. This includes a series of.
Sofware Process1 Software Process. Sofware Process2 Software Engineering We have specified the problem domain – industrial strength software Besides delivering.
Software Process1. Software Dev Process Process is distinct from product products are outcomes of executing a process on a project SW Eng. focuses on.
Software Processes.
©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.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 1 Slide 1 Software Processes (Chapter 3)
Software Processes lecture 8. Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided.
Software Engineering Management Lecture 1 The Software Process.
1 SWE Introduction to Software Engineering Lecture 4.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Methodologies. Contents Waterfall Model Evolutionary Models Incremental Development.
Software Engineering Saeed Akhtar The University of Lahore Lecture 6 Originally shared for: mashhoood.webs.com.
REQUIREMENTS - WHY WHAT AND HOW? Steve Chenoweth & Chandan Rupakheti CSSE 371 Chapters Requirements Text. Question 6.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
An Introduction to Software Engineering
Chapter 13: Software Life Cycle Models Omar Meqdadi SE 273 Lecture 13 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
CS5103 Software Engineering Lecture 02 More on Software Process Models.
SOFTWARE ENGINEERING1 Introduction. SOFTWARE ENGINEERING2 Software Q : If you have to write a 10,000 line program in C to solve a problem, how long will.
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
 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.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
CC20O7N Software Engineering 1 CC2007N Software Engineering 1 Part 1 Introduction to Software Engineering.
CS223: Software Engineering Lecture 5: Software Development Models.
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.
Software Engineering Saeed Akhtar The University of Lahore Lecture 3 Originally shared for: mashhoood.webs.com.
Systems Development Life Cycle
© NALO Solutions Limited NALO Solutions, presents the – Revenue Collector App Using Mobile Phones to gather Revenue SOFTWARE ENGINEERING.
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
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
Methodologies and Algorithms
Lecture 3 Prescriptive Process Models
Iterative Waterfall Model
Software Myths Software is easy to change
Software Process Models
Chapter 2 SW Process Models
Software Process Models
Software life cycle models
An Overview of Software Processes
Software Process Software Process.
CS310 Software Engineering Lecturer Dr.Doaa Sami
Software Processes.
Software Development Life Cycle Models
Presentation transcript:

CS223: Software Engineering Lecture 4: Software Development Models

Recap Software process Need of software process ETVX model Roles and responsibilities

Objective After the end of the class students should be able to o State desired properties of software processes o Explain different software development model  Waterfall model  Prototype model o Use a development model in practice

Desired Process Properties Provide high quality and productivity (Q & P) Support testability as testing is the most expensive task o Testing can consume 30 to 50% of total development effort Support maintainability o Maintenance can be more expensive than development; o Over life up to 80% of total cost Remove defects early o As cost of removing defects increases with latency

High Q&P: Early Defect Removal… Cost of a defect increases with latency Fixing a defect in operation can cost a 100 times the cost of fixing it in requirements itself For high Q&P, the process must support early defect removal That is why there is a V in ETVX, and quality control tasks in the software process

Early Defect Removal…

Desired Properties… Predictability and repeatability o Process should repeat its performance when used on different projects  Outcome of using a process should be predictable o Past performance can be used to predict future performance o Without predictability, cannot estimate, or say anything about quality or productivity

Predictability… Predictable process is said to be under statistical control o Repeatedly using the process produces similar results o Results – properties of interest like quality, productivity, … To consistently develop software with high Q&P o Process must be in control

Predictability… Expected value of the property Allowable error bound

Support Change Software changes for various reasons Requirements change is a key reason Requirement changes cannot be wished away or treated as “bad” They must be accommodated in the process for software development

Software Project Project o To build a software system within cost o Schedule and with high quality which satisfies the customer Project goals – high Q and high P Suitable process needed to reach goals For a project o The process to be followed is specified during planning

Projects Process If a project chooses a model o It will generally tailor it to suit the project This produces the spec for the projects process This process can then be followed in the project Process is what is actually executed Process specification is plan about what should be executed Process model is a generic process specification Many models have been proposed for the development process

Development Process A set of phases and each phase being a sequence of steps Sequence of steps for a phase - methodologies for that phase. Why have phases o To employ divide and conquer o Each phase handles a different part of the problem o Helps in continuous validation

Development Process Commonly has these activities: o Requirements analysis, architecture, o Design, coding, o Testing, delivery Different models perform them in different manner

Generic software process models The waterfall model o Separate and distinct phases of specification and development. Evolutionary development o Specification, development and validation are interleaved. Component-based software engineering o The system is assembled from existing components.

Waterfall Model Linear sequence of stages/ phases Requirements – HLD – DD – Code – Test – Deploy A phase starts only when the previous has completed o No feedback The phases partition the project o Each addressing a separate concern

Flow of Waterfall Model

Properties of Waterfall Model Linear ordering implies each phase should have some output The output must be validated/certified Outputs of earlier phases: work products Common outputs of a waterfall: o SRS, project plan, design docs, test plan and reports, final code, supporting docs

Waterfall Advantages Conceptually simple o Cleanly divides the problem into distinct phases o Phases can be performed independently Natural approach for problem solving Easy to administer in a contractual setup Each phase is a milestone

Waterfall disadvantages Assumes that requirements can be specified and frozen early May fix hardware and other technologies too early Follows the “big bang” approach o All or nothing delivery o Too risky Requirement bloating Very document oriented o Requiring docs at the end of each phase

Waterfall Usage Has been used widely Well suited for projects where o Requirements can be understood easily o Technology decisions are easy For familiar type of projects it still may be the most optimum

Prototyping It addresses the requirement specification limitation of waterfall Do not finalize requirements only by discussions A prototype is built to understand the requirements Helps reduce the requirements risk A small waterfall model replaces the requirements stage

Prototyping: Typical flow

Developing A Prototype Starts with initial requirements Only key features which need better understanding are included in prototype No point in including those features that are well understood Feedback from users taken to improve the understanding of the requirements

How to minimize the cost? Build only features needing clarification “Quick and dirty” o Quality not important, scripting etc. can be used Things like exception handling, recovery, standards are omitted Cost can be a few % of the total Learning in prototype building will help in o Building the software o Besides improved requirements

Pros and Cons of Prototyping Advantages: o Requirement will be more stable o Requirement frozen later o Experience helps in the main development Disadvantages: o Potential hit on cost and schedule Applicability: o When requirements are hard to elicit o Confidence in requirements is low  Requirements are not well understood

Thank you Next Lecture: Process Models