Deck 14: Object-Oriented Data Modeling
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
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
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/105
Play
Full screen (f)
Deck 14: Object-Oriented Data Modeling
1
All of the following are benefits of object-oriented modeling EXCEPT:
A) the ability to tackle more challenging problem domains.
B) increased consistency among analysis, design, and programming activities.
C) decreased communication among the users, analysts, designers, and programmers.
D) reusability of analysis, design, and programming results.
A) the ability to tackle more challenging problem domains.
B) increased consistency among analysis, design, and programming activities.
C) decreased communication among the users, analysts, designers, and programmers.
D) reusability of analysis, design, and programming results.
C
2
Which type of operation has side effects?
A) Update
B) Append
C) Query
D) Scope
A) Update
B) Append
C) Query
D) Scope
A
3
A model of a real world application and associated properties are created in the:
A) analysis phase.
B) design phase.
C) implementation phase.
D) evaluation phase.
A) analysis phase.
B) design phase.
C) implementation phase.
D) evaluation phase.
A
4
A diagram that shows the static structure of an object-oriented model is called a(n):
A) structure diagram.
B) class diagram.
C) entity diagram.
D) data flow diagram.
A) structure diagram.
B) class diagram.
C) entity diagram.
D) data flow diagram.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following operations does NOT alter the state of an object?
A) Update
B) Query
C) Constructor
D) Class-Scope Update
A) Update
B) Query
C) Constructor
D) Class-Scope Update
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
6
Both E-R model and object-oriented models are centered around:
A) objects.
B) encapsulation.
C) polymorphism.
D) object diagrams.
A) objects.
B) encapsulation.
C) polymorphism.
D) object diagrams.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
7
Object-oriented model objects differ from E-R models because:
A) OO store data.
B) OO allow data types.
C) OO objects exhibits behavior.
D) OO stores information.
A) OO store data.
B) OO allow data types.
C) OO objects exhibits behavior.
D) OO stores information.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
8
An operation that applies to a class rather than an object instance is a(n):
A) constructor operation.
B) query operation.
C) class-scope operation.
D) update operation.
A) constructor operation.
B) query operation.
C) class-scope operation.
D) update operation.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
9
An operation that creates a new instance of a class is called a(n):
A) query operation.
B) update operation.
C) scope operation.
D) constructor operation.
A) query operation.
B) update operation.
C) scope operation.
D) constructor operation.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
10
A(n) ________ encompasses an object's properties and the values of those properties.
A) state
B) attribute
C) method
D) behavior
A) state
B) attribute
C) method
D) behavior
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
11
The object-oriented systems development cycle consists of:
A) two phases.
B) three phases.
C) four phases.
D) five phases.
A) two phases.
B) three phases.
C) four phases.
D) five phases.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
12
The end of an association where it connects to a class is called a(n):
A) connector.
B) terminator.
C) initiator.
D) association role.
A) connector.
B) terminator.
C) initiator.
D) association role.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) ________ is a concept, abstraction, or thing that has a state, behavior, and identity.
A) relationship
B) attribute
C) key
D) object
A) relationship
B) attribute
C) key
D) object
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
14
________ is the technique of hiding the internal implementation details of an object from its external view.
A) Grouping
B) Encapsulation
C) Classification
D) Mining
A) Grouping
B) Encapsulation
C) Classification
D) Mining
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
15
A(n) ________ is shown as a solid line between the participating classes.
A) connector
B) update
C) entity
D) association
A) connector
B) update
C) entity
D) association
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
16
The Unified Modeling Language:
A) is a notation useful for graphically depicting an object-oriented analysis or design model.
B) is used in traditional ERD modeling.
C) was developed by E.F. Codd.
D) is a SQL sublanguage.
A) is a notation useful for graphically depicting an object-oriented analysis or design model.
B) is used in traditional ERD modeling.
C) was developed by E.F. Codd.
D) is a SQL sublanguage.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
17
________ indicates how many objects participate in a given relationship.
A) Bound
B) Multiplicity
C) Role
D) Relationship
A) Bound
B) Multiplicity
C) Role
D) Relationship
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is a function or service provided by all instances of a class?
A) Operation
B) Implementation
C) Class group
D) Query
A) Operation
B) Implementation
C) Class group
D) Query
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is a reason for using an object-oriented design?
A) The analysis model is not formal enough to be implemented in a programming language.
B) The actual system is not adapted to the environment in which the system will actually be implemented.
C) Documentation is provided.
D) Traditional ERD is preferred.
A) The analysis model is not formal enough to be implemented in a programming language.
B) The actual system is not adapted to the environment in which the system will actually be implemented.
C) Documentation is provided.
D) Traditional ERD is preferred.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following refers to a set of objects that share common structures and behaviors?
A) Supertype
B) Object class
C) Model
D) Entity group
A) Supertype
B) Object class
C) Model
D) Entity group
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
21
The following figure is an example of a(n): 
A) class diagram.
B) method chart.
C) object diagram.
D) ERD.

A) class diagram.
B) method chart.
C) object diagram.
D) ERD.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
22
A part object which belongs to only one whole object and which lives and dies with the whole object is called a:
A) dependent.
B) weak entity.
C) composition.
D) declarative.
A) dependent.
B) weak entity.
C) composition.
D) declarative.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
23
A(n) ________ is an attribute of a class that specifies a value common to an entire class.
A) completion attribute
B) class-scope attribute
C) overall descriptor
D) summary descriptor
A) completion attribute
B) class-scope attribute
C) overall descriptor
D) summary descriptor
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
24
The implementation of an operation is called a(n):
A) attribute.
B) class.
C) method.
D) object.
A) attribute.
B) class.
C) method.
D) object.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
25
When specifying a business rule between graphical symbols, a ________ is drawn from one element to the other.
A) dashed arrow
B) dashed asterisk
C) highlighted union
D) highlighted intersect
A) dashed arrow
B) dashed asterisk
C) highlighted union
D) highlighted intersect
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
26
In the following diagram, ________ objects are present (i.e., :Registration). 
A) link
B) object
C) XML
D) ERD

A) link
B) object
C) XML
D) ERD
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
27
A class that has direct instances is called a(n) ________ class.
A) abstract
B) multiplicity
C) large
D) concrete
A) abstract
B) multiplicity
C) large
D) concrete
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
28
According to the UML Notation Guide, overlapping means:
A) a descendant may be descended from more than one of the subclasses.
B) a descendant may not be descended from more than one of the subclasses.
C) all subclasses have been specified, and no others are expected.
D) the list of objects is stable, but relationships will change.
A) a descendant may be descended from more than one of the subclasses.
B) a descendant may not be descended from more than one of the subclasses.
C) all subclasses have been specified, and no others are expected.
D) the list of objects is stable, but relationships will change.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
29
In the figure below, what relationship is shown? 
A) Overlaps
B) Disjoints
C) Rejoinders
D) Aggregation

A) Overlaps
B) Disjoints
C) Rejoinders
D) Aggregation
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
30
A(n) ________ defines the form or protocol of an operation, but not its implementation.
A) meta-operation
B) inquisitor
C) abstract operation
D) operation descriptor
A) meta-operation
B) inquisitor
C) abstract operation
D) operation descriptor
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
31
A graph of instances that are compatible within a class diagram is called a(n):
A) object group.
B) method chart.
C) object diagram.
D) ERD.
A) object group.
B) method chart.
C) object diagram.
D) ERD.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
32
When an object is an instance of more than one class, it is called:
A) multiplicity.
B) polymorphism.
C) multiple classification.
D) multiple associations.
A) multiplicity.
B) polymorphism.
C) multiple classification.
D) multiple associations.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
33
According to the UML Notation Guide, complete means:
A) a descendant may come from more than one supertype.
B) a descendant may be not descended from more than one of the subclasses.
C) all subclasses have been specified, and no others are expected.
D) the list of objects is NOT stable.
A) a descendant may come from more than one supertype.
B) a descendant may be not descended from more than one of the subclasses.
C) all subclasses have been specified, and no others are expected.
D) the list of objects is NOT stable.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
34
The process of replacing a method inherited from a superclass by a more specific implementation of the method in a subclass is called:
A) inheritance.
B) encapsulation.
C) polymorphism.
D) overriding.
A) inheritance.
B) encapsulation.
C) polymorphism.
D) overriding.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
35
In the figure below, which of the following is true? 
A) A faculty may advise only one student.
B) A faculty may advise up to a maximum of 10 students.
C) A course offering may be offered for multiple courses.
D) A student can have more than one advisor.

A) A faculty may advise only one student.
B) A faculty may advise up to a maximum of 10 students.
C) A course offering may be offered for multiple courses.
D) A student can have more than one advisor.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
36
A ________ is the implementation of an operation.
A) meta-operation
B) method
C) query
D) constructor
A) meta-operation
B) method
C) query
D) constructor
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
37
In the figure below, which of the following is true? 
A) Students use various software tools for different courses.
B) Students can only register for one course.
C) Students use only one type of software.
D) Each course uses specific software.

A) Students use various software tools for different courses.
B) Students can only register for one course.
C) Students use only one type of software.
D) Each course uses specific software.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
38
________ means that the same operation can apply to two or more classes in different ways.
A) Polymorphism
B) Inheritance
C) Combined operations
D) Checkpoint
A) Polymorphism
B) Inheritance
C) Combined operations
D) Checkpoint
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
39
An association ________ is an association that has attributes or operations of its own.
A) link
B) group
C) class
D) body
A) link
B) group
C) class
D) body
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
40
{disjoint, complete} is an example of a UML:
A) expansion.
B) HTML link.
C) business rule constraint.
D) database clause.
A) expansion.
B) HTML link.
C) business rule constraint.
D) database clause.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
41
A class-scope operation applies to a class rather than an object instance.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
42
The object-oriented systems development cycle consists of four phases.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
43
An association role is the end of an association where it connects to a class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
44
A constructor operation does not alter an instance of a class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
45
A class diagram shows the dynamic structure of an object-oriented model.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
46
Encapsulation is the technique of hiding the internal implementation details of an object from its external view.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
47
An operation is a function or service that is provided by all of the classes.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
48
A state represents how an object acts.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
49
An object encapsulates both data and behavior.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
50
An association class is an association that participates in no relationships.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
51
Both E-R model and object-oriented models are centered around objects.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
52
An object class is a set of objects that share a common structure and behavior.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
53
Both Object-oriented and E-R objects exhibit behaviors.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
54
An association class is similar to an associative entity in the E-R model.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
55
An entity that has a well-defined role in the application domain and has a state, behavior, and identity is called an object.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
56
The most common multiplicities are 0..1, *, and 1.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
57
A ternary relationship can easily be replaced by three binary relationships.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
58
Each role has a duplicity, which indicates how many objects participate in a given relationship.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
59
A(n) ________ is a named relationship between or among classes.
A) association
B) named relationship
C) assumption
D) attribute
A) association
B) named relationship
C) assumption
D) attribute
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
60
State encompasses an object's properties and the values of those properties.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
61
An association that has its own attributes or operations or that participates in relationships with other classes is called an association class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
62
An association role is the end of an association where it connects to a class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
63
It is only through an operation that other objects can access or manipulate information stored in an object.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
64
A class diagram shows the static structure of an object-oriented model.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
65
A query operation does not alter the state of an object.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
66
A deprived attribute, role or association is one that can be computed from other attributes, roles, or associations.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
67
A duplicity specification in a class diagram is shown as a text string representing an interval (or intervals) of integers.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
68
Encapsulation is the technique of hiding the internal implementation details of an object from its external view.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
69
According to the UML Notation Guide, the term disjoint means that a descendent may not be descended from more than one of the subclasses.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
70
A class that can have direct instances is called an abstract class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
71
An update operation has side effects since it alters the state of an object.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
72
A derived attribute, association, or role is one that can be computed or derived from other attributes, associations, or roles.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
73
Polymorphism occurs when the same operation may apply to two or more classes in different ways.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
74
A class-scope attribute is an attribute of a class that specifies a value common to an instance of a class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
75
A UML is a graph of instances that are compatible with a given class diagram.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
76
A graph of instances that are compatible within a class diagram is called an object diagram.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
77
An abstract operation describes the implementation of an operation.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
78
A destructor operation creates a new instance of a class.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
79
An instance of a subclass is not always an instance of its superclass.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck
80
In addition to specifying the multiplicity of an association role, you can also specify other properties, for example, if the objects playing the role are ordered or not.
Unlock Deck
Unlock for access to all 105 flashcards in this deck.
Unlock Deck
k this deck