CEN 4021 2 nd Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi Software Process Models.

Slides:



Advertisements
Similar presentations
Software Processes.
Advertisements

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Unit 2. Software Lifecycle
Lectures 2 & 3 Software Processes.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 المحاضرة الثانية.
Software Processes Modified by Randy K. Smith
Chap 2. Software Processes
What is software? Computer programs and associated documentation
Chapter 2 Software Processes (1/2) Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
1 Chapter 2 Software Processes An overview of conventional software process models, Rational Unified Process, and CASE tools.
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.
Software Processes Overview
 © Ian Sommerville A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective.
Chapter 2 – Software Processes
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
ISNE101 Dr. Ken Cosh. Recap  We’ve been talking about Software…  Application vs System Software  Programming Languages  Vs Natural Languages  Syntax,
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Processes Coherent sets of activities for specifying, designing, implementing and testing software systems.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 3Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
©Ian Sommerville 2000 Software Engineering, 6th edition Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing.
L ECTURE 2 S OFTWARE P ROCESSES 1. O BJECTIVES To describe outline process models for requirements engineering, software development, testing and evolution.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Process Activities. Process activities Real software processes are inter-leaved sequences of technical, collaborative and managerial activities.
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 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
Software Processes Sumber dari : cc.ee.ntu.edu.tw/~farn/courses/SE/ch4.ppt.
Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©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.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 3 Slide 1 Software Processes l Coherent sets of activities for specifying, designing,
Lecture 3 Software Engineering Models (Cont.)
1 SWE Introduction to Software Engineering Lecture 4.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
An Introduction to Software Engineering
4. Software Processes Software Engineering. Objectives To introduce software process models To describe three generic process models and when they may.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Chapter 13: Software Life Cycle Models Omar Meqdadi SE 273 Lecture 13 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Chapter 2 – Software Processes Lecture 1 Chapter 2 Software Processes1.
Chapter 2 Software Processes Chapter 2 – Software Processes Major Reorganization (but not elimination) of Topics 1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Development Life Cycle (SDLC)
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
Software Engineering, 8th edition. Chapter 4 1 Courtesy: ©Ian Sommerville 2006 FEB 13 th, 2009 Lecture # 5 Software Processes.
V-Shaped Software Development Life Cycle Model. Introduction: Variation of water fall model. Same sequence structure as water fall model. Strong emphasis.
1 Chapter 2 SW Process Models. 2 Objectives  Understand various process models  Understand the pros and cons of each model  Evaluate the applicability.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
1 SYS366 Week 2 - Lecture Visual Modeling and Process.
1 Process activities. 2 Software specification Software design and implementation Software validation Software evolution.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
Chapter3:Software Processes
CS 389 – Software Engineering
Software Process Activities.
Software Processes (a)
Software Processes.
Chapter 2 – Software Processes
An Overview of Software Processes
Software Processes.
Presentation transcript:

CEN nd Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi Software Process Models

2 nd LectureCEN 4021: Software Engineering II Acknowledgements  Dr. Onyeka Ezenwoye  Dr. Peter Clarke  Dr. Betty Cheng  Dr. Bernd Bruegge  Dr. Allen Dutoit 2

2 nd LectureCEN 4021: Software Engineering II Objectives  To understand –Software process and process models, including the main characteristics of each model, critical software process issues, and the pros and cons of each model. –The generic process activities and what they mean. This includes details of what exactly each activity is for and the stages within them.

2 nd LectureCEN 4021: Software Engineering II The software process  A structured set of activities required to develop a software system –Specification; –Design; –Validation; –Evolution.  A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective.

2 nd LectureCEN 4021: Software Engineering II Abstraction  Elimination of unnecessary detail  Model  Abstract view  Abstract representation

2 nd LectureCEN 4021: Software Engineering II Software Process model  A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective.  No universal software process  Highly intellectual  Must dynamically adjust to creative needs of professionals and tasks

2 nd LectureCEN 4021: Software Engineering II Critical Software Process Issues  Factors to consider –Nature of the project.  Software projects are different. –Organizational needs. –Experience level of members/team –Current product status  E.g., Brand new product? –Available tools and facilities

2 nd LectureCEN 4021: Software Engineering II Critical Software Process Issues  Factors to consider –Quality  More intensive quality assurance –Product Technology  New technology or algorithm? –Requirements instability  Unknown requirements  Unstable requirements –Complexity  Large systems

2 nd LectureCEN 4021: Software Engineering II Software Process Models  Waterfall  V  Spiral  Rapid Application Development

2 nd LectureCEN 4021: Software Engineering II Waterfall model

2 nd LectureCEN 4021: Software Engineering II Waterfall model phases  Requirements analysis and definition  System and software design  Implementation and unit testing  Integration and system testing  Operation and maintenance  The main drawback of the waterfall model is the difficulty of accommodating change after the process is underway. One phase has to be complete before moving onto the next phase.

2 nd LectureCEN 4021: Software Engineering II Waterfall model problems  Inflexible partitioning of the project into distinct stages makes it difficult to respond to changing customer requirements.  Therefore, this model is only appropriate when the requirements are well-understood and changes will be fairly limited during the design process.  Few business systems have stable requirements.  Requirements have to be understood early on.

2 nd LectureCEN 4021: Software Engineering II V-Shaped Model Project and Requirement s Planning Product Requirements and Specification Analysis Architecture or High-Level Design Detailed Design Unit Testing Integration and Testing System and Acceptance Testing Coding Production Operation and Maintenance

2 nd LectureCEN 4021: Software Engineering II V-Shaped Model  A variation of the Waterfall model.  Places strong emphasis on Verification and Validation.  Testing of the product is planned in the early phases of the process.  Acceptance test plan is developed.  System test plan is developed.

2 nd LectureCEN 4021: Software Engineering II V-Shaped Model  Emphasizes the relationship between the phases preceding and following coding.  The dotted lines indicate that these phases should be considered in parallel.

2 nd LectureCEN 4021: Software Engineering II Phases in the V-Shaped Model  Project and requirements planning –Determines system requirements and allocation of resources.  Product requirements and specification analysis –Analysis of software problem, concludes with complete specification of the software.

2 nd LectureCEN 4021: Software Engineering II Phases in the V-Shaped Model  Architecture or High-level design –Determines how the software functions are to implement the design.  Detailed Design –Defines algorithms for components that were defined during the architecture phase.

2 nd LectureCEN 4021: Software Engineering II Phases in the V-Shaped Model  Coding –Transforms the algorithms defined during the design phase into software.  Unit Testing –Checks each code module for errors.

2 nd LectureCEN 4021: Software Engineering II Phases in the V-Shaped Model  Integration and Testing –Integrate and test individual code modules.  System and acceptance testing –Test entire software system in its hardware environment.

2 nd LectureCEN 4021: Software Engineering II Phases in the V-Shaped Model  Productions, operation and maintenance –Puts software into production and provides for enhancements and corrections.

2 nd LectureCEN 4021: Software Engineering II V-Shaped Model Problems  Does not easily handle concurrent events  No iteration of phases  Cannot handle dynamic changes in requirements throughout the life cycle  Requirements are tested too late to make changes without affecting the schedule  No risk analysis

2 nd LectureCEN 4021: Software Engineering II Spiral development  Process is represented as a spiral rather than as a sequence of activities with backtracking.  Each loop in the spiral represents a phase in the process.  No fixed phases such as specification or design - loops in the spiral are chosen depending on what is required.  Risks are explicitly assessed and resolved throughout the process.

2 nd LectureCEN 4021: Software Engineering II Spiral model of the software process Determine objectives, alternatives and constraints Evaluate alternatives, identify, resolve risks Develop, verify next-level product Plan next phase And test plan requirements Operational prototype

2 nd LectureCEN 4021: Software Engineering II Spiral model sectors  Objective setting –Specific objectives for the phase are identified.  Risk assessment and reduction –Risks are assessed and activities put in place to reduce the key risks.  Development and validation –A development model for the system is chosen which can be any of the generic models.  Planning –The project is reviewed and the next phase of the spiral is planned.

2 nd LectureCEN 4021: Software Engineering II Spiral Model problems  Highly dependent on risk analysis –Requires very knowledgeable personnel –Errors may occur if risk is not properly analyzed  Willingness of the Customer

2 nd LectureCEN 4021: Software Engineering II RAD Model  Rapid Application Development  User is involved in all phases  Use tools that allow product evaluation at all stages of development  Characterized by quick turnaround time from requirements definition to delivery  High component reuse factor

2 nd LectureCEN 4021: Software Engineering II RAD Model Development Effort Time Requirements Planning User Description Construction Cut Over User Involvement

2 nd LectureCEN 4021: Software Engineering II Phases in RAD Model  Requirements planning phase –Requirements are gathered using technique called joint requirements planning (JRP)  User description –Joint application design (JAP) is used to harness user involvement.

2 nd LectureCEN 4021: Software Engineering II Phases in RAD Model  Construction phase –Combines design, coding, testing. Heavy use of code generators and other production tools  Cut over –Acceptance testing, installation and user training.

2 nd LectureCEN 4021: Software Engineering II Strengths of RAD  Use of powerful tools reduces cycle time  Lower cost due to reduced cycle time  Ongoing customer involvement  Reuse of existing program component

2 nd LectureCEN 4021: Software Engineering II RAD problems  Heavily dependent on user involvement throughout the process.  Requires highly skilled developers in the use of development tools.  Heavily dependent on reusable components.

2 nd LectureCEN 4021: Software Engineering II Generic activities  Specification  Design (and implementation)  Validation  Evolution

2 nd LectureCEN 4021: Software Engineering II Specification  The process of establishing what services are required and the constraints on the system’s operation and development.  Requirements engineering process –Feasibility study; –Requirements elicitation and analysis; –Requirements specification; –Requirements validation.

2 nd LectureCEN 4021: Software Engineering II example requirements engineering process

2 nd LectureCEN 4021: Software Engineering II design and implementation  The process of converting the system specification into an executable system.  design –Design a software structure that realises the specification;  Implementation –Translate this structure into an executable program;  The activities of design and implementation are closely related and may be inter-leaved.

2 nd LectureCEN 4021: Software Engineering II example design process activities  Architectural design  Abstract specification  Interface design  Component design  Data structure design  Algorithm design

2 nd LectureCEN 4021: Software Engineering II example software design process

2 nd LectureCEN 4021: Software Engineering II Validation  Verification and validation (V & V) is intended to show that a system conforms to its specification and meets the requirements of the system customer.  Involves checking and review of processes, various testing stages.  Testing involves executing the system with test cases that are derived from the specification.  Testing tries to establish if observed behaviour matches expected behaviour.

2 nd LectureCEN 4021: Software Engineering II Testing stages  Unit testing –Individual components are tested independently; –Components may be functions or objects or coherent groupings of these entities.  Integration testing (subsystem testing) –Individual components are merged and tested.  System testing –Testing of the system as a whole. Testing of emergent properties is particularly important.  Acceptance testing –Testing with customer data to check that the system meets the customer’s needs.

2 nd LectureCEN 4021: Software Engineering II Testing phases note that model is V

2 nd LectureCEN 4021: Software Engineering II Evolution  Software is inherently flexible and can change.  As requirements change through changing business circumstances, the software that supports the business must also evolve and change.  Although there has been a demarcation between development and evolution (maintenance) this is increasingly irrelevant as fewer and fewer systems are completely new.

2 nd LectureCEN 4021: Software Engineering II Example evolution process