1-
|
What are the two types of coupling in object-oriented systems?
|
|
A -
|
Interaction
|
|
B -
|
Data, inheritance
|
|
C -
|
Data, stamp
|
|
D -
|
Interaction, inheritance
|
2-
|
Which of the following types of interaction coupling is "best?"
|
|
A -
|
Stamp
|
|
B -
|
Data
|
|
C -
|
Content or pathologica
|
|
D -
|
Common or global
|
3-
|
Of all of the types of interaction coupling, _____ is the worst.
|
|
A -
|
Stamp
|
|
B -
|
Data
|
|
C -
|
Content or pathologica
|
|
D -
|
Common or global
|
4-
|
When a global data area exists outside individual objects, the resulting system has _____interaction coupling.
|
|
A -
|
Stamp
|
|
B -
|
Data
|
|
C -
|
Content or pathologica
|
|
D -
|
Common or global
|
5-
|
When a method of one object refers to the inside hidden parts of another object, these methods are exhibiting _____ coupling.
|
|
A -
|
Stamp
|
|
B -
|
Data
|
|
C -
|
Content or pathologica
|
|
D -
|
Common or global
|
6-
|
Object-oriented systems have three general types of cohesion: _____, _____, and _____.
|
|
A -
|
Method, class, inheritance
|
|
B -
|
Method, generalization/specialization, inheritance
|
|
C -
|
Generalization/specialization, class, object
|
|
D -
|
Method, class, generalization/specialization
|
7-
|
A class has an attribute in which a range of values has a semantic meaning. This class has _____ connascence.
|
|
A -
|
Name
|
|
B -
|
Convention
|
|
C -
|
Type or Clas
|
|
D -
|
Algorithm
|
8-
|
Fan-out refers to _____.
|
|
A -
|
The number of attributes a class has
|
|
B -
|
The number of messages sent by a method
|
|
C -
|
The number of times a message is sent by a method
|
|
D -
|
The number of times an attribute is passed from a class
|
9-
|
Which of the following Structured English statements is an advanced form of an IF statement?
|
|
A -
|
Action statement
|
|
B -
|
For statement
|
|
C -
|
While statement
|
|
D -
|
Case statement
|
10-
|
The audience for pseudocode is the _____.
|
|
A -
|
Analyst
|
|
B -
|
Programmer
|
|
C -
|
Manage
|
|
D -
|
User
|