CS 501: Software Engineering

Slides:



Advertisements
Similar presentations
Software Processes.
Advertisements

Prescriptive Process models
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
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.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CS 501: Software Engineering Fall 2000 Lecture 2 The Software Process.
Lecture # 2 : Process Models
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 المحاضرة الثانية.
Software Project Management
CSE 470 : Software Engineering The Software Process.
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.
CHAPTER 1 SOFTWARE DEVELOPMENT. 2 Goals of software development Aspects of software quality Development life cycle models Basic concepts of algorithm.
Chapter 2 – Software Processes
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
CS 5150 Software Engineering
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 2 Software Processes.
CS CS 5150 Software Engineering Lecture 2 Software Processes.
Object-oriented Analysis and Design
CS 501: Software Engineering
CS 5150 Software Engineering
1 CS 501 Spring 2007 CS 501: Software Engineering Lecture 2 Software Processes.
1 CS 501 Spring 2008 CS 501: Software Engineering Lecture 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Life Cycle Model
Chapter 3 Software Processes.
1 CMPT 275 Software Engineering Software life cycle.
Chapter 2 The process Process, Methods, and Tools
Software Process and Models
©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.
©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.
CS CS 5150 Software Engineering Lecture 3 Software Processes 2.
Software Engineering Management Lecture 1 The Software Process.
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
1 SWE Introduction to Software Engineering Lecture 4.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
1/23 Prescriptive Process Models. 2/23 Prescriptive Models Prescriptive process models advocate an orderly approach to software engineering Prescriptive.
Review of Software Process Models Review Class 1 Software Process Models CEN 4021 Class 2 – 01/12.
1 Software Development Software Engineering is the study of the techniques and theory that support the development of high-quality software The focus is.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CS 5150 Software Engineering Lecture 3 Software Processes 2.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 1: Introduction to Systems Analysis and Design Alan.
1 CS 501 Spring 2004 CS 501: Software Engineering Lecture 2 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.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Software Engineering The Software Process. 2 Why Software Engineering?  Can you approach building software as building a bridge? Why? Why not?  How.
1 Chapter 2 SW Process Models. 2 Objectives  Understand various process models  Understand the pros and cons of each model  Evaluate the applicability.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
Software Engineering Management
Exam 0 review CS 360 Lecture 8.
Chapter 2 – Software Processes
Software Life Cycle “What happens in the ‘life’ of software”
CS 5150 Software Engineering
Software Processes (a)
Chapter 2 SW Process Models
Life Cycle Models PPT By :Dr. R. Mall.
SOFTWARE LIFE-CYCLES Beyond the Waterfall.
CS310 Software Engineering Lecturer Dr.Doaa Sami
Software Processes.
Software Engineering Lecture 17.
Presentation transcript:

CS 501: Software Engineering Lecture 2 Software Processes

Administration Project teams Any short notices to class? Course team email address When you have formed your team and reached agreement with your client, please send a message to cs501-l@lists.cs.cornell.edu with the names of the team, the client's name, and the topic of the project. Letter "l"

Project Concept: Legal Information Institute

Project Concept: ParMETIS

Project Concept: Public Key Infrastructure

Project Concept: Data Tracking System for the Web Library

Project Concept: Revision Control System

Project Concept: Map & GIS Library

Project Concept: Reference Statistics for Olin Library

Project Concept: Water Distribution in Honduran Villages

Project Concept: Small Hotels and Bed & Breakfasts

A Classic Book Frederick P. Brooks, Jr. The Mythical Man Month. Addison-Wesley, 1972.

Software Process Fundamental Assumption: Good processes lead to good software Good processes reduce risk Good processes enhance visibility

Variety of Software Processes Software products are very varied... Therefore, there is no standard process for all software engineering projects BUT successful software development projects all need to address similar issues. This creates a number of process steps that must be part of all software projects

Basic Process Steps in all Software Development • Feasibility and planning • Requirements • System and program design • Implementation and testing • Acceptance testing and release • Operation and maintenance It is essential to distinguish among these aspects and to be clear which you are are doing at any given moment. Do not confuse requirements and design.

Feasibility and Planning A feasibility study precedes the decision to begin a project. • What is the scope of the proposed project? • Is the project technically feasible? • What are the projected benefits? • What are the costs, timetable? A feasibility study leads to a decision: go or no-go.

Requirements The requirements define the function of the system FROM THE CLIENT'S VIEWPOINT. The requirements establish the system's functionality, constraints and goals by consultation with the client and users. They are then defined in a manner that is understandable by both the client and the development staff. This phase is sometimes divided into: Requirements analysis Requirements definition Requirements specification

System and Program Design The design describes the system FROM THE SOFTWARE DEVELOPERS' VIEWPOINT System design: Partition the requirements to hardware or software systems. Establishes an overall system architecture Software design: Represent the software system functions in a form that can be transformed into one or more executable programs Unified Modeling Language (UML)

Implementation and Testing Coding The software design is realized as a set of programs or program units. (Written specifically, acquired from elsewhere, or modified.) Testing Individual components are tested against specifications. The individual program units are integrated and tested against the design by the development staff as a complete system.

Acceptance Testing and Release The complete system is tested against the requirements by the client. Delivery and release The complete system is delivered to the client and released into production.

Operation and Maintenance Operation: The system is put into practical use. Maintenance: Errors and problems are identified and fixed. Evolution: The system evolves over time as requirements change, to add new functions or adapt the technical environment. Phase out: The system is withdrawn from service. This is sometimes called the Software Life Cycle

Sequence of Processes Every software project will include these basic processes, in some shape or form, but: • They may be formal or informal • They may be carried out in various sequences Major alternatives • Sequential: Complete each process step before beginning the next (but see the next few slides). Waterfall model. • Iterative: Go quickly through all process steps to create a rough system, then repeat them to improve the system. Iterative refinement.

Process 1: Sequential The Waterfall Model Requirements Feasibility study Requirements Design System design Implementation Program design Coding Testing Acceptance & release Operation & maintenance

Sequence of Processes A pure sequential model is impossible Examples: • A feasibility study cannot create a proposed budget and schedule without a preliminary study of the requirements and a tentative design. • Detailed design or implementation usually reveals gaps in the requirements specification. The plan must allow for some form of iteration.

Discussion of the Waterfall Model Advantages: • Process visibility • Separation of tasks • Quality control • Cost control Disadvantages: Each stage in the process reveals new understanding of the previous stages, that requires the earlier stages to be revised. The Waterfall Model is not enough!

Modified Waterfall Model Feasibility study Waterfall model with feedback This is better! Requirements System design Program design Coding Testing Acceptance & release Operation & maintenance

Process 2: Iterative Refinement (Evolutionary Development) Concept: Initial implementation for client and user comment, followed by refinement until system is complete. • Vaporware: user interface mock-up • Throw-away software components • Dummy modules • Rapid prototyping • Successive refinement Get something working as quickly as possible!

Iterative Refinement Requirements Evaluation Implementation Design

Iterative Refinement The feasibility Concurrent study is Activities continuous Concurrent Activities Initial Version Requirements Outline Description Intermediate Versions Design Implementation Final Version

Process 3: Phased Development Concept: combines sequential and iterative elements A simple system with basic functionality is brought quickly into production (Phase 1). Subsequent phases are based on experience gained from users of each previous phase. Advantages Pay-back on investment begins soon. Requirement are more clearly understood in developing subsequent phases Example: NSDL

Iterative Refinement + Waterfall Model: Graphics for Basic Outline Description: Add vector graphics to Dartmouth Basic. Phase 1: Extend current language with a preprocessor and run-time support package. (1976/77) Phase 2: Write new compiler and run-time system incorporating graphics elements. (1978/80)

Iterative Refinement + Waterfall Model: Graphics for Basic Phase 0: Iterative Refinement Design Issues: • Pictorial subprograms: coordinate systems, window/viewport • User specification of perspective Design Strategy: (Iterative Refinement) • Write a series of prototypes with various proposed semantics • Evaluate with a set of programming tasks

Iterative Refinement + Waterfall Model: Graphics for Basic Phase 1: Implementation • When the final specification was agreed, the entire preprocessor and run-time support were coded from new. • The system was almost entirely bug-free. Phase 2: New compiler (Waterfall) Phase 1 was used as the requirements definition for the final version.

Observations about Software Processes Completed projects should have the basic process steps but ... the development process is always partly evolutionary. Risk is lowered by: • Prototyping key components • Dividing into phases • Following a visible software process • Making use of reusable components Conclusion It is not possible to complete each step and throw it over the wall.

Three Project Presentations: Sequential Option 1. Requirements Feasibility study Requirements 2. Design System design 3. Implementation Program design Coding Testing If you follow a sequential process the three presentations should be as shown. Acceptance & release Operation & maintenance

Three Project Presentations: Iterative Option Evaluation Requirements first presentation second presentation third presentation Implementation Design