题目详情

以下关于软件模块的独立性说法,正确的是(  )。

  • A.耦合性是程序模块内部的关联
  • B.内聚性是程序各模块之间的联系
  • C.具有“高内聚低耦合”的软件模块独立性比较强
  • D.内容耦合提高了软件模块的独立性

正确答案及解析

正确答案
C
解析

本题考查软件模块的独立性。

内聚性:是对一个模块内部各个组成元素之间相互结合的紧密程度的度量指标。模块中组成元素结合的越紧密,模块的内聚性就越高,模块的独立性也就越高。理想的内聚性要求模块的功能应明确、单一,即一个模块只做一件事情。

耦合性:模块间的耦合度是指模块之间的依赖关系,包括控制关系、调用关系、数据传递关系。模块间联系越多,其耦合性越强,同时表明其独立性越差。软件设计中通常用耦合度和聚度作为衡量模块独立程度的标准。

模块的内聚性和耦合性是两个相互对立且又密切相关的概念。划分模块的一个准则就是高内聚低耦合。

综合分析,本题选C。(AB选项的表达弄反,耦合性是程序各模块之间的联系,内聚性是模块内部之间的关联;D选项内容耦合是一个独立性最弱的耦合)

包含此试题的试卷

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +