1
© McGraw Hill LLC. All rights reserved. No reproduction or distribution without the prior written consent of McGraw Hill LLC.
2
David Kung November 6, 2022
Message
to
Instructors
The solutions provided in this manual may not be complete, or 100% correct, due to my limitation and the nature of some software engineering problems. Although I have tried to check and correct grammar errors and typos, I am sure the manual may still have many. I will continue to improve it and apologize for any inconvenience that may cause to you.
© McGraw Hill LLC. All rights reserved. No reproduction or distribution without the prior written consent of McGraw Hill LLC.
3
Contents I
INTRODUCTION AND SYSTEM ENGINEERING
5
1
Introduction
5
2
Software Process and Methodology
13
3
System Engineering
19
II
ANALYSIS AND ARCHITECTURAL DESIGN
28
4
Software Requirements Elicitation
28
5
Domain Modeling
40
6
Architectural Design
48
III MODELING AND DESIGN OF INTERACTIVE SYSTEMS
53
7
Deriving Use Cases from Requirements
55
8
Actor-System Interaction Modeling
62
© McGraw Hill LLC. All rights reserved. No reproduction or distribution without the prior written consent of McGraw Hill LLC.
4 9
Object Interaction Modeling
70
10
Applying Responsibility-Assignment Patterns
84
11
Deriving a Design Class Diagram
89
12
User Interface Design
93
IV
MODELING AND DESIGN OF OTHER TYPES OF SYSTEMS
97
13
Object State Modeling
99
14
Activity Modeling for Transformational Systems
110
15
Modeling and Design of Rule-Based Systems
112
V
APPLYING SITUATION-SPECIFIC PATTERNS 120
16
Applying Patterns to Design a State Diagram Editor
122
17
Applying Patterns to Design a Persistence Framework
134
VI
IMPLEMENTATION AND QUALITY ASSURANCE
149
18
Implementation Considerations
151
19
Software Quality Assurance
160
20
Software Testing
163
VII MAINTENANCE AND CONFIGURATION MANAGEMENT
174
21
176
Software Maintenance
© McGraw Hill LLC. All rights reserved. No reproduction or distribution without the prior written consent of McGraw Hill LLC.
22
5 182
Software Configuration Management
VIII PROJECT MANAGEMENT AND SOFTWARE SECURITY
187
23
Software Project Management
189
24
Software Security
199
Part I
INTRODUCTION AND SYSTEM ENGINEERING Chapter 1
Introduction 1.2 Search the literature and find another four definitions of software engineering in addition to the one given in this chapter. Discuss the pros and cons of these definitions. Solution. Below are five definitions of software engineering including the one in the textbook, listed chronologically. Figure 1.1 shows the pros and cons of these definitions in terms of what are they cover. A better solution should also provide a convincing explanation of the pros and cons. For example, software engineering education, and significant improvement of software PQCT are important considerations of software engineering. IEEE
Ghezzi
(1) Application of engineering to software
√
√
(2) Study of approaches as in (1)
√
Brugge
Sommerville
Kung
√
√
© McGraw Hill LLC. All rights reserved. No reproduction or distribution without the prior written consent of McGraw Hill LLC.
√