【软件工程习题答案】第五章 面向对象分析

第五章 单元测试

1单选(5分)
Which of the following is true of use case modeling in OOA?
下列关于OOA中用例建模的描述哪一个是对的?A
A.A scenario is an instance of a use case.
B.A set of use cases is written for each scenario.
C.A use case is an instance of a scenario.
D.Every use case has only one possible scenario.

2单选(5分)
_____describes functionality of the software to be constructed, the core of which is to describe the interaction between the actor and the system, but not the internal activity of the system.
_____描述了要构建的软件的功能,其核心是描述参与者和系统之间的交互,而不是系统的内部活动。B
A.State diagram
B.Use case diagram
C.Class diagram
D.Collaboration diagram

3单选(5分)
Which of the following statement is correct? _____
在下面的关于用例图的说法中,哪个是正确的?B
A.Use case modeling is both action and data oriented.
B.A use case may be initiated by an actor to invoke a certain functionality in the system.
C.An actor doesn’t represent a coherent set of roles all the time that one plays when interacting with these use cases.
D.A class is an abstract data type, but it doesn’t support inheritance.

4单选(5分)
Which of the following statements is correct? _______
下列哪项语句是正确的?C
A.GUI of a target software system should be designed before its architecture.
B.Whether design is necessary or not is up to each software organization.
C.Surely a good design is important and necessary for the success of the target software system.
D.A good programmer can design a target software system while coding.

5单选(5分)
Which of the following is wrong?
以下哪项是错误的?B
A.A class can be taken as a module.
B.Only human being can be an actor in a use case diagram.
C.Use case diagram focuses on only the functional requirements of the target software system.
D.Use case diagram is a functional modeling of the software system.

6单选(5分)
Which model does not belong to the object oriented analysis model? _______
哪个模型不属于面向对象的分析模型?B
A.Dynamic modeling
B.ER modeling
C.Preliminary class modeling
D.Use case modeling

你可能感兴趣的:(【软件工程习题答案】第五章 面向对象分析)