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

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

The software process

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

Software Engineering

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

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

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

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

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

Software Processes 1

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

Pertemuan 2. Software Engineering: The Process

Software Engineering COMP 201

Software Engineering

SWE 211 Software Processes

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

Lecture 5. Software Processes CSC 4700 Software Engineering. Software Development Processes. The software process

Part 1. Software engineering Facts. CSC 4181 Compiler Construction Software Engineering Lectures. What is software engineering? What is software?

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

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

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

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

Software engineering Facts. CSC Compiler Construction Software Engineering Topics. What is software engineering? What is software?

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

Course Organization. Lecture 1/Part 1

Software Engineering COMP 201

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

03. Perspective Process Models

CMPT 275 Software Engineering

The Top Thrill Dragster

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

Chapter 3 Software Process Model

A New Divide & Conquer Software Process Model

Explore Comparative Analysis Software Development Life Cycle Models

2068 I. Attempt any ten questions. (10x6=60)

Test Workflow. Michael Fourman Cs2 Software Engineering

Chapter 3 Prescriptive Process Models

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

Software Processes. Chapter 2. CMPT 276 Dr. B. Fraser Based on slides from Software Engineering 9 th ed, Sommerville.

CSE 435 Software Engineering. Sept 14, 2015

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

Chapter 16 Software Reuse. Chapter 16 Software reuse

SDLC AND MODEL SELECTION: A STUDY

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

Note 10: Software Process

Chapter 16 Software Reuse. Chapter 16 Software reuse

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

REQUIREMENTS ENGINEERING

ABHELSINKI UNIVERSITY OF TECHNOLOGY

SOFTWARE ENGINEERING

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

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

Software Development Software Development Activities

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

version NDIA CMMI Conf 3.5 SE Tutorial RE - 1

Software Engineering QUESTION BANK


Information Systems Development

Software Engineering Part 2

Introduction to Software Engineering

An Overview of Software Process

CS 501: Software Engineering. Lecture 2. Software Processes

SE curriculum in CC2001 made by IEEE and ACM: What is Software Engineering?

CS SOFTWARE ENGINEERING QUESTION BANK

Chapter 8 : Informatics Practices. Software engineering- Process activities and Agile methods. Class XII ( As per CBSE Board) New Syllabus

Software Development Life Cycle (SDLC) Tata Consultancy Services ltd. 12 October

QUALITY ASSURANCE PLAN OKLAHOMA DEPARTMENT OF HUMAN SERVICES ENTERPRISE SYSTEM (MOSAIC PROJECT)

What is Software Engineering?

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

Testing Close to and Post-Release: System, Acceptance, and Regression Testing

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

Software Engineering

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

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

7. Model based software architecture

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

Software LEIC. Lecture 23

Introduction to Systems Analysis and Design

Modern Systems Analysis and Design Seventh Edition

7. What is planning? It is an act of formulating a program for a definite course of action. Planning is to decide what is to be done.

Introduction to Software Engineering

A Comparative Study of Universally Accepted SDLC Models for Software Development

Focus Area Level Report Including Knowledge and Skills, and Performance Indicators

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

Objectives. Rapid software development. Topics covered. Rapid software development. Requirements. Characteristics of RAD processes

Focus Area Level Report Including Knowledge and Skills, and Performance Indicators

Rapid software development

SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY

Software Engineering. Unit 1. Software Process

SE351 Roadmap. SE351a: Software Project & Process Management. W3.2: Software Development Lifecycles

Chapter 1 Systems Development in an Organization Context

7. Project Management

CONTENTS. Introduction to Software Engineering. Software Process and Life Cycle Models. Software Life-Cycle Model-2. Chapter 1. Chapter 2.

Chapter 6: Software Evolution and Reengineering

MTAT Software Engineering Management

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

Introduction to Software Life Cycles and Agile. CSCI 5828: Foundations of Software Engineering Lecture 03 09/02/2014

Software Engineering. M Umair.

Chapter 6. Software Quality Management & Estimation

3. Comparison of Above Described SDLC Models

Transcription:

CMSC 435: Software Engineering Section 0101! Atif M. Memon (atif@cs.umd.edu)! 4115 A.V.Williams building! Phone: 301-405-3071! Office hours!.tu.th. (10:45am-12:00pm)! Don t wait, don t hesitate, do communicate!!! Phone! E-mail! Office hours More Resources! Class TA! Anupama Chinivar (anupama.chinivar@gmail.com)! Office location! AVW 4122! Office hours! Mon.Wed.Fri (10:30am-12:30pm)! In TA room! Course page! www.cs.umd.edu/~atif/teaching/spring2011 Back to Software! Software uses some of the most complex structures ever designed! Need to apply/develop engineering principles to/for software! Software engineering is concerned with theories, methods and tools for professional software development Important: Team Work! Most software is developed! By teams of! ers! Programmers! Managers! Social skills! Trust other team members! They will develop software components that you may use! Management skills! Schedules! Work distribution! Budget 1

A Few Facts About Software Today! Software costs often dominate system costs.! The costs of software are often greater than the hardware cost! Software costs more to maintain than it does to develop.! For systems with a long life, maintenance costs may be several times development costs Costs Involved! Typically! 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 method that is used We will Engineer Software! But what is software?! Computer programs and! Associated documentation! Software products may be developed for! A particular customer or! A general market Role of a Software Engineer! Software engineers should adopt a systematic and organized approach to their work and use appropriate tools and techniques depending on the problem to be solved, the development constraints and the resources available 2

Attributes of Good Software! Should deliver the required functionality and performance! Maintainability! Software must evolve to meet changing needs! Dependability! Software must be trustworthy! Efficiency! Software should not make wasteful use of system resources! Usability! Software must be usable by the users for which it was designed Software Processes! What is a Software Process?! A set of activities whose goal is the development or evolution of software! Some Activities:!! what the system should do and its development constraints! Development! production of the software system! Validation! checking that the software is what the customer wants! Evolution! changing the software in response to changing demands Software Process Models! 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! Evolutionary development! Formal transformation! Integration from reusable components Generic Software Process Models! The waterfall model! Separate and distinct phases of specification and development! Evolutionary development! and development are interleaved! Formal systems development! A mathematical system model is formally transformed to an implementation! Reuse-based development! The system is assembled from existing components 3

Definition Waterfall Model & Software Implementation & Unit Integration & Waterfall Model Problems! Inflexible partitioning of the project into distinct stages! This makes it difficult to respond to changing customer requirements! Therefore, this model is only appropriate when the requirements are well-understood Operation & Maintenance Evolutionary Development! Exploratory development! Objective is to work with customers and to evolve a final system from an initial outline specification. Should start with well-understood requirements! Throw-away prototyping! Objective is to understand the system requirements. Should start with poorly understood requirements Evolutionary Development Outline Description Concurrent Activities Development Validation Initial Version Intermediate Intermediate Versions Versions Final Version 4

Evolutionary Development! Problems! Lack of process visibility! s are often poorly structured! Special skills (e.g. in languages for rapid prototyping) may be required! Applicability! For small or medium-size interactive systems! For parts of large systems (e.g. the user interface)! For short-lifetime systems Formal s Development! Based on the transformation of a mathematical specification through different representations to an executable program! Transformations are correctnesspreserving so it is straightforward to show that the program conforms to its specification! Embodied in the Cleanroom approach to software development Formal s Development Formal Transformations Definition Formal Transformations T1 T2 T3 T4 Formal Formal R1 R2 R3 Executable Program Formal Transformation P1 P2 P3 P4 Proofs of Transformation Correctness Integration & 5

Formal s Development! Problems! Need for specialized 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 or security case must be made before the system is put into operation Reuse-oriented Development! Based on systematic reuse where systems are integrated from existing components or COTS (Commercial-offthe-shelf) systems! Process stages! Component analysis! modification! design with reuse! Development and integration! This approach has received a lot of attention recently Reuse-oriented Development Component Analysis Modification With Reuse Development & Integration Validation Process Iteration! 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 development! Spiral development 6

Incremental Development Incremental Development! 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 prioritized 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 Define Outline Develop Increment Assign to Increments Validate Increment Integrate Increment Incomplete Architecture Validate Final Version 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 Extreme Programming! New approach to development 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 7

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 Spiral Model of the Software Process 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 Software! The process of establishing what services are required and the constraints on the system s operation and development 8

The Engineering Process Feasibility Study Feasibility Report Elicitation & Analysis Models User & Validation Document Software and Implementation! The process of converting the system specification into an executable system! Software 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 The Software Process Architectural Architecture Abstract Software Interface Interface Products Activities Component Component Data Structure Data Structure Algorithm Algorithm Methods! atic approaches to developing a software design! The design is usually documented as a set of graphical models! Possible models! Data-flow model! Entity-relation-attribute model! Structural model! Object models 9

Programming and Debugging The Debugging Process! Translating a design into a program and removing 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 Locate Error Error Repair Repair Error Retest Program Software Validation! Verification and validation 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! testing involves executing the system with test cases that are derived from the specification of the real data to be processed by the system Unit Component The Process Module Sub-system Integration Acceptance User 10

Stages! Unit testing! Individual components are tested! Module testing! Related collections of dependent components are tested! Sub-system testing! Modules are integrated into sub-systems and tested. The focus here should be on interface testing! testing! of the system as a whole. of emergent properties! Acceptance testing! with customer data to check that it is acceptable Acceptance Test Plan Acceptance Test Service Phases Integration Test Plan Integration Test Sub-system Integration Test Plan Sub-system Integration Test Detailed Module & Unit Code & Tests Software Evolution 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 Define Assess Existing s Propose Changes Modify s Existing s New 11