六:Designing the Module

编程入门 行业动态 更新时间:2024-10-08 13:32:19

六:<a href=https://www.elefans.com/category/jswz/34/1419417.html style=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

本文发布于:2024-02-07 10:08:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1756254.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Designing   Module

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!