CEN 4010 Second Lecture January 23, 2006 CEN 4010 Introduction to Software Engineering Spring 2006 Instructor: Masoud Sadjadi

Slides:



Advertisements
Similar presentations
Chapter 7: Software production process Refers to the activities that are used for building, delivering, deploying, and evolving a software product, from.
Advertisements

Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 12, Software Life Cycle.
Computer Science Department
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.
Ch 3: Unified Process CSCI 4320: Software Engineering.
Lecture # 2 : Process Models
CSE 470 : Software Engineering The Software Process.
CSC 480 Software Engineering
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.
Modeling the Process and Life Cycle CSCI 411 Advanced Database and Project Management Monday, February 2, 2015.
Using UML, Patterns, and Java Object-Oriented Software Engineering 15. Software Life Cycle.
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
R R R CSE870: Advanced Software Engineering (Cheng): Intro to Software Engineering1 Advanced Software Engineering Dr. Cheng Overview of Software Engineering.
Object-oriented Analysis and Design
The Software Product Life Cycle. Views of the Software Product Life Cycle  Management  Software engineering  Engineering design  Architectural design.
CMSC 345, Version 1/03 An Overview of Software Processes Reference: Software Engineering, by Ian Sommerville, 6 th edition, Chapter 3.
Chapter 3 Software Processes.
S/W Project Management
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Introduction to Software Engineering CEN 4010.
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 1, Introduction to Software Engineering.
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.
Instructor: Peter Clarke
CEN st Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi What.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 1 Slide 1 Software Processes (Chapter 3)
Topic (1)Software Engineering (601321)1 Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution.
Software Processes lecture 8. Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided.
CEN rd Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi Phases of Software.
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
1 Instructor: S. Masoud Sadjadi sadjadi At cs Dot fiu Dot edu Software Engineering and Project Communications.
1 Introduction to Software Engineering Lecture 1.
CEN nd Lecture CEN 5011 Advanced Software Engineering Instructor: Masoud Sadjadi Software Life Cycle.
Review of Software Process Models Review Class 1 Software Process Models CEN 4021 Class 2 – 01/12.
Historical Aspects Origin of software engineering –NATO study group coined the term in 1967 Software crisis –Low quality, schedule delay, and cost overrun.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Systems Analysis and Design in a Changing World, Fourth Edition
An Introduction to Software Engineering
Object-Oriented Software Engineering using Java, Patterns &UML. Presented by: E.S. Mbokane Department of System Development Faculty of ICT Tshwane University.
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
1-1 Software Development Objectives: Discuss the goals of software development Identify various aspects of software quality Examine two development life.
Chapter 2 – Software Processes Lecture 1 Chapter 2 Software Processes1.
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
CEN 4010 First Lecture January 10, 2005 CEN 4010 Introduction to Software Engineering Spring 2005 Instructor: Masoud Sadjadi
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
Using UML, Patterns, and Java Object-Oriented Software Engineering 15. Software Life Cycle (Waterfall)
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.
Rational Unified Process Fundamentals Best Practices of Software Engineering Rational Unified Process Fundamentals Best Practices of Software Engineering.
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.
Lectures 2 & 3: Software Process Models Neelam Gupta.
RUP RATIONAL UNIFIED PROCESS Behnam Akbari 06 Oct
COP st Lecture August 29, 2005 COP 4009 Component-Based Software Engineering Fall 2005 Instructor: Masoud Sadjadi
Introduction to Software Engineering 1. Software Engineering Failures – Complexity – Change 2. What is Software Engineering? – Using engineering approaches.
Advanced Software Engineering Dr. Cheng
Object-Oriented Software Engineering Using UML, Patterns, and Java,
Software Processes (a)
CEN 5011 Advanced Software Engineering
Introduction to Software Engineering
CEN 5011 Advanced Software Engineering
Chapter 1, Introduction to Software Engineering
Chapter 2 – Software Processes
Baisc Of Software Testing
SOFTWARE LIFE-CYCLES Beyond the Waterfall.
CEN 5011 Advanced Software Engineering
Presentation transcript:

CEN 4010 Second Lecture January 23, 2006 CEN 4010 Introduction to Software Engineering Spring 2006 Instructor: Masoud Sadjadi

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 2 Acknowledgements  Dr. Peter Clarke  Dr. Betty Cheng  Dr. Bernd Bruegge  Dr. Allen Dutoit EvaluationOverview: Introduction SW Life Cycle

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 3 What is Software Engineering? (1)  Systematic approach for developing software  “Methods and techniques to develop and maintain quality software to solve problems.” [Pfleeger, 1990]  “Study of the principles and methodologies for developing and maintaining software systems.” [Zelkowitz, 1978]  “Software engineering is an engineering discipline which is concerned with all aspects of software production.” [Sommerville] EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 4 What is Software Engineering? (2)  “Practical application of scientific knowledge in the design and construction of computer programs and the associated documentation required to develop, operate, and maintain them.” [Boehm, 1976]  “Deals with establishment of sound engineering principles and methods in order to economically obtain software that is reliable and works on real machines.” [Bauer, 1972] EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 5 Questions Addressed by SE  How do we ensure the quality of the software that we produce?  How do we meet growing demand and still maintain budget control?  How do we avoid disastrous time delays? EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 6 Why apply SE to Systems?  Provide an understandable process for system development.  Develop systems and software that are maintainable and easily changed.  Develop robust software and system.  Allow the process of creating computing- based systems to be repeatable and manageable. EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 7 How can we apply SE?  Modeling  Problem-solving  Knowledge acquisition  Rationale-driven EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 8 Modeling  “A model is an abstract representation of a system that enables us to answer questions about the system.”  Why use a model? –Systems are too large, too small, too complicated, or too expensive, to experience firsthand.  Models allow –Visualization –Comprehension EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 9 Problem Solving  Steps in problem solving: –Formulate the problem –Analyze the problem –Search for solutions –Decide on the appropriate solution –Specify the solution EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 10 Knowledge Acquisition  Domain specific knowledge.  New knowledge can affect the development process.  Knowledge acquisition is nonlinear – affects several of the software development models.  Risk assessment is important. EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 11 Rationale Management  Assumptions made about systems change constantly.  Application domain models stabilize, solution domain models are in constant flux. –Changes to the solution models due to:  design and implementation faults  new technology  Need to understand the context in which each design decision was made. EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Definition Course Outcome How to apply?

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 12 Course Outcomes  Familiarity with the Software Development Life Cycle.  Mastering the techniques to gather and specify the requirements of a medium-size software system using UML.  Mastering the techniques to design and implement a medium-size software system.  Familiarity with software testing techniques.  Familiarity with software documentation.  Familiarity with working in a small software development team.  Familiarity with system walkthroughs.  Familiarity with maintaining software and managing change. EvaluationOverview: Introduction SW Life Cycle Home Page SE Overview Course Outcome

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 13 Evaluation  What is Software Engineering?  What questions are answered by Software Engineering?  How can we apply Software Engineering?  What should you expect from this class? What are the outcomes? EvaluationOverview: Introduction SW Life Cycle

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 14 Agenda  Course Introduction  Evaluation  Software Life Cycle EvaluationOverview: Introduction SW Life Cycle

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 15 Our Intention Requirements Software EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 16 Our plan of attack Requirements Analysis Design Implementation Testing Delivery and Installation EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 17 How it often goes Requirements Analysis D E L A Y Vaporware EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 18 Inherent Problems  Requirements are complex –The client does not know the functional requirements in advance.  Requirements may be changing –Technology enablers introduce new possibilities to deal with nonfunctional requirements.  Frequent changes are difficult to manage –Identifying milestones and cost estimation are difficult.  There is more than one software system –Backward compatible with existing systems  Let’s view these problems as the nonfunctional requirements for a system that supports software development! –This leads us to software life cycle modeling EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 19 Terminology (1)  participants – all persons involved in a project. e.g., developers, project manager, client, end users.  role – associated with a set of tasks assigned to a participant.  system – underlying reality.  model – abstraction of the reality.  work product – an artifact produced during development.  deliverable – work product for client. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 20 Terminology (2)  activity – a set of tasks performed toward a specific purpose.  milestone – end-point of a software process activity.  task – an atomic unit of work that can be managed and that consumes resources.  goal – high-level principle used to guide the project.  functional requirement – an area of functionality that the system must have. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 21 Terminology (3)  nonfunctional requirement – a constraint on the system.  notation – is a graphical or textual set of rules representing a model (e.g., UML)  method – a repeatable technique for solving a specific problem e.g. sorting algorithm  methodology – a collection of methods for solving a class of problems (e.g., Unified Software Development Process). EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 22 Software Processes 1. Specification –requirements elicitation and analysis. 2. Development –systems design, detailed design (OO design), implementation. 3. Validation –validating system against requirements (testing). 4. Evolution –meet changing customer needs and error correction (maintenance). EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Specification (1)  Functionality of the software and constraints (non-functional requirements) on its operation must be defined.  Involves: –Requirements elicitation –The client and developers define the purpose of the system. –Output is a description of the system in terms of actors and uses cases. –Actors include roles such as end users and other computers the system needs. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Validation Evolution

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Specification (2)  Uses cases are general sequences of events that describe all possible actions between actor and the system for a given piece of functionality. Analysis  Objective: produce a model of the system that is correct, complete, consistent, unambiguous, realistic, and verifiable.  Developers transform the use cases into an object model that completely describes the system.  Model is checked for ambiguities and inconsistencies.  Output: Object model annotated with attributes, operations, and associations. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Development (1)  Producing the software that meets the specification. System Design  Goals of the project are defined.  System decomposed into smaller subsystems (architectural model).  Strategies to build system identified –HW and SW platform, data management, control flow, and security.  Output: model describing subsystem decomposition and system strategies. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Development (2) Object Design  Bridges the gap between analysis model and the strategies identified in the system design. Includes: –Describing object and subsystem interfaces –Selecting off–the-shelf components –Restructure object model to attain design goals  e.g., extensibility, understandability, and required performance.  Output: detailed object model annotated with constraints and supporting documentation. Implementation  Translation of the object model into source code.  No general process followed.  There are tools to assists the programmer such as CASE tools. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 27 Software Development Activities Problem Domain Implementation Domain Requirements Analysis What is the problem? System Design What is the solution? Object Design What is the solution in a specific context? Implementation How is the solution constructed? EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Validation (1)  Ensures the software does what the customer want.  The software conforms to its specification and meets the expectations of the customer. Validation: ‘Are we building the right product?’ Ensures the software meets the expectations of the customer. Verification: ‘Are we building the product right?’ Ensures the software conforms to the specification. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Validation Evolution

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Validation (2)  Techniques –Software inspections (static):  Analyze and check system representations (e.g., requirements documents, design diagrams, and program source code). –Software testing (dynamic):  Executing an implementation of the software with test data and examining the outputs against expected results.  V&V process establishes the existence of defects.  Debugging is a process that locates and corrects these defects. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering Software Evolution  Software must evolve to meet the customer needs.  Software maintenance is the process of changing a system after it has been delivered.  Reasons for maintenance –To repair faults. –To adapt the software to a different operating environment. –To add to or modify system’s functionality. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 31 Attributes of Good Software  Maintainability –Ease of changing the software to meets the changing needs of the customer.  Dependability –Reliability, security and safety.  Efficiency –Responsiveness, processing time, and memory usage.  Usability –Appropriate user interface and adequate documentation. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Specification Development Evolution Validation

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 32 Software Life Cycle  Software life cycle modeling –Attempt to deal with complexity and change.  Software life cycle –Set of activities and their relationships to each other to support the development of a software system.  Software development methodology –A collection of techniques for building models, which are applied across the software lifecycle. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 33 Software Life Cycle  Software construction goes through a progression of states Development Post- Development Pre- Development EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Conception Childhood Adulthood Retirement

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 34 Software Life Cycle Models  Waterfall model and its problems –Pure Waterfall Model –V-Model  Iterative process models –Boehm’s Spiral Model –Unified Process Model  Entity-based models –Issue-based Development Model –Concurrent Development EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 35 Waterfall Model (1)  The waterfall model –First described by Royce in 1970  There seem to be at least as many versions as there are authorities - perhaps more Requirements Definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 36 Waterfall Model (2)  One or more documents are produced after each phase and “signed off”.  Points to note: –“Water does not flow up”.  it is difficult to change artifact produced in the previous phase. –This model should be used only when the requirements are well understood. –Reflects engineering practice. –Simple management model. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 37 From Waterfall to V Model  Horizontal lines denote the information flow between activities at the same abstraction level. Requirements Specification System design Detailed Design Implementation Unit Test System and integration test Acceptance test EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 38 V Model  Similar to pure waterfall model but makes explicit the dependency between development and verification activities.  The left half of the V represents development and the right half system validation.  Note the requirements specification includes requirements elicitation and analysis. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 39 Spiral Model (1)  Basic Idea –develop initial implementation, expose it to user, and refine it until an adequate system is produced.  Two types: –Exploratory –Throw-away prototyping  Advantages –model used when problem is not clearly defined.  Disadvantages –Process not visible, systems are poorly constructed, may require special tools and techniques. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 40 Spiral Model (2) Requirements plan Concept of operation Risk analysis Prototype 1 Prototype 2 Prototype 3 Risk analysis Risk analysis S/w Reqs. Validation Development Plan Integration Plan Design Validation Acceptance Test Sys. Product Design Integration & Test Unit Test Code Detailed Design Design objectives, alternatives, and constraints Plan next phase Evaluate alternatives, identify and resolve risks Develop and verify next level product Not shown in detail EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 41 Spiral Model (3)  Tries to accommodate infrequent change during development.  Each round of the spiral involves: –Determine objectives –Specify constraints –Generate alternatives –Identify risks –Resolve risks –Develop and verify next level product –Plan EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 42 Incremental Development (1)  Mills et al Define outline requirements Assign requirements to increments Design system architecture Develop system increment Validate increment Integrate increment Validate system System incomplete Final system EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 43 Incremental Development (2)  Software specification, design and implementation is broken down into a series of increments which are developed in turn.  Gives customers some opportunities to delay decisions on the detailed requirements of the system.  Services are identified and a priority allocated.  Each increment provides a subset of the system’s functionality. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 44 Incremental Development (3) Advantages: –Customers do not have to wait for the entire system. –Customers gain experience using early increments of the system. –Lowers the risk of overall project failure. –Most important system services receives the most testing. Disadvantages: –May be difficult to map meaningful functionality into small increments. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 45 Extreme Programming  The incremental approach has evolved to ‘extreme programming’ (Beck 1988).  Extreme programming: –Development and delivery of very small increments. –Customer involvement in the process. –Constant code improvement. –Egoless programming  Programs are regarded as group property! EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 46 Unified Software Development Process (1)  Similar to Boehm’s spiral model.  A project consists of several cycles, each ends with the delivery of a product to the customer.  Each cycle consists of four phases: –Inception –Elaboration –Construction –Transition  Each phase consists of a number of iterations. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 47 Unified Software Development Process (2)  Inception ends with –commitment from the project sponsor to go ahead.  Elaboration ends with –basic architecture of the system in place, –a plan for construction agreed, –all significant risks identified, and –major risks understood enough not to be too worried.  Construction ends with –a beta-release system.  Transition –is the process of introducing the system to it users. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 48 Unified Software Development Process (2) Analysis model Use case model Design model Deployment model Implementation model Test model specified by realized by distributed by verified by implemented by Requirements captured as a set of use cases. System Development EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 49 Unified Software Development Process (3)  Deployment model –physical communication links between hardware items. –relationships between physical machines and processes.  The models in the Unified Process are traceable –A model element can be traced to at least one element in an associated model.  Transition between models are seamless –we can tell in a foreseeable way how to get from an element in one model to one/more elements in an associated model. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 50 Issue-Based Development  A system is described as a collection of issues –Issues are either closed or open. –Closed issues have a resolution. –Closed issues can be reopened (Iteration!).  The set of closed issues is the basis of the system model I1:Open I2:Closed I3:Closed A.I1:Open A.I2:Open SD.I1:Closed SD.I2:Closed SD.I3:Closed PlanningRequirements Analysis System Design EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity Waterfall Iterative Entity-Based

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 51 What to Choose?  PT = Project Time, MTBC = Mean Time Between Change  Change rarely occurs (MTBC >> PT): –Waterfall Model –All issues in one phase are closed before proceeding to the next phase  Change occurs sometimes (MTBC = PT): –Boehm’s Spiral Model –Change occurring during a phase might lead to an iteration of a previous phase or cancellation of the project  “Change is constant” (MTBC << PT) –Issue-based Development (Concurrent Development Model) –Phases are never finished, they all run in parallel  Decision when to close an issue is up to management.  The set of closed issues form the basis for the system to be developed. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 52 IEEE 1074  Standard for Developing Life Cycle Processes  Describes the set of activities and processes that are mandatory for the development and maintenance of software.  Process is a set of activities that is performed towards a specific purpose.  Processes are grouped into higher abstractions called process groups. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 53 Software Processes Process GroupProcesses Project ManagementProject Initiation Project Management and Control Software Quality Management Pre-developmentConcept Exploration System Allocation DevelopmentRequirements Design Implementation Post-developmentInstallation Operation and Support Maintenance Retirement Integral ProcessesVerification and Validation Software Configuration Management Document Development Training EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 54 Capability Maturity Model (CMM) 1. Initial Level –ad hoc, no feedback from user, black box. 2. Repeatable Level –Each project has a well-defined sw life cycle model. 3. Defined Level –A document sw life cycle model for all managerial and technical activities across the org. exists. 4. Managed Level –Metrics for activities and deliverables are defined. 5. Optimizing Level –Process allows feedback of information to change process itself. EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity

Second Lecture on Jan. 23, 2006CEN 4010: Introduction to Software Engineering 55 State of the Software Industry in 1995  Maturity LevelFrequency 1. Initial 70% 2. Repeatable 15% 3. Defined < 10% 4. Managed < 5% 5. Optimizing < 1% Source: Royce, Project Management, P. 364 EvaluationOverview: Introduction SW Life Cycle Motivation Terminology SW Processes SW Life Cycle Cap. Maturity