Slide 2.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slides:



Advertisements
Similar presentations
1 Requirements and the Software Lifecycle The traditional software process models Waterfall model Spiral model The iterative approach Chapter 3.
Advertisements

Slide 3.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Software Life-Cycle Models
Ch 3: Unified Process CSCI 4320: Software Engineering.
Object-Oriented Software Development CS 3331 Fall 2009.
Slide 2.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill,
Chapter 4 Quality Assurance in Context
Software Process Models
KS3 Mathematics N4 Powers and roots
Slide 1.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 6B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 16.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 8B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 9.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 1.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Slide 5A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 7C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 5D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 7A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 5C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 6A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Chapter 2A 1 Software Engineering CHAPTER 2 SOFTWARE LIFE CYCLE MODELS by Farhad Mavaddat CS430 Notes Modified from the notes of Jerry Breecher of Clark.
Objectives Explain the purpose and various phases of the traditional systems development life cycle (SDLC) Explain when to use an adaptive approach to.
Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 7E.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 10C.52 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Slide 1.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill,
2. Software Life Cycle Models. Software Engineering Overview Software development in theory Iteration and incrementation Risks and other aspects of iteration.
Slide 1.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill,
Slide 1.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R.
Ch 2: Software Life-Cycle Models CSCI Ideal Software Development.
Object-Oriented Analysis and Design Iterative Development and the Unified Process.
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
1 CMPT 275 Software Engineering Software life cycle.
Modified from the notes of Stephen R. Schach
Slide 10.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition,
Note Excerpts from Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R. Schach
Slide 0.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Software Engineering Chapter 3 CPSC Pascal Brent M. Dingle Texas A&M University.
Slide 20.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
SOFTWARE LIFE-CYCLE MODELS CHAPTER 2
Slide 3.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
SOFTWARE LIFE-CYCLE MODELS
Slide 13.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach.
Slide 1.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R.
Slide 2.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R.
Slide 6D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
It specifies the various phases/workflows of the software process, such as: the requirements, analysis (specification), design, implementation,
Software Engineering At Glance. Why We Need Software Engineering? The aim of software engineering is to solve the software crisis Software is delivered.
Slide 12D.88 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Slide 2.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 2 SOFTWARE LIFE-CYCLE MODELS Derived from Dr. Stehpen R. Schach’s.
Slide 12F.135 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach
Workflows Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Slide 2.1 © The McGraw-Hill Companies, 2007 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach.
Introduction Requirements and the Software Lifecycle (3)
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill Stephen R. Schach 1.
Systems Analysis and Design in a Changing World, 6th Edition
Slide 10.1 CHAPTER 10 OVERVIEW OF THE PREVIOUS CHAPTERS.
TK2023 Object-Oriented Software Engineering
Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach 1.
Requirements and the Software Lifecycle
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach
Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach
Software Engineering CHAPTER 2 SOFTWARE LIFE CYCLE MODELS
Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach
Presentation transcript:

Slide 2.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach

Slide 2.2 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 2 HOW INFORMATION SYSTEMS ARE DEVELOPED

Slide 2.3 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter Overview l Information System Development in Theory l Winburg Mini Case Study l Lessons of the Winburg Mini Case Study l Teal Tractors Mini Case Study l Iteration and Incrementation l Iteration: The Newton–Raphson Algorithm l The Winburg Mini Case Study Revisited l Other Aspects of Iteration and Incrementation l Managing Iteration and Incrementation l Maintenance Revisited

Slide 2.4 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Information System Development in Theory l Ideally, an information system is developed as described in Chapter 1 –Linear –Starting from scratch

Slide 2.5 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Information System Development in Practice l In the real world, information system development is very different –We make mistakes –The client’s requirements change while the information system is being developed

Slide 2.6 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Winburg Mini Case Study l Episode 1: The first version is implemented l Episode 2: A mistake is found –The system is too slow because of an implementation fault –Changes to the implementation are begun l Episode 3: The requirements change –A faster algorithm is used l Episode 4: A new design is adopted –Development is complete l Epilogue: A few years later, these problems recur

Slide 2.7 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Evolution Tree Model l Winburg Mini Case Study

Slide 2.8 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Waterfall Model l The linear life cycle model with feedback loops l The waterfall model cannot show the order of events

Slide 2.9 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Return to the Evolution Tree Model l The explicit order of events is shown l At the end of each episode –We have a baseline, a complete set of artifacts (constituent components) l Example: –Baseline at the end of Episode 4: »Requirements 3, Analysis 3, Design 4, Implementation 4

Slide 2.10 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Lessons of the Winburg Mini Case Study l In the real world, information system development is more chaotic than the Winburg mini case study l Changes are always needed –An information system is a model of the real world, which is continually changing –Information technology professionals are human, so we make mistakes l Faults must be fixed quickly—see next slide

Slide 2.11 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Relative Cost to Detect and Correct a Fault

Slide 2.12 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Relative Cost to Detect and Correct a Fault (contd) l If a fault is not detected and corrected, it will be carried over into the next phase l Correcting the fault means –Fixing the fault itself; and –Fixing the effects of the fault in subsequent phases l Between 60 percent and 70 percent of all detected faults are requirements, analysis, and design faults l These faults must be detected and corrected early

Slide 2.13 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Teal Tractors Mini Case Study l While the Teal Tractors information system is being constructed, the requirements change l The company is expanding into Canada l Changes needed include: –Additional sales regions must be added –The system must be able to handle Canadian taxes and other business aspects that are handled differently –Third, the system must be extended to handle two different currencies, USD and CAD

Slide 2.14 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Teal Tractors Mini Case Study (contd) l These changes may be –Great for the company; but –Disastrous for the information system

Slide 2.15 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Moving Target Problem l A change in the information system while it is being developed l Even if the reasons for the change are good, the information system can be adversely impacted –Dependencies will be induced

Slide 2.16 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Moving Target Problem (contd) l Any change made to an information system can potentially cause a regression fault –A fault in an apparently unrelated part of the system l If there are too many changes –The entire information system may have to be redesigned and reimplemented

Slide 2.17 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Moving Target Problem (contd) l Change is inevitable –Growing companies are always going to change –If the individual calling for changes has sufficient clout, nothing can be done about it l There is no solution to the moving target problem

Slide 2.18 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration and Incrementation l The basic information system development process is iterative –To iterate means to repeat l Each successive version is intended to be closer to its target than its predecessor

Slide 2.19 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Miller’s Law l At any one time, we can concentrate on only approximately seven chunks (units of information) l To handle larger amounts of information, use stepwise refinement –Concentrate on the aspects that are currently the most important –Postpone aspects that are currently less critical –Every aspect is eventually handled, but in order of current importance l This is an incremental process –To “increment” means to increase

Slide 2.20 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration and Incrementation l (a) Iteration and (b) incrementation

Slide 2.21 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration and Incrementation (contd) l Iteration and incrementation are used in conjunction with one another l There is no single “requirements phase” or “design phase” l Instead, there are multiple instances of each phase

Slide 2.22 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration and Incrementation (contd)

Slide 2.23 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iterative and Incremental Life-Cycle Model l Sample life cycle of an information system

Slide 2.24 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Traditional Phases and Workflows l Sequential phases do not exist in the real world l Instead, the five core workflows (activities) are performed over the entire life cycle –Requirements workflow –Analysis workflow –Design workflow –Implementation workflow –Test workflow

Slide 2.25 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Workflows l All five core workflows are performed over the entire life cycle l However, at most times one workflow predominates l Examples: –At the beginning of the life cycle »The requirements workflow predominates –At the end of the life cycle »The implementation and test workflows predominate –Planning and documentation activities are performed throughout the life cycle

Slide 2.26 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration and Incrementation (contd) l Iteration is performed during each incrementation

Slide 2.27 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration Example l We use the Newton–Raphson algorithm (1690) to compute the square root of a number N using iteration l Suppose N = l The initial guess is 100 (initial currentValue )

Slide 2.28 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration Example (contd) l Plug this into the formula to get the first iteration l Now our estimate of is –This becomes our next currentValue l We plug the value for currentValue into the right-hand side of the formula

Slide 2.29 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration Example (contd) l Our second iteration is then l Our estimate of is now –This becomes our next currentValue l Again we plug this value into the right-hand side of the formula for our third iteration

Slide 2.30 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration Example (contd) l Continuing yields the following results for newValue : l Third iteration: newValue = l Fourth iteration: newValue = l Fifth iteration: newValue = l Sixth iteration: newValue = l Seventh iteration: newValue = l Eighth iteration: newValue =

Slide 2.31 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration Example (contd) l The seventh iteration and eighth iterations are the same (to 10 decimal places) –The Newton–Raphson iteration has converged to the desired degree of precision l This iteration works well: –The Newton–Raphson square root iteration always works, for every positive starting value

Slide 2.32 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Iteration l Not every iteration is successful –When we build information systems, sometimes (say) the eighth iteration of the analysis is worse than the seventh iteration l If the eighth iteration is worse than the seventh –Discard the eighth iteration –Go back to the seventh iteration –Perform the eighth iteration a different way –Hopefully, this will result in a better eighth iteration l Key point: We do not need to start again from the beginning

Slide 2.33 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Incrementation l Consider the next slide l It shows the life cycle of one information system (each one is different) l The evolution tree model has been superimposed on the iterative and incremental life-cycle model

Slide 2.34 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. The Winburg Mini Case Study Revisited

Slide 2.35 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Incrementation (cont l Each episode corresponds to an increment l Not every increment includes every workflow l Increment B was not completed l Dashed lines denote maintenance –Corrective maintenance, in all three instances

Slide 2.36 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Other Aspects of Iteration and Incrementation l We can consider the project as a whole as a set of mini projects (increments) l Each mini project extends the –Requirements artifacts –Analysis artifact –Design artifacts –Implementation artifacts –Testing artifacts l The final set of artifacts is the complete information system

Slide 2.37 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Other Aspects of Iteration and Increm. (contd) l During each mini project we –Extend the artifacts (incrementation); –Check the artifacts (test workflow); and –If necessary, change the relevant artifacts (iteration)

Slide 2.38 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Other Aspects of Iteration and Increm. (contd) l Each iteration can be viewed as a small but complete waterfall life-cycle model l During each iteration we select a portion of the information system l On that portion we perform the –Traditional requirements phase –Traditional analysis phase –Traditional design phase –Traditional implementation phase

Slide 2.39 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Advantages of the Iter. and Increm. Model (contd) l There are multiple opportunities for checking that the information system is correct –Every iteration incorporates the test workflow –Faults can be detected and corrected early l The robustness of the architecture can be determined early in the life cycle –Architecture—the various component modules and how they fit together –Robustness—the property of being able to handle extensions and changes without falling apart

Slide 2.40 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Advantages of the Iter. and Increm. Model (contd) l We can mitigate risks early l We have a working version of the information system from the start

Slide 2.41 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Managing Iteration and Incrementation l The iterative and incremental life-cycle model is as regimented as the waterfall model … l … because the iterative and incremental life-cycle model is the waterfall model, applied successively l Each increment is a waterfall mini project

Slide 2.42 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Maintenance Revisited l Traditional information system construction l Traditional development –All activities before installation on client’s computer l Traditional maintenance –All activities after installation on client’s computer l These definitions can lead to unexpected consequences

Slide 2.43 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Traditional Maintenance Defn—Consequence 1 l A fault is detected and corrected one day after the information system was installed –Traditional maintenance l The identical fault is detected and corrected one day before installation –Traditional development

Slide 2.44 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Traditional Maintenance Defn—Consequence 2 l An information system has been installed l The client wants its functionality to be increased –Traditional (perfective) maintenance l The client wants the identical change to be made just before installation (“moving target problem”) –Traditional development

Slide 2.45 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Traditional Maintenance Definition l The reason for these and similar unexpected consequences –The traditional definition of maintenance is temporal –Maintenance is defined in terms of the time at which the activity is performed

Slide 2.46 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Modern Maintenance Definition l In 1995, the International Standards Organization and International Electrotechnical Commission defined maintenance operationally l Maintenance is nowadays defined as –The process that occurs when an information system artifact is modified because of a problem or because of a need for improvement or adaptation

Slide 2.47 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Modern Maintenance Definition (contd) l In terms of the ISO/IEC definition –Maintenance occurs whenever an information system is modified –Regardless of whether this takes place before or after installation of the information system

Slide 2.48 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. In the Rest of This Book l Development is the process of creating information system artifacts l Maintenance refers to modifying those artifacts