Deck 17: Objected-Oriented Analysis and Design: Object Modeling-Class Diagrams
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/32
Play
Full screen (f)
Deck 17: Objected-Oriented Analysis and Design: Object Modeling-Class Diagrams
1
On a class diagram,an association is signified by a double-ended arrow that connects the participating object classes.
False
2
An entity that has a well-defined role in the application domain and has state,behavior,and identity characteristics defines:
A)object
B)attribute
C)actor
D)class
A)object
B)attribute
C)actor
D)class
A
3
An entity that has a well-defined role in the application domain and has state,behavior,and identity characteristics defines:
A)object
B)attribute
C)actor
D)class
A)object
B)attribute
C)actor
D)class
A
4
Which of the following represents how an object acts and reacts?
A)behavior
B)class
C)state
D)encapsulation
A)behavior
B)class
C)state
D)encapsulation
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
5
In UML,a class is represented by:
A)a rectangle with three compartments separated by horizontal lines
B)a circle in which the activity name is recorded
C)a double-lined ellipse in which the activity name is recorded
D)a diamond in which the activity name is recorded
A)a rectangle with three compartments separated by horizontal lines
B)a circle in which the activity name is recorded
C)a double-lined ellipse in which the activity name is recorded
D)a diamond in which the activity name is recorded
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
6
An aggregation expresses a Part-of relationship between a component object and an aggregate object.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
7
An operation is an indication of how many objects participate in a given relationship.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
8
An aggregation expresses a Part-of relationship between a component object and an aggregate object.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following provides an external interface to a class?
A)constructor
B)operation
C)view
D)association
A)constructor
B)operation
C)view
D)association
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
10
An object class is a logical grouping of objects that have the same attributes and behaviors.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
11
Operations provide an external interface to a class.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
12
The technique of hiding the internal implementation details of an object from its external view is called incorporation.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following provides an external interface to a class?
A)constructor
B)operation
C)view
D)association
A)constructor
B)operation
C)view
D)association
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
14
Showing the static structure of an object-oriented model: the object classes,their internal structure,and the relationships in which they participate is the purpose of a:
A)class diagram
B)sequence diagram
C)collaboration diagram
A)class diagram
B)sequence diagram
C)collaboration diagram
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
15
Multiplicity indicates how many objects participate in a given relationship.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following represents how an object acts and reacts?
A)behavior
B)class
C)state
D)encapsulation
A)behavior
B)class
C)state
D)encapsulation
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following encompasses an object's properties and the values those properties have?
A)behavior
B)class
C)state
D)encapsulation
A)behavior
B)class
C)state
D)encapsulation
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
18
The technique of hiding the internal implementation details of an object from its external view is called:
A)disassociation
B)encryption
C)generalization
A)disassociation
B)encryption
C)generalization
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
19
An association between the instances of one or more entity types that is of interest to the organization best defines:
A)occurrence
B)relationship
C)coupling
D)cardinality
A)occurrence
B)relationship
C)coupling
D)cardinality
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following encompasses an object's properties and the values those properties have?
A)behavior
B)class
C)state
D)encapsulation
A)behavior
B)class
C)state
D)encapsulation
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
21
__________ is the technique of hiding the internal implementation details of an object from its external view.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
22
__________ is a part-of relationship between a component object and an aggregate object.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
23
__________ is an indication of how many objects participate in a given relationship.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
24
Match each of the following terms with its corresponding definition.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
A part object that belongs to only one whole object and that lives and dies with the whole.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
A part object that belongs to only one whole object and that lives and dies with the whole.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
25
The technique of hiding the internal implementation details of an object from its external view is called:
A)disassociation
B)encryption
C)encapsulation
D)generalization
A)disassociation
B)encryption
C)encapsulation
D)generalization
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
26
An __________ is a relationship between object classes.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
27
Match each of the following terms with its corresponding definition.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
The implementation of an operation.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
The implementation of an operation.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
28
What is an operation? Briefly describe three types of operations.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
29
An __________ is a class that has no direct instances,but whose descendants may have direct instances.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
30
Match each of the following terms with its corresponding definition.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
Defines the form or protocol of the operation,but not its implementation.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
Defines the form or protocol of the operation,but not its implementation.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
31
Match each of the following terms with its corresponding definition.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
A part-of relationship between a component object and an aggregate object.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
A part-of relationship between a component object and an aggregate object.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
32
Match each of the following terms with its corresponding definition.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
The same operation may apply to two or more classes in different ways.
a.abstract operation
b.method
c.polymorphism
d.aggregation
e.composition
The same operation may apply to two or more classes in different ways.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck