2020 软件工程(戴智鹏)(南宁师范大学) 最新满分章节测试答案
本答案对应课程为:点我自动跳转查看
本课程起止时间为:2020-02-27到2020-06-30
本篇答案更新状态:已完结
测试章节!!!第六章 面向对象设计 第六章 单元测试
1、 问题:老师辛苦么?
选项:
A:辛苦
B:很辛苦
C:非常辛苦
D:不辛苦
答案: 【非常辛苦】
2、 问题:想开学对么?
选项:
A:正确
B:错误
答案: 【正确】
3、 问题:程序员最著名的一句话____
答案: 【(以下答案任选其一都对)hello world;
hello world!】
【作业】测试章节!!!第六章 面向对象设计 测试
1、 问题:输出helloworld
评分规则: 【 Printf(“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
本文章不含期末不含主观题!!
本文章不含期末不含主观题!!
支付后可长期查看
有疑问请添加客服QQ 2356025045反馈
如遇卡顿看不了请换个浏览器即可打开
请看清楚了再购买哦,电子资源购买后不支持退款哦