




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































This page intentionally left blank.
DAVID A. GUSTAFSON
Schaum’s Outline Series McGRAW-HILL New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto
v
Software Engineering is not just surveys of techniques and terminology; it includes techniques that students must master. This book is designed for college students taking courses in software engineering at the undergraduate and graduate level. During my 25+ years of teaching software engineering at both the undergraduate and graduate level, I have realized the need for solved examples and for guidance to help students with these techniques. This book is intended to be used in conjunction with a textbook or lecture notes on software engineering. The background and motivation for diagrams, notations and techniques are not included. Included are rules about proper construction of diagrams. Instructions on using techniques are given. Rules are included about applying techniques. Most important, examples and solved problems are given for diagrams, notations, and techniques. Writing this book was not a solitary effort. Many people have influenced this book. In particular, I wish to acknowledge the following: Karen, my wonderful wife, for all of her support and help in creating this book. Without her help, this book would not have been done. Steve, who took time from his PhD studies to critique many of the chapters. My students, who provided the original inspiration for writing this material and who have read these chapters as individual readings, have found mistakes, and have offered suggestions. I would like to thank Ramon, who suggested this book, and the McGraw-Hill editorial staff for their help and suggestions. D AVID A. G USTAFSON
Copyright 2002 The McGraw-Hill Companies, Inc. Click Here for Terms of Use.
This page intentionally left blank.
CONTENTS (^) ix
SCHAUM’S OUTLINE OF
Theory and Problems of
SOFTWARE
ENGINEERING
This page intentionally left blank.
Work-breakdown structure—Determining the subtasks necessary to develop the product.
1.1.1.4 Design—Determining how the software should provide the func- tionality. Architectural design—Designing the structure of the system. Interface design—Specifying the interfaces between the parts of the system. Detailed design—Designing the algorithms for the individual parts.
1.1.1.5 Implementation—Building the software.
1.1.1.6 Testing—Executing the software with data to help ensure that the software works correctly. Unit testing—Testing by the original developer. Integration testing—Testing during the integration of the soft- ware. System testing—Testing the software in an environment that matches the operational environment. Alpha testing—Testing by the customer at the developer’s site. Beta testing—Testing by the customer at the customer’s site. Acceptance testing—Testing to satisfy the purchaser. Regression testing—Saving tests from the previous version to ensure that the new version retains the previous capabilities.
1.1.1.7 Delivery—Providing the customer with an effective software solu- tion. Installation—Making the software available at the customer’s operational site. Training—Teaching the users to use the software. Help desk—Answering questions of the user.
1.1.1.8 Maintenance—Updating and improving the software to ensure continued usefulness.
1.1.2TYPICAL DOCUMENTS
1.1.2.1 Statement of work—Preliminary description of desired capabil- ities, often produced by the user.
1.1.2.2 Software requirements specification—Describes what the finished software will do. Object model—Shows main objects/classes.
2 CHAPTER 1^ The Software Life Cycle
Use case scenarios—Show sequences of possible behaviors from the user’s viewpoint.
1.1.2.3 Project schedule—Describes the order of tasks and estimates of time and effort necessary.
1.1.2.4 Software test plan—Describes how the software will be tested to ensure proper behavior. Acceptance tests—Tests designated by the customer to determine acceptability of the system.
1.1.2.5 Software design—Describes the structure of the software. Architectural design—The high-level structure with the intercon- nections. Detailed design—The design of low-level modules or objects.
1.1.2.6 Software quality assurance plan (SQA plan)—Describes the activ- ities that will be done to ensure quality.
1.1.2.7 User manual—Describes how to use the finished software.
1.1.2.8 Source code—The actual product code.
1.1.2.9 Test report—Describes what tests were done and how the system behaved.
1.1.2.10 Defect report—Describes dissatisfaction of the customer with specific behavior of the system; usually, these are software fail- ures or errors.
1.2Software Life Cycle Models
The four different software life cycle models presented in the following sections are the most common software life cycle models.
1.2.1 THE LINEAR SEQUENTIAL MODEL
This model, shown in Fig. 1-1, is also called the waterfall model, since the typical diagram looks like a series of cascades. First described by Royce in 1970, it was the first realization of a standard sequence of tasks. There are many versions of the waterfall model. Although the specific develop- ment tasks will occur in almost every development, there are many ways to divide them into phases. Note that in this version of the waterfall, the project planning
CHAPTER 1 The Software Life Cycle (^3)
Review Questions
Answers to Review Questions
Final user manual Implementation phase Architectural design Design phase SQA plan Project planning phase Module specification Design phase Source code Implementation phase Statement of work Feasibility phase Test plan Requirements phase Preliminary user manual Requirements phase Detailed design Design phase Cost estimate Project planning phase Project plan Project planning phase
CHAPTER 1 The Software Life Cycle (^5)
Test report Testing phase Documentation Implementation phase
Market analysis Project planning, cost estimating, requirement specification (may be done concur- rently) Requirements review High-level design Low-level design Design review Implementation Unit testing Systems testing Acceptance testing
6 CHAPTER 1^ The Software Life Cycle
Req Design Imp Test Delivery
Time
Fig. 1-2. Iterative life cycle model.