【正文】
) a) True b) False 5. An architectural style enpasses (包含) which of the following elements?(E) a) constraints (約束) b) set of ponents (組件) c) semantic models (語義模型) d) syntactic models e) a, b and c 6. To determine the architectural style or bination of styles that best fits the proposed system, requirements engineering is used to uncover(發(fā)現(xiàn)) (B) a) algorithmic plexity b) characteristics and constraints c) control and data d) design patterns 7. Before an architectural pattern can be chosen for use in a specific system it must have a code implementation to facilitate its reuse.(B) a) True b) False 8. The criteria(條件) used to assess the quality of an architectural design should be based on system (E) a) Accessibility b) Control c) data d) implementation e) both b and c 9. During the process of modeling the system in context, systems that interact with the target system are represented as(E) a) Peerlevel systems b) Subordinate (下屬) systems c) Superordinate (上級) systems d) Working systems e) a, b and c 10. Once selected, archetypes (原型) always need to be refined further as architectural design proceeds.(A) a) True b) False 11. Which of the following is not an example of infrastructure ponents (基本 組件) that may need to be integrated into the software architecture?(C) a) Communications ponents b) Database ponents c) Interface ponents d) Memory management ponents 12. In the architecture tradeoff analysis method the architectural style should be described using the(E) a) data flow view b) module view c) process view d) user view e) a, b and c 13. Quantitative(定量) methods for assessing (評估) the quality of proposed architectural designs are readily actions.(B) a) True b) False 14. A useful technique for evaluating the overall plexity of a proposed architecture is to look at the ponent(E) a) cohesion flow b) dependencies c) sharing dependencies d) size e) both b and c 15. When the overall flow in a segment of a data flow diagram is largely sequential and follows straightline paths, ( ) is present.(D) a) low coupling b) good modularity c) transaction flow d) transform flow 16. When a single item that triggers(引起) other data flow along one of many paths of a data flow diagram, ( )characterizes the information flow.(C) a) high coupling b) poor modularity c) transaction flow(事務(wù)流) d) transform flow 17. When you encounter both transform flow and transaction flow in the same DFD 數(shù)據(jù)流程圖 the flow is partitioned and the appropriate mapping technique is used on each part of the DFD.(A) a) True b) False 18. In transaction mapping the first level factoring results in the(B) a) creation of a CFD b) derivation of the control hierarchy c) distribution of worker modules d) refinement of the module view 19. A successful application of transform or transaction mapping to create an architectural design is supplemented by(E) a) entity relationship diagrams b) module interface descriptions c) processing narratives for each module d) test cases for each module e) both b and c Chapter 11 – Modeling Componentlevel Design Test Multiple Choices 1. In the most general sense a ponent is a modular building block for puter software.( A) a) True b) False 2. In the context of objectoriented software engineering a ponent contains(D) a) attributes and operations b) instances of each class c) roles for each actor (device or user) d) a set of collaborating classes 3. In traditional software engineering, modules must serve in which of the following roles?(D) a) Control ponent b) Infrastructure ponent c) Problem domain ponent d) All of the above 4. Software engineers always need to create ponents from scratch in order to meet customer expectations fully.(B) a) True b) False 5. Which of the following is not one of the four principles used to guide ponentlevel design?(D) a) Dependency Inversion Principle b) Interface Segregation Principle c) OpenClosed Principle d) Parsimonious Complexity Principle 6. During ponentlevel design it is customary to ignore anization issues like subsystem membership or packaging.(B) a) True b) False 7. The use of stereotypes can help identify the nature of ponents at the detailed design level.(A) a) True b) False 8. Classes and ponents that exhibit functional, layer, or municational cohesion are relatively easy to implement, test, and maintain.(A) a) True b) False 9. Software coupling (耦合) is a sign of poor architectural design and can always be avoided in every system.(B) a) True b) False 10. In ponent design, elaboration requires which of the following elements to be described in detail?(E) a) Source code b) Attributes c) Interfaces d) Operations e) b, c and d 11. In ponentlevel design persistent(不變) data sources refer to (E) a) Component libraries b) Databases c) Files d) All of the above e) both b and c 12. The object constraint language (OCL) plements UML by allowing a software engineer to use a formal grammar to construct unambiguous (明白的) statements about design model elements.(A) a) True b) False 13. OCL is not strong enough to be used to describe pre or postconditions for