软件工程(戴智鹏)(南宁师范大学)中国大学mooc慕课答案2024版100分完整版

径棋挪涝午钡莆萄抚扁朗号枯

对应课程:点击查看
起止时间:2020-02-27到2020-06-30
更新状态:已完结

测试章节!!!第六章 面向对象设计 第六章 单元测试

1、 老师辛苦么?

A:辛苦
B:很辛苦
C:非常辛苦
D:不辛苦
答案: 非常辛苦

2、 想开学对么?

A:正确
B:错误
答案: 正确

3、 程序员最著名的一句话____
答案: (以下答案任选其一都对)hello world;
hello world!

第四章 面向对象范型 第四章 单元测试

1、 In good design, modules should have _.在良好的设计中,模块应该有_

A:high coupling and low cohesion
B:low coupling and low cohesion
C:high coupling and high cohesion
D:low coupling and high cohesion
答案: low coupling and high cohesion

2、 A module is __cohesion if its actions should be performed in a same time period. 如果模块的动作应在相同的时间段内执行,则模块是__内聚。

A:temporal
B:procedural
C:communicational
D:logic
答案: temporal

3、 A __ is a lexically contiguous sequence of program statements, bounded by boundary elements, with an aggregate identifier.__是由边界元素限定的具有聚合标识符的程序语句的词法连续序列

A:system
B:document
C:project
D:module
答案: module

4、 Which of the following cannot be taken as a module? _以下哪项不能作为模块? _

A:collection
B:function
C:class
D:method
答案: collection

5、 Which of the following statements about module is wrong? ___关于模块的以下语句中哪个是错误的? __

A:Good module design is important for the quality of the whole software system.
B:Module design is part of software system design.
C:Modules are parts of the whole software system.
D:An array in a program can be taken as a module.
答案: An array in a program can be taken as a module.

6、 Two modules are __ coupled if one passes an element of control to the other. 如果一个控制元素传递给另一个,两个模块是__耦合。

A:control
B:stamp
C:data
D:logical
答案: control

7、 Two modules are __ coupled if a data structure is passed as a parameter, but the called module operates on some but not all of the individual components of the data structure. 如果将数据结构作为参数传递,但被调用模块对数据结构的一些但不是所有组件进行操作,则两个模块____耦合。

A:control
B:stamp
C:data
D:logical
答案: stamp

8、 Two modules are __ coupled if one directly references contents of the other.如果一个直接引用另一个的内容,两个模块____耦合。

A:content
B:stamp
C:data
D:common
答案: content

9、 Two modules are __ coupled if they have write access to global data.如果两个模块对全局数据具有写访问权限,则是__耦合。

A:content
B:stamp
C:data
D:common
答案: common

10、 Two modules are __ coupled if all parameters are homogeneous data items, simple parameters, or data structures all of whose elements are used by called module.如果所有参数都是同类数据项,简单参数或数据结构中所有的元素都由被调用的模块使用,则两个模块____耦合。

A:content
B:stamp
C:data
D:common
答案: data

11、 _is to encapsulate the attributes and operations in an object, and hides the internal details of an object as possible. ___是为了在一个对象中封装属性和操作,并尽可能隐藏对象的内部细节。

A:Inheritance
B:Polymorphism
C:Data encapsulation
D:Message
答案: Data encapsulation

12、 Which of the following statements is not correct?下列哪个语句是不正确的?

A:Information hiding can be used to obviate common coupling.
B:A class is an abstract data type.
C:An abstract data type is just a class.
D:Abstract data type supports data abstraction.
答案: An abstract data type is just a class.

13、 Which of the following statements is not correct? __下列哪个语句是不正确的?

A:Class is a kind of abstract data type.
B:Data encapsulation is a feature of object-oriented paradigm.
C:Information hiding is a feature of object-oriented paradigm.
D:Encapsulation and information hiding mean that all the components in an object will be totally invisible from outside.
答案: Encapsulation and information hiding mean that all the components in an object will be totally invisible from outside.

14、 The strategy of inheritance is to use inheritance wherever _.继承的策略是在_的情况下使用继承。

A:appropriate
B:possible
C:safe
D:nice
答案: appropriate

15、 The relationship between super-class and subclasses is called __.超类和子类之间的关系称为____。

A:association
B:inheritance
C:composition
D:aggregation
答案: inheritance

16、 The relationship between whole-class and part-classes is called __. 整体和部分类之间的关系被称为____。

A:aggregation
B:coupling
C:association
D:inheritance
答案: aggregation

17、 Every class engaged in a relationship should have a multiplicity except _.除_关系外,每一个参与关系的类都有多重性。

A:aggregation
B:association
C:inheritance
D:none of the above
答案: inheritance

18、 A verb or a verb phrase must be used to describe the relationship between two classes with _.描述两类之间的_关系时,必须使用一个动词或动词短语。

A:composition
B:inheritance
C:aggregation
D:association
答案: association

       

如需购买完整答案,请点击下方红字:

点击这里,购买完整答案

获取更多中国大学mooc慕课答案,请点击这里,进入mooc.mengmianren.com

罐夯葡懊茫炕醇托拷外姑访滤