Software Engineering. Software Development Process Models. Lecturer: Giuseppe Santucci

Similar documents
Objectives. The software process. Basic software process Models. Waterfall model. Software Processes

To introduce software process models To describe three generic process models and when they may be used

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

CS 389 Software Engineering. Lecture 2 Chapter 2 Software Processes. Adapted from: Chap 1. Sommerville 9 th ed. Chap 1. Pressman 6 th ed.

Software Processes. The software process. Generic software process models. Waterfall model. Waterfall model phases

The software process. Generic software process models. Waterfall model. Software Development Methods. Bayu Adhi Tama, ST., MTI.

Modelli di sviluppo software. Enrico Giunchiglia

Unit 1 Learning Objectives

Software Processes. Coherent sets of activities for specifying, designing, implementing and testing software systems

Software Processes. Topics covered

Chapter 2 Software Processes

Lecture 3 Software Development Processes

Software Engineering. Objectives. Designing, building and maintaining large software systems

Software Engineering. What is a system?

Lecture Objectives. Software Life Cycle. Software Engineering Layers. Software Process. Common Process Framework. Umbrella Activities

CSE 435 Software Engineering. Sept 16, 2015

Software Engineering. Software Engineering. Software Costs

Chapter 3. Software Processes

Foundations of software engineering

Software Project Models

Software Process Models. Xin Feng

Advanced Software Engineering. Software Development Processes

Software Life Cycle Processes

Software Production and Lifecycle Models

CSCI-485: Software Design

Unit I. Introduction

Module 2. Software Life Cycle Model. Version 2 CSE IIT, Kharagpur

2. Analysis, Design and Implementation

CS4507 Advanced Software Engineering

And the Models Are System/Software Development Life Cycle. Why Life Cycle Approach for Software?

2. Analysis, Design and Implementation

IV. Software Lifecycles

SE464/CS446/ECE452 Software Life-Cycle and Process Models. Instructor: Krzysztof Czarnecki

Software Engineering Reference Framework

11.1 What is Project Management? Object-Oriented Software Engineering Practical Software Development using UML and Java. What is Project Management?

Peter Mileff PhD SOFTWARE ENGINEERING. The Basics of Software Engineering. University of Miskolc Department of Information Technology

CS 487. Week 8. Reference: 1. Software engineering, roger s. pressman. Reading: 1. Ian Sommerville, Chapter 3. Objective:

Classical Software Life Cycle Models

Software Engineering UNIT -1 OVERVIEW

Software Engineering Question Bank

Module 2. Software Life Cycle Model. Version 2 CSE IIT, Kharagpur

CHAPTER_3 SOFTWARE ENGINEERING (PROCESS MODELS)

Software Engineering Introduction & Background. Complaints. General Problems. Department of Computer Science Kent State University

Umbrella: A New Component-Based Software Development Model

What is Software? The Software Development Process. Definition of Software. Why Software?

Process Models and Metrics

In this Lecture you will Learn: Development Process. Unified Software Development Process. Best Practice

ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science

Karunya University Dept. of Information Technology

IT3205: Fundamentals of Software Engineering (Compulsory)

Systems Development Life Cycle (SDLC)

Lecture 1: Introduction to Software Quality Assurance

CSC 492 The Practice of Software Engineering. Lecture 3 University of Mount Union Software Life Cycle Models

General Problem Solving Model. Software Development Methodology. Chapter 2A

應 用 測 試 於 軟 體 發 展 生 命 週 期. Testing In The Software Development Life Cycle

Software Development Process Models

Ingeniería de Software & Ciclos de Vida. Luis Carlos Díaz Miguel Torres Julián Rodriguez

How To Model Software Development Life Cycle Models

Software Development: The Waterfall Model

(Refer Slide Time: 01:52)

COURSE CODE : 4072 COURSE CATEGORY : A PERIODS / WEEK : 4 PERIODS / SEMESTER : 72 CREDITS : 4

Title: Topic 3 Software process models (Topic03 Slide 1).

CSC 342 Semester I: H ( G)

Introduction to Systems Analysis and Design

Software Process for QA

SOFTWARE PROCESS MODELS

Overview. Software engineering and the design process for interactive systems. Standards and guidelines as design rules

Elite: A New Component-Based Software Development Model

Principles of Software Engineering: Software Methodologies. COSI 120b, Spring 2005

A Process Programmer Looks at the Spiral Model

Components Based Design and Development. Unit 2: Software Engineering Quick Overview

Digital Industries Trailblazer Apprenticeship. Software Developer - Occupational Brief

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

Software Development Process Models and their Impacts on Requirements Engineering Organizational Requirements Engineering

A Methodology for the Development of New Telecommunications Services

Chapter 3. Technology review Introduction

Topics covered. An Introduction to Software Engineering. FAQs about software engineering Professional and ethical responsibility

How To Write Software

Life Cycle Models. V. Paúl Pauca. CSC Fall Department of Computer Science Wake Forest University. Object Oriented Software Engineering

A. Waterfall Model - Requirement Analysis. System & Software Design. Implementation & Unit Testing. Integration & System Testing.

CMSC 435: Software Engineering Course overview. Topics covered today

A Review of an MVC Framework based Software Development

Christina Wallin ABB Corporate Research Department of Industrial IT Västerås +46 (0)

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

The Software Process. The Unified Process (Cont.) The Unified Process (Cont.)

How To Understand Software Engineering

How To Develop Software

A Comparison between Five Models of Software Engineering

Software Development Life Cycle (SDLC)

Software development lifecycle

Overview of Software Engineering and the Software Development Process

How To Design An Information System

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur

Software Quality Assurance Plan. Introduction

Module 1. Introduction to Software Engineering. Version 2 CSE IIT, Kharagpur

Software Development Life Cycle

CHAPTERS A NEW KNOT MODEL FOR COMPONENT BASED SOFTWARE DEVELOPMENT

Basic Trends of Modern Software Development

Transcription:

Software Engineering Software Development Process Models Lecturer: Giuseppe Santucci

Summary Modeling the Software Process Generic Software Process Models Waterfall model Process Iteration Incremental model Reuse Formal model Extreme Programming Spiral model Process activities 2

To model the software process Software products are not tangible In order to manage a software project the project manager needs special methods The monitoring is based on the explicit definition of activities to be performed and documents to be produced This means to model the process Produced documents allow to monitor the evolution of the process and provide means to evaluate its quality 3

Process documents Software Development Process Models, and their instances, differ from each other for the foreseen activities and for the documents that are produced Management likes documentation, while developers hate it: Both are wrong views The good compromise Produce documentation useful for the project 4

The software process A structured set of activities required to develop a software system Specification Design and Coding Validation Evolution / Maintenance A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective. 5

Generic software process models The waterfall model Separate and distinct phases of specification and development. Evolutionary development Specification, development and validation are interleaved. Component-based software engineering The system (part of) is assembled from existing components. Formal models Requirements are expressed in a formal language There are many variants of these models e.g., formal development where a waterfall-like process is used but the specification is a formal specification that is refined through several stages to an implementable design. 6

Waterfall process Analysis Design Implementation and unit test Integration and system test Maintenance

Waterfall model phases Requirements analysis and definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance One phase has to be complete before moving onto the next phase 8

Waterfall model s problems One of the main drawback of the waterfall model is the difficulty of accommodating changes after the process is underway Iterations are always around Initial uncertainty: the end user has not a clear vision of the overall system Customer has to wait till a working version of the system is available discovering an error in this phase is dangerous Programmers have to wait the analysis phase

Process iteration System requirements ALWAYS evolve in the course of a project so process iteration where earlier stages are reworked is always part of the process for large systems. Iteration can be applied to any of the generic process models. Two (related) approaches Incremental delivery (Prototypical model/incremental model); Spiral development. 10

Prototypal model Customer interaction Prototype (mock-up) Test with the customer Working prototype: implements only some basic functions (user interface) Main objective: collecting and disambiguating requirements involving the customer SW tools (e.g., balsamiq mockups )

Prototypal model (example) One example from a European project (Promise) Wizard Promise.pptx

Incremental model analysis design implemen tation test version 1... analysis design implemen tation Similar to the prototypal model but - Intermediate versions are full working - It allows for a more accurate design test version n Working versions

Incremental development Define/outline requirements Assign requirements to increments Design system architecture Final system Develop system increment Validate increment Integrate increment Validate system System incomplete 14

Incremental development and delivery Rather than deliver the system as a single delivery, the development and delivery is broken down into increments with each increment delivering part of the required functionality. User requirements are prioritised and the highest priority requirements are included in early increments. Once the development of an increment is started, the requirements are frozen though requirements for later increments can continue to evolve. 15

Incremental development advantages Customer value can be delivered with each increment so system functionality is available earlier Early increments act as a prototype to help elicit requirements for later increments Lower risk of overall project failure The highest priority system services tend to receive the most testing 16

Formal methods Logic or algebraic formalisms for requirement specification, development, and test They do not use the natural language (ambiguous) Some formal languages do exist (e.g., `Z, Z++, ) An example (with an invented syntax)

Formal methods: sort example void Sort(int a[], int n) // it sorts the array in ascending order pre: i J (i 0 i n-1 J 0 J n-1 i J) a[i] a[j] post: ( i (i > 0 i n-1 ) a[i] > a[i-1]) //1.output array elements are sorted ( K (K 0 K n-1 ) L (L 0 L n-1 a[k] = old(a[l]))) //2. elements in the output belong to the input ( R (R >= 0 && R n-1 ) S (S 0 S n-1 old(a[r]) = a[s])) //3.elements in the input belong to the output

Extreme programming An approach based on the development and delivery of very small increments of functionality. Relies on constant code improvement, user involvement in the development team, and pairwise programming. We will see this process model in detail 19

Spiral development Process is represented as a spiral (rather than as a sequence) of activities 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 20

Spiral model of the software process 21

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. 22

Core process activities

Process activities Let us quickly review the main involved activities Software specification Software design and implementation Software validation Software evolution 24

Software specification The process of establishing what services are required and the constraints on the system s operation and development Quality requirements! Requirements engineering process Feasibility study Requirements elicitation and analysis Requirements specification Requirements validation 25

The requirements engineering process Feasibility study Requirement elicitation and analysis Requirement specification Requirement validation Feasibility report System model User and system requirments Requirement document 26

Software design and implementation The process of converting the system specification into an executable system Software 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 27

Design process activities Architectural design Abstract specification Interface design Sw interfaces User interfaces Component design Data structure design Algorithm design 28

The software design process Requirement specification Design activities Architectural design Abstract specification Interface (UI,SWI) design Component design Data structure design Algorithm design System arcitetcture Software specification Interface specification Component specification Data structure specification Algorithm specification Design products 29

Structured design Systematic approaches to software design The design is usually documented as a set of graphical models Possible models (UML encompasses most of them) Object model Sequence model State transition model Structural model Data-flow model 30

Programming and debugging Translating a design into a program and removing (as much as possible) errors from that program Programming is a personal activity - there is no generic programming process (!) Programmers carry out some program testing to discover faults in the program and remove these faults in the debugging process 31

The debugging process Locate error Design error repair Repair error Re-test the program For the error fix For new errors introduced by the fix (regression test) 32

Software 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 processes and system testing System testing involves executing the system with test cases that are derived from the specification of the real data to be processed by the system 33

The testing process Component testing System testing Acceptance testing Integration test 34

Testing stages Component or unit testing Individual components are tested independently Components may be functions or objects or coherent groupings of these entities System testing Testing of the system as a whole Integration test Acceptance testing Testing with customer data to check that the system meets the customer s needs 35

Testing phases Black box tests MUST be designed NOW! Requirement specification System specification System design Detailed design Acceptance test plan System integration test plan Subsystem integration test plan Module and unit code and test Service Acceptance test System integration test Subsystem integration test 36

Software 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 37

System evolution Requirements Assessing existing systems Propose system changes Modify systems Existing systems New systems 38