SWEN 5130 Requirements EngineeringSlide 1 Software Prototyping u Animating and demonstrating system requirements.

Slides:



Advertisements
Similar presentations
Chapter 8 Software Prototyping.
Advertisements

©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.
1 Chapter 4 - Part 1 Software Processes. 2 Software Processes is: Coherent (logically connected) sets of activities for specifying, designing, implementing,
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.
©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.
7M701 1 Software Prototyping Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 8
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
Rapid software development
Alternate Software Development Methodologies
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Chapter 17: Rapid software development November 3, 2008.
Software Engineering 6/e, Chapter 8
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 8 Slide 1 Software Prototyping l Rapid software development.
Lecture 4 Prototyping CS 540 – Quantitative Software Engineering.
©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.
CS 551 – Requirements and Prototyping Fall 2004 Thanks to Rand Edwards and Ian Summerville for this material.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
7M822 Information Technology in Design and Construction 7M822 Joran Jessurun and Jan Dijkstra Quartile 2, Week 1.
Chapter 3 Software Processes.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 8 Slide 1 Software Prototyping l Rapid software development to validate requirements l.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 8 Slide 1 Software Prototyping l Rapid software development to validate requirements.
CSI315 Web Technology and Applications
Software Processes Sumber dari : cc.ee.ntu.edu.tw/~farn/courses/SE/ch4.ppt.
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapter 8 Slide 1 Software Prototyping l Animating and.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©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,
SOFTWARE PROTOTYPING Anil Kumar.Arikepudi.
Chapter 11: Software Prototyping Omar Meqdadi SE 273 Lecture 11 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 8 Slide 1 Software Prototyping l Rapid software development to validate requirements.
 CS 5380 Software Engineering Chapter 2 – Software Processes Chapter 2 Software Processes1.
Rapid software development 1. Topics covered Agile methods Extreme programming Rapid application development Software prototyping 2.
소프트웨어공학 강좌 1 Chap 7. Software Prototyping - Rapid software development to validate requirements -
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Methodologies. Contents Waterfall Model Evolutionary Models Incremental Development.
Chapter 2 – Software Processes Lecture 2 1Chapter 2 Software Processes.
Slide 1 Software Prototyping Class Notes for ReqEng.
S OFTWARE P ROTOTYPING C HAPTER 4. SOFTWARE PROTOTYPING Prototype: Customers and end-users of the system find it difficult to express their real requirements.
Chapter 13: Software Life Cycle Models Omar Meqdadi SE 273 Lecture 13 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Software Prototyping Rapid software development to validate requirements.
© Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 8 Slide 1 軟體雛形 l 快速的軟體開發以確認需求.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
CC20O7N Software Engineering 1 CC2007N Software Engineering 1 Part 1 Introduction to Software Engineering.
©Ian Sommerville 2000, Tom Dietterich 2001 Slide 1 System prototyping l Prototyping is the rapid development of a system l In the past, the developed system.
Software Engineering, 8th edition. Chapter 4 1 Courtesy: ©Ian Sommerville 2006 FEB 13 th, 2009 Lecture # 5 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
1 SYS366 Week 2 - Lecture Visual Modeling and Process.
CS 389 – Software Engineering Lecture 2 – Part 2 Chapter 2 – Software Processes Adapted from: Chap 1. Sommerville 9 th ed. Chap 1. Pressman 6 th ed.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
Rekayasa Perangkat Lunak Part-6
Prototyping in the software process
Software Prototyping.
Lecture 4 Prototyping.
Software Processes (a)
Software Prototyping.
Software Prototyping Animating and demonstrating system requirements.
Software Processes.
CS310 Software Engineering Lecturer Dr.Doaa Sami
Software Processes.
Rapid software development
Presentation transcript:

SWEN 5130 Requirements EngineeringSlide 1 Software Prototyping u Animating and demonstrating system requirements

SWEN 5130 Requirements EngineeringSlide 2 Lesson Objectives u To describe the use of prototypes in requirements validation u To discuss evolutionary and throw-away prototyping u To introduce rapid prototyping techniques u To explain the need for user interface prototyping

SWEN 5130 Requirements EngineeringSlide 3 Topics covered u Prototyping in the software process u Prototyping techniques u User interface prototyping

SWEN 5130 Requirements EngineeringSlide 4 Uses of system prototypes u The principal use is to help customers and developers understand the requirements for the system u The prototype may be used for user training before a final system is delivered u The prototype may be used for back-to-back testing, Reduces the need for tedious manual testing

SWEN 5130 Requirements EngineeringSlide 5 Prototyping benefits u Misunderstandings between software users and developers are exposed u Missing services may be detected u Confusing services may be identified u A working system is available early in the process u The prototype may serve as a basis for deriving and refining a system specification

SWEN 5130 Requirements EngineeringSlide 6 Prototyping process What to include in proto and what to leave out tools, standards, relax non-functional req. Users interface Validate Fun. Sys. Req. Show Feasibility to management May relax error handling and standards of reliability plus quality User can train and become familiar with new system

SWEN 5130 Requirements EngineeringSlide 7 Prototyping objectives u The objective of evolutionary prototyping is to deliver a working system to end-users. The development starts with those requirements which are best understood. u The objective of throw-away prototyping is to validate or derive the system requirements. The prototyping process starts with those requirements which are poorly understood

SWEN 5130 Requirements EngineeringSlide 8 Approaches to prototyping The objective of evolutionary prototyping is to deliver a working system to end-users The objective of throw-away prototyping is to validate or derive the system requirements

SWEN 5130 Requirements EngineeringSlide 9 Evolutionary prototyping u Must be used for systems where the specification cannot be developed in advance e.g. Artificial Intelligence systems and user interface systems u Based on techniques which allow rapid system iterations like the Spiral Model u Verification is impossible as there is no specification. Validation means demonstrating the adequacy of the system

SWEN 5130 Requirements EngineeringSlide 10 Evolutionary prototyping

SWEN 5130 Requirements EngineeringSlide 11 Evolutionary prototyping problems ¶ Existing management processes assume a waterfall model of development · Continual change tends to corrupt system structure so long-term maintenance is difficult & expensive ¸ Specialist skills are required which may not be available in all development teams (Small teams of motivate people) ¹ Organizations must accept that the lifetime of systems developed this way will inevitably be short

SWEN 5130 Requirements EngineeringSlide 12 Throw-away prototyping u Used to reduce requirements risk u The prototype is developed from an initial specification, delivered for experiment then discarded u The throw-away prototype should NOT be considered as a final system Some system characteristics may have been left out There is no specification for long-term maintenance The system will be poorly structured and difficult to maintain

SWEN 5130 Requirements EngineeringSlide 13 Throw-away prototyping System Requirements Specification (SRS) Developed for an online SRS, delivered for experiment and modification until the client is satisfied with functionality

SWEN 5130 Requirements EngineeringSlide 14 Problems with System Specification Prototyping u Some parts of the requirements (e.g. safety-critical functions) may be impossible to prototype and so don’t appear in the specification u An implementation has no legal standing as a contract u Non-functional requirements cannot be adequately tested in a system prototype u Rather than derive a System Spec from a prototype some say a system Spec should be prototyped (write system like this) u The mode of use and training users is not available early enough u May have undesirable features like response time and the client will get negative feed back.

SWEN 5130 Requirements EngineeringSlide 15 Incremental development an Alternative to evolutionary Prototyping u System is developed and delivered in increments after establishing an overall architecture u Users may experiment with delivered increments while others are being developed. Therefore, these serve as a form of prototype system u Intended to combine some of the advantages of prototyping but with a more manageable process and better system structure

SWEN 5130 Requirements EngineeringSlide 16 Incremental development process 1. More manageable than Evolutionary Prototyping 2. Plans & Documents produced/Updated at each stage 3. User feedback early 4. Limits system errors 5. Freeze interfaces therefore no need to retest <= Advantages Disadvantages => 1. System Architecture has to be established before requirements are completed 2. The process may not fit well with the contract model

SWEN 5130 Requirements EngineeringSlide 17 Prototyping techniques u Executable specification languages u Very high-level languages u Application generators and 4GLs u Composition of reusable components

SWEN 5130 Requirements EngineeringSlide 18 Executable specification languages u The system is specified in a formal language u This specification is processed and an executable system is automatically generated u At the end of the process, the specification may serve as a basis for a re-implementation of the system

SWEN 5130 Requirements EngineeringSlide 19 Problems with this approach u Graphical user interfaces cannot be prototyped u Formal specification development is not a rapid process, you must have experts in Formal Methods u The executable system is usually slow and inefficient u Executable specifications only allow functional requirements to be prototyped or tested u Non-Functional Requirements not included

SWEN 5130 Requirements EngineeringSlide 20 Very high-level languages are Programming languages u Languages which include powerful data management facilities u Need a large run-time support system. Not normally used for large system development u Some languages offer excellent UI development facilities u Some languages have an integrated support environment whose facilities may be used in the prototype

SWEN 5130 Requirements EngineeringSlide 21 Prototyping languages

SWEN 5130 Requirements EngineeringSlide 22 Smalltalk u Very powerful system for prototyping interactive systems u Object-oriented language so systems are resilient to change u The Smalltalk environment objects are available to the prototype developer u The system incldues support software such as graphical user interface generation tools

SWEN 5130 Requirements EngineeringSlide 23 Fourth-generation languages u Domain specific languages for business systems based around a database management system u Normally include a database query language, a screen generator, a report generator and a spreadsheet u May be integrated with a CASE toolset u Cost-effective for small to medium sized business systems

SWEN 5130 Requirements EngineeringSlide 24 4GLs

SWEN 5130 Requirements EngineeringSlide 25 Prototyping with reuse or reengineering u The system is prototyped by ‘gluing’ together existing components u Likely to become more widely used as libraries of objects become available u Needs a composition language such as a Unix shell language u Visual Basic is largely based on this approach u Java & Applets

SWEN 5130 Requirements EngineeringSlide 26 Reusable component composition

SWEN 5130 Requirements EngineeringSlide 27 User interface prototyping u It is impossible to pre-specify the look and feel of a user interface in an effective way. prototyping is essential u UI development consumes an increasing part of overall system development costs u Prototyping may use very high level languages such as Smalltalk or Lisp u User interface generators may be used to ‘draw’ the interface and simulate its functionality

SWEN 5130 Requirements EngineeringSlide 28 User interface management system

SWEN 5130 Requirements EngineeringSlide 29 Key points u A prototype can be used to give end-users a concrete impression of the system’s capabilities u Prototyping may be evolutionary prototyping or throw-away prototyping u Rapid development is essential for prototype systems u Prototype structures become corrupted by constant change. Hence, long-term evolution is difficult

SWEN 5130 Requirements EngineeringSlide 30 Key points u In a throw-away prototype start with the least well-understood parts; in an evolutionary prototype, start with the best understood parts u Prototyping methods include the use of executable specification languages, very high- level languages, fourth-generation languages and prototype construction from reusable components u Prototyping is essential for parts of the system such as the user interface which cannot be effectively pre-specified