Pertemuan 2. Software Engineering: The Process

Similar documents
Software Processes. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 1

The software process

Based on Software Engineering, by Ian Sommerville Coherent sets of activities for specifying, designing, implementing and testing software systems

Lectures 2 & 3. Software Processes. Software Engineering, COMP201 Slide 1

Software Processes. Objectives. Topics covered. The software process. Waterfall model. Generic software process models

II. Software Life Cycle. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

CMSC 435: Software Engineering Section Back to Software. Important: Team Work. More Resources

Objectives. The software process. Topics covered. Waterfall model. Generic software process models. Software Processes

Software Engineering

Topics covered. Software process models Process iteration Process activities The Rational Unified Process Computer-aided software engineering

Software Engineering

Lecture 1. In practice, most large systems are developed using a. A software process model is an abstract representation

Software Processes 1

9/24/2011 Sof o tw t a w re e P roc o e c s e s s s Mo M d o e d l e s l 1 Wh W a h t t i s i s a Pr P oc o ess s 2 1

System and Software Engineering. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 1 Slide 1

Software Engineering COMP 201

SWE 211 Software Processes

Introduction to Software Engineering

Chapter 3 Prescriptive Process Models

Darshan Institute of Engineering & Technology for Diploma Studies Rajkot Unit-1

Explore Comparative Analysis Software Development Life Cycle Models

Volume 8, No. 1, Jan-Feb 2017 International Journal of Advanced Research in Computer Science RESEARCH PAPER Available Online at

Course Organization. Lecture 1/Part 1

03. Perspective Process Models

Chapter 3 Software Process Model

Software Engineering. Unit 1. Software Process

SOFTWARE ENGINEERING

CSE 435 Software Engineering. Sept 14, 2015

Introduction to Systems Analysis and Design

SDLC AND MODEL SELECTION: A STUDY

An Overview of Software Process

3. Comparison of Above Described SDLC Models

The Top Thrill Dragster

understand, in outline, the activities involved in software requirements engineering, software development, testing and evolution;

Selecting Software Development Life Cycles. Adapted from Chapter 4, Futrell

A Comparative Study on Software Development Life Cycle Models

Note 10: Software Process

Software Modeling & Analysis. - Fundamentals of Software Engineering - Software Process Model. Lecturer: JUNBEOM YOO

This tutorial also elaborates on other related methodologies like Agile, RAD and Prototyping.

Software Engineering COMP 201

Chapter 3. Information Systems Development. McGraw-Hill/Irwin. Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved.

A Comparison Between Evolutionary and Prototype Model

Software Engineering Part 2

Planning and the Software Lifecycle. CSCE Lecture 2-08/26/2015

2009 Spring. Software Modeling & Analysis. - Software Process Model. Lecturer: JUNBEOM YOO

REQUIREMENTS ENGINEERING

A New Divide & Conquer Software Process Model

Building Information Systems

7. Project Management

A Comparison Between Two Software Engineering Processes, RUP And Waterfall Models

Building Information Systems

Development Process and Analysis. LTOOD/OOAD - Verified Software Systems 1

Solutions Manual. Object-Oriented Software Engineering. An Agile Unified Methodology. David Kung

ABHELSINKI UNIVERSITY OF TECHNOLOGY

Chapter 13. Building Information Systems

Chapter 16 Software Reuse. Chapter 16 Software reuse

II-IT IV-SEM. 1. Software product and process. Software Engineering and Quality Assurance. Objectives:

CMPT 275 Software Engineering

5) A work breakdown structure is a list of tasks broken down to small manageable activities. Answer: TRUE Diff: 2 Page Ref: 42

Introduction to Software Life Cycles. CSCI 5828: Foundations of Software Engineering Lecture 06 09/08/2016

Object-Oriented and Classical Software Engineering

A Comparative Study of Universally Accepted SDLC Models for Software Development

Lecture 2: Software Quality Factors, Models and Standards. Software Quality Assurance (INSE 6260/4-UU) Winter 2016

Advanced Software Engineering FYI

Software Engineering

Chapter 6. Software Quality Management & Estimation

Software Development Software Development Activities

Research Article / Paper / Case Study Available online at: Analysis of Strengths and Weakness of SDLC Models Shikha Verma Delhi India

Software Engineering Unit - 1 (Lecture Notes)

Information Systems Development

Chapter 16 Software Reuse. Chapter 16 Software reuse

Introduction to Software Engineering

Sri Vidya College of Engineering & Technology-Virudhunagar

Softwaretechnik. Lecture 02: Processes. Peter Thiemann SS University of Freiburg, Germany

SDLC Models- A Survey

Software Processes. Minsoo Ryu. Hanyang University. Real-Time Computing and Communications Lab., Hanyang University

Chapter 2 Objectives. Pfleeger and Atlee, Software Engineering: Theory and Practice (edited by B. Cheng) Chapter 2.

The Systems Development Lifecycle

Chapter 1 Systems Development in an Organization Context

Software Design COSC 4353/6353 D R. R A J S I N G H

Modern Systems Analysis and Design Seventh Edition

Object-Oriented and Classical Software Engineering THE SOFTWARE PROCESS 9/17/2017. CHAPTER 3 Slide 3.2. Stephen R. Schach. Overview Slide 3.

Object-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 11: Managing the Software Process

22C:180/55:180 Software Engineering-- Architecture & Design of Software Systems

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT SOFTWARE ENGINEERING 2

Software Process. Overview

CS 501: Software Engineering. Lecture 2. Software Processes

TOPIC DESCRIPTION SUPPLEMENT for the SYSTEMS ENGINEERING SURVEY DESCRIPTION

CS SOFTWARE ENGINEERING QUESTION BANK


Software Engineering. SOFTWARE ENGINEERING Subject Code: 10IS51 I.A. Marks : 25 Hours/Week : 04 Exam Hours: 03 Total Hours : 52 Exam Marks: 100 PART A

Chapter. Redesigning The Organization With Information Systems

Software Processes. CSE-C3610, Software Engineering, 5 cr. Prof. Casper Lassenius

Analysis of Spiral Model in Software Projects for the Software Houses of Pakistan

7. Model based software architecture

Software processes. Software Applications A.Y. 2018/2019

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

A Software Measurement Case Study Using GQM

Major attributes of the Lifecycle. The Systems Development Lifecycle. Project phases. Planning. Design. Analysis

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Software Engineering Third Year CSE( Sem:I) 2 marks Questions and Answers

Transcription:

Pertemuan 2 Software Engineering: The Process

Collect Your Project Topic

What is Software Engineering? Software engineering is the establishment and sound engineering principles in order to obtain economically software that is reliable and works efficiently on real machines (Fritz Bauer,1969) Software engineering is [1] the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software, and [2] the study of approaches as in [1] (IEEE,1993) * SEPA 6 th ed, Roger S. Pressman

What is software engineering? i An engineering discipline which is concerned with all aspects of software production Engineering discipline Discover solutions by applying theories, methods or other mechanisms. Work within constraints All aspects of software production Software development (technical processes) Project management Development of supporting tools, methods and theories

What is a software process? A set of activities and associated results whose goal is the development or evolution of a software product Generic activities in all software processes are: Specification what ht the system should do and its development constraints Development production of the software system Validation checking that t the software is what ht the customer wants Evolution changing the software in response to changing demands

The software process A structured set of activities (and associated results) required to develop (evolve) a software system Specification Design and implementation Validation ld Evolution A software process model is an abstract representation of a process. presents a description of a process from a particular perspective a simplified representation

The software process Software development is a complex process needing human jd judgement and creativity it therefore could not be fully automated There is no ideal software process Many diverse processes exist There is room for improvement! Organizations select software processes based on Organizations select software processes based on: capabilities of people in the organization characteristics of the system to be developed etc.

A Layered Technology Software Engineering Tools (The support) Methods (The How to ) process model (The glue and foundation) a quality focus (The commitment) * SEPA 6 th ed, Roger S. Pressman

Work Orientation* Need to be : Target Oriented Process Oriented Quality Oriented

Why SE? (1) To get the right software and to make the software right Complexity of software Domain problem: Business Rule Data size: Digital it and Non Digitalit Solution: Algorithm Place or Sites

Why SE? (2) Software must be correct Software correctness have to be maintained

How should SE be applied? There are 2 things to be considered in SE: Product = Software: Programs Documents Data Process of how the software is build: Management process Technical process

Product of SE Product is obtained through stages of development = Software Development Life Cycle (SDLC) Examples of life cycles (SDLC): Waterfall model V model Spiral model Fountain model Prototyping

Process of SE (1) Management process includes: Project management Configuration management Quality Assurance management

Process of SE (2) Technical process, described as methods to be applied in a particular stage of the s/w development life-cycle Analysis methods Design methods Programming methods Testing methods Technical methods are leading to paradigms

When should SE be applied? Pre project Project Initiation i i Project Realisation Software Delivery & Maintenance

Who is involved? Manager Project Manager Configuration Manager Quality Assurance Manager Software Developer: Analyst Designer Programmer

Who is involved? Who is involved? Support Administration Technical Support for Customer Welfare

What is the difference between software engineering and computer science? Computer science is concerned with theory and fundamentals; software engineering is concerned with the practicalities of developing and delivering useful software. Computer science theories are still insufficient to act as a complete underpinning for software engineering. * Software Engineering 7 th ed, Ian Sommerville

What Is The Difference Between Software Engineering And System Engineering? System engineering is concerned with all aspects of computer based systems development including hardware, software and process engineering. Software engineering is part of this process concerned with developing the software infrastructure, control, applications and databases in the system. System engineers are involved in system specification, architectural design, integration and deployment. * Software Engineering 7 th ed, Ian Sommerville

Systems engineering i Specifying, designing, implementing, validating, deploying and maintaining socio technical systems. Concerned with Services provided d by the system Constraints on its construction and operation Ways in which it is used Software Hardware System interaction with users and environment

Systems engineering i Why does a software engineer need to understand system engineering aspects? Many software systems are part of a larger system System engineering gdecisions have direct impacts on software Many systems now have lots of software parts

Systems engineering i Systems have limited scope for rework during system development Decisions are expensive to change (e.g. hardware manufactured) Software on the other hand is flexible and allows change during system development Interdisciplinary involvement Many different disciplines i involved in system engineering i Increased possibility of misunderstanding due to different technologies and conventions used

What Are The Costs of Software Engineering? Roughly 60% of costs are development costs, 40% are testing costs. For custom software, evolution costs often exceed development costs. Costs vary depending on the type of system being developed and the requirements of system attributes such as performance and system reliability. Distribution of costs depends on the development model that is used. * Software Engineering 7 th ed, Ian Sommerville

What Are Software Engineering Methods? Structured approaches to software development which include system models, notations, rules, design advice and process guidance. Model descriptions Rules Descriptions of graphical models which should be produced; Constraints applied to system models; Recommendations Advice on good design practice; Process guidance What activities to follow. * Software Engineering 7 th ed, Ian Sommerville

Questions To Ask And Be Answered What is the problem What entities needed to solve the problems How will the entity (solution) be realised What approach used for detecting errors How to support the entity over time in relation to corrections, adaptations, and enhancements.

Software phases Definition Phase : information, functions/performances, behaviors, interfaces, constraints, and validation criteria Development Phase : data structure, function implementation, interface character, design programming, and testing Support Phase : error correction, adaptation, enhancement, prevention/re engineering g

Requirement justifications * Necessity : Need to have, nice to have, need not to have Feasibility : technically, economically, operationally

A Common Process Framework Framework activities tasks milestones & deliverables QA checkpoints Umbrella Activities Umbrella Activities

Umbrella Activities Software project management Formal technical reviews Software quality assurance Software configuration management Document preparation and production Reusability management Measurement Risk management

What is a software process model? A simplified representation of a software process, presented from a specific perspective Examples of process perspectives are Workflow perspective sequence of activities Data flow perspective information flow Role/action perspective who does what Generic process models Waterfall Iterative development Formal transformation Integration from reusable components

Problem Solving Loop Model problem definition status quo technical development solution integration

Problem Solving Loop Model problem definition status quo technical development solution integration problem definition Status Quo status quo technical development problem definition solution integration status quo technical development solution integration

Problem Solving Loop Model Difficult to contain activity neatly Cross talks within and across stages Tasks (and degree of rigor) for each activity will vary based on: the type of project (an entry point to the model) characteristics of the project common sense judgment; concurrence of the project team

Generic software process models The waterfall model Separate and distinct t phases of specification and development Evolutionary development Specification, development and validation are interleaved Component based software engineering The system is assembled from existing components. There are many variants of these models formal development a waterfall like process is used but the specification is a formal specification that is refined through several stages to an implementable design.

Waterfall model Requirements definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance

Waterfall model phases Requirements analysis and definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance

Waterfall model Each stage produces documents at the end Next stage starts only after signing off the previous stage non overlapping stages (but in reality, they do overlap) A number of iterations e.g. requirement errors identified during design, go back and correct them Due to the high cost involved in rework, stages are frozen after a few iterations. ti problems identified later are left to be resolved later or worked around in programming may lead to badly structured systems

Waterfall Model Features

Waterfall model: advantages It is a well understood mature process Easy to manage projects Produces robust, well structured systems High process visibility

The Linear (Waterfall) Model Changes can create confusion Difficult to accommodate early stage natural uncertainty Working version can only be obtained later on

Waterfall Model Negative Characteristics

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 Requirement changes are limited

The Linear (Waterfall) Model Requirements Analysis : information, function, behavior, performance, and interface > Deliverable : SRS Document Design : data structure, t software architecture, t interface representation, tti algorithm. Deliverable : Software Configuration Code generation : deliverables : program code Testing : logical and functional Support : error correction, adaptation, enhancement

Waterfall Model Characteristics

Waterfall Model Document

Waterfall Model Fitness

Waterfall Model (Another Look)

Development Process Discussion Time to Market

Development Process Shorter Life Cycle

Prototyping Models listen to customer build/revise mock-up customer test-drives mock-up Prototyping

Prototyping Models Prototype serves as first system Can make customer demands of a few fixes to make a working product Implementation is compromised to get a prototype quickly. Need to agree that prototype only serves as mechanism for defining fii requirements

Prototyping Model Used in Combination with Waterfall Model

Prototyping

Evolutionary Prototyping

Throw away Prototyping

Revolutionary Development

RAD Models team #1 team #2 b u s i n e s s m o d e l i n g team #3 b u s i n e s s m o d e l i n g d a t a m o d e l i n g business modeling m d a t a o d e l i n g p r o c e s s m o d e l i n g a p p l i c a t i o n g e n e r a t i o n data modeling p r o c e s s m o d e l i n g te s tin g & tu rn o v e r process modeling a p p l i c a t i o n g e n e r a t i o n t e s t i n g & tu r n o v e r application generation testing & turnover 60-90 days RAD

The RAD Model Business Modelling : BPM (what info needed, who generate it, who use it,etc), BPR Data Modelling : data objects, attributes, and relationship Process Modelling : add, modify, delete, retrieve data object Application Generation : reuse and /or create reusable components Testing and turnover : newly created components

The RAD Model Requires substantial resources for large projects Requires commitment of developers and customers. Not suitable for high risk and performance applications (high degree of interoperability)

The Incremental Model System/information engineering increment 1 analysis design code test delivery of 1st increment increment 2 analysis design code test delivery of 2nd increment increment 3 analysis design code test delivery of 3rd increment increment 4 analysis design code test delivery of 4th increment calendar time

The Incremental Model First increment = core product Subsequent increments = additional features and functions Useful for under staff situation to meet dateline

Incremental development 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 But requirements for later increments can continue to evolve

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

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 Different processes can be used for increments Disadvantages Difficult to map user requirements into increments which can deliver functionality Difficult to identify small increments (<20,000 LOC) Difficulty of identifying the common facilities needed by all sub systems

Spiral model of the software process Determine objectives alternatives and constraints Plan next phase REVIEW Requirements plan Life-cycle plan Development plan Integration and test plan Risk analysis Risk analysis Risk analysis Prototype 2 Risk analysis Prototype 1 Concept of Operation Requirement validation Design V&V Service S/W requirements Acceptance test Operational protoype Evaluate alternatives identify, resolve risks Prototype 3 Simulations, models, benchmarks Product design Code Unit test Integration test Detailed design Develop, verify next-level product

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 Develop and validate the system in the current phase Planning The project is reviewed and the next phase of the spiral is planned

The Spiral Model Start from center clockwise Each pass = next stage of project : e.g. Concept development, product development, product enhancement Realistic approach to large scale system development Better understanding and reaction to risk Requires expertise in risk assessment Not widely used

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 Ri k li itl d d l d th h t th Risks are explicitly assessed and resolved throughout the process

Spiral model Identifies probable risks in advance and tries to minimize them e.g. if it is decided to use a new programming language, the compilers available may not be reliable Occurrence of a risk item could result in project delay, exceeding cost or even failure Different processes maybe used for different loops in the spiral

Component Based Model Identify Candidate component Customer Communication P la nn in g Risk Analysis Construct iteration of system Look up component in library Engineering i Put new component in library Extract component if available Customer Evaluation Construction & Release Build component if unavailable

The Component based Model process to apply when reuse is a development objective Unified Modeling Language (UML) for defining components to use and interfaces that connect the components

V Model

V Model Document Produced

The 4 th Generation Techniques Ability to specify software characteristics at high level Includes : code generation, report generation, data manipulation, HTML generation, etc Offers credible solutions to software problems Reduction amount of design and analysis Requires more analysis, design, and testing of software

Component based software engineering Reuse occurs informally in almost all software projects Based on systematic reuse where systems are integrated from existing components or COTS (Commercial off the shelf) systems. Process stages Component analysis Requirements modification System design with reuse Development and integration This approach is becoming increasingly used as component standards have emerged

Component based software engineering.. Requirements specification Component analysis Requirements modification System design with reuse Development and integration System validation

Component based software engineering.. Advantages reduces the amount of software to develop reduces cost and risks faster delivery Disadvantages requirement compromises lose control of system evolution (because component evolution is not controllable)

Formal systems development Based on the transformation of a mathematical specification through different representations to an executable program Transformations are correctness preserving so it is straightforward to show that the program conforms to its specification Design, implementation and unit testing phases are replaced g, p g p p by a transformational development process

Formal systems development Requirements Formal Formal Integration and definition specification transformation system testing (iterations have been excluded)

Formal transformations Formal transformations T1 T2 T3 T4 Formal specification R1 R2 R3 Executable program P1 P2 P3 P4 Proofs of transformation correctness

Formal systems development Problems Need for specialised skills and training to apply the technique Difficult to formally specify some aspects of the system such as the user interface Applicability Critical systems especially those where a safety, reliability and security requirements are important e.g. Patient monitoring system, airplane engine control system

Process iteration and hybrid models LARGE SYSTEMS need different approaches for different parts System requirements always evolve during a project So process iteration ti where earlier stages are reworked kd is always part of the process for large systems Two (related) approaches pp Incremental development Spiral development

Still Other Process Models Concurrent process model recognizes that different part of the project will be at different places in the process Formal methods the process to apply when a mathematical specification is to be developed Clean room software engineering emphasizes error detection before testing

The Primary Goal: High Quality Remember: High quality = project timeliness Why? Less rework!

CMM I (Capability Maturity Model Integrated) * Initial i : ad hoc process, sometimes chaotic, success depends d on individuals id Repeatable : basic PM to track cost, schedule and functionality, posses necessary process discipline to repeat earlier success. Defined : process are documented, standardized and integrated Managed : detailed measures and product quality are collected. Both process and products are understood and controlled using detailed measures. Managed : detailed measures and product quality are collected. Both process and products are understood and controlled using detailed measures. Success is probable Optimizing : continuous process trough feedback. Success is always

What is CASE (Computer Aided d Software Engineering) i Software systems that are intended to provide automated support for software process activities. iti CASE systems are often used for method support. Upper CASE Tools to support the early process activities of requirements and design; Lower CASE Tools to support later activities such as programming, debugging and testing. * Software Engineering 7 th ed, Ian Sommerville