软件工程题库7

更新时间:2023-06-18 10:44:28 阅读: 评论:0

软件工程题库7
From Modules to Objects
1. Object-oriented concepts are not new. The first OO language was E
considered to be:
A. ALGOL-68
B. FORTRAN 77
C. C
D. MODULA
E. SIMULA 67
2. A lexically contiguous quence of program statements, terminated by boundary elements, having an aggregate identifier. This is a definition of a:
A. procedure
B. function
C. module
D. method
E. all of the
3. If software is not modular it is difficult to:
A. correct
B. enhance or extend
怎么看书效率高C. understand
D. reu
E. all of the
4. The degree of interaction within a module is known as:
A. cohesion
三国鼎立是哪三国
B. adhesion
C. binding
D. coupling
E. instantiation
5. The degree of interaction between two modules is known as:
A. cohesion
B. strength
C. inheritance
D. coupling
E. instantiation
6. A method of implementing common coupling is:
A. the common statement in FORTRAN
B. the common statement in COBOL
C. the global statement in COBOL-80
D. the C++ or Java modifier public
E. all of the
7. The u of common coupling has an inherent limitation.
A. The code is virtually unreadable
B. Modules have side effects that affect their readability
C. If a change has to be made to the declaration of the global variable in one module then it must be made in all modules accessing it.
D. Modules are difficult to reu as an identical list of global variables has
to be supplied each time it is reud.
E. It is expod to more data than it needs.
F. All of the
8. Data encapsulation is an example of:
A. generalisation
B. specialisation
C. abstraction
D. coupling
E. dynamism安妮弗兰克
9. Without __________________, the definition of an object as an instantiation of an Abstract Data Type is too simplistic.
A. polymorphism
B. binding
C. encapsulation
D. inheritance
E. dynamism
10. A class is an Abstract Data Type that supports:
A. polymorphism
B. binding唐代
C. encapsulation
D. inheritance
E. dynamism
11. Why can't the Object-Oriented paradigm be directly implemented in classical languages such as C, COBOL and FORTRAN?
A. they are not structured
B. there is not a mechanism for defining global variables
C. all of the reasons
D. inheritance and the notion of class are not supported
E. none of the reasons
12. Parent is a ____________ of HumanBeing.
A. specialisation
B. abstraction
C. polymorphism
D. generalisation
E. implementation
13. ___________ refers to the components of a class:
A. specialisation
B. abstraction
C. polymorphism
D. generalisation
E. aggregation空调自动启动
14. The relationship of some kind between two apparently unrelated class is referred to as a(n):
A. specialisation
B. association
C. polymorphism
D. generalisation
好看日本动漫
E. aggregation
15. The relationship between a derived class (or subclass) and ba class is referred to as:
A. association
B. inheritance
C. polymorphism
D. instantiation
E. aggregation
16. An act of connecting an object to the appropriate method is called:
A. dynamic binding50年代歌曲
B. inheritance
C. polymorphism
D. generalisation
E. aggregation
17. If a method can be applied to objects of different class it is termed:
A. dynamic
B. inherited
C. polymorphic
D. generalid
E. aggregated
18. Why can polymorphism and dynamic binding have a negative impact on inheritance?
A. This statement is not true. Like all object-oriented concepts polymorphism and dynamic binding make modules more cohesive and lower coupling.
B. They make the object harder to understand as there are multiple
possibilities for a specific method.
C. They involve more work as changes have to be made to the super class.
D. They involve more work as changes have to be made to all of the subclass.
E. All of the reasons impact maintenance.
19. Myers (1978) identifies ven levels of cohesion. Which level of cohesion may be defined as followed; "the output from one element in the component rves as input for some other element"?
A. None of the
B. Functional cohesion
C. Communicational cohesion
D. Temporal cohesion
E. Communicational cohesion
20. Myers (1978) identifies ven levels of cohesion. Which of the following is the strongest form of cohesion?
A. Functional cohesion而后乃今将图南
B. Communicational cohesion
C. Sequential cohesion
D. Logical association
E. Coincidental cohesion
21. In FORTRAN the u of the COMMON block

本文发布于:2023-06-18 10:44:28,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/982614.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:自动   日本   看书   空调
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图