Designing the Module"/>
六:Designing the Module
文章目录
- 一、Modularity
- 二、What ?
- 三、Component independence
- 1.Why component independence?
- 2.Coupling
- (0)什么是构建耦合Component Coupling
- (1)uncoupled非耦合
- (2)data coupling数据耦合
- (3)stamp coupling标记耦合
- (4)control coupling控制耦合
- (5)common coupling公共耦合
- (6)content coupling内容耦合
- 3.Cohesion
- (0)什么是构建内聚Component Cohesive
- (1)coincidental巧合内聚
- (2)logical逻辑内聚
- (3)temporal时态内聚
- (4)procedural过程内聚1
- (5)communicational通信内聚
- (6)sequential顺序内聚
- (7)functional功能内聚
- 四、Interface
- 五、Information Hiding
- 六、Incremental development
- 七、Abstract
- 八、Generality
一、Modularity
二、What ?
三、Component independence
1.Why component independence?
2.Coupling
(0)什么是构建耦合Component Coupling
【应用题】
- what’s the component coupling?: 两个构件之间相互依赖或者相互作用的程度的度量
- List three types of component coupling:非耦合、数据耦合、标记耦合、控制耦合、公共耦合、内容耦合。
(1)uncoupled非耦合
(2)data coupling数据耦合
(3)stamp coupling标记耦合
(4)control coupling控制耦合
(5)common coupling公共耦合
(6)content coupling内容耦合
【选择题】
- When one component branches into the middle of another component , there is a ( content coupling ) between the two components.
3.Cohesion
(0)什么是构建内聚Component Cohesive
【选择题】
- Cohesion is a qualitative indication of the degree to which a module ( focuses on just one thing ).
【应用题】
- what’s the component cohesive?: 一个构件功能强度的度量
- List three types of component cohesive:巧合内聚、逻辑内聚、时态内聚、过程内聚、通信内聚、顺序内聚和功能内聚
(1)coincidental巧合内聚
(2)logical逻辑内聚
(3)temporal时态内聚
(4)procedural过程内聚1
(5)communicational通信内聚
【选择题】
- All functions concerning stack operation are defined in a component and we call that the component has ( Communicationally cohesive ).
(6)sequential顺序内聚
(7)functional功能内聚
四、Interface
五、Information Hiding
六、Incremental development
七、Abstract
八、Generality
更多推荐
六:Designing the Module
发布评论