第四章 单元测试
1单选(5分)
In good design, modules should have ________.
在良好的设计中,模块应该有 B
A.low coupling and low cohesion
B.low coupling and high cohesion
C.high coupling and low cohesion
D.high coupling and high cohesion
2单选(5分)
Which of the following cannot be taken as a module? ________
以下哪项不能作为模块?D
A.class
B.function
C.method
D.collection
3单选(5分)
Which of the following statements about module is wrong? _________
关于模块的以下语句中哪个是错误的?C
A.Good module design is important for the quality of the whole software system.
B.Modules are parts of the whole software system.
C.An array in a program can be taken as a module.
D.Module design is part of software system design.
4单选(5分)
_____is to encapsulate the attributes and operations in an object, and hides the internal deta