冯铁《软件工程概论教学》第五章系统设计.pdf
古之立大事者,不惟有超世之才,亦必有坚忍不拔之志。——苏轼
一、判断题
1、Theresultsofdecompositionformcompositepartscalledmodulesor
components.(T)
2、Cohesionreferstotheinternal“glue”withwhichacomponent
isconstructed.(T)
3、Wesaythattwocomponentsarelooselycoupledwhenthereisagreat
dealofdependencebetweenthem.(F)
4、Designisthecreativeprocessoftransformingtheprobleminto
asolution.(T)
二、解释概念
1、whatisdesign?
Designisthecreativeprocesstotransformtheproblemintoa
solution.设计是将问题转化成解决方案的创造性的活动Designisthe
descriptionofasolution.是对解决方案的描述。
2、WhatisCoupling?StatesCouplinglevelsfromlowtohigh.
Coupling耦合性是指模块间联系,即程序结构中不同模块之间互连程度。
耦合等级从低到高:
Uncoupled非直接耦合:通过上级模块进行联系,无直接关联。
Datacoupling数据耦合:参数传递的是一般类型的数据。
Stampcoupling标记耦合:参数传递的是诸如结构类型的数据。
Controlcoupling控制耦合:模块间传递的是诸如标记量的控制信息。
Commoncoupling公共耦合:全局结构类型的数据。
Contentcoupling内容耦合:病态连接,一个模块可以直接操作另一个模
块的数据(如goto语句的使用)。
3、WhatisCohesion?StatesCohesionlevelsfromlowtohigh.
Cohesion(内聚):标志一个模块内各个元素彼此结合的紧密程度,是模块
功能强度的度量,用来量化表示一个模块在多大程度上专注于一件事情。一个
模块内部各个元素彼此结合得越紧密,内聚度就越高。
内聚等级从低到高依次为:
CoincidentalCohesion偶然(巧合)内聚
LogicalCohesion逻辑内聚
TemporalCohesion时间内聚
ProceduralCohesion过程内聚
CommunicationalCohesion通讯内聚
SequentialCohesion顺序内聚
FunctionalCohesion功能性内聚
三、填空题
1、软件设计是要把描述软件“做什么”的(逻辑模型)转换为描述“怎么
做”的(物理模型),即着手实现软件的需求,并将设计结果记入软件(设计规格
说明书)文档中。
2、软件程序系