Exam 14: Object-Oriented Data Modeling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In composition, a part belongs to many whole objects.

Free
(True/False)
4.8/5
(31)
Correct Answer:
Verified

False

What is the purpose of a constructor operation?

Free
(Essay)
4.8/5
(45)
Correct Answer:
Verified

A constructor operator creates a new instance of a class.

In the figure below, which of the following is true? In the figure below, which of the following is true?

Free
(Multiple Choice)
4.9/5
(44)
Correct Answer:
Verified

B

An aggregation expresses a part-of relationship between a component object and an aggregate object.

(True/False)
4.8/5
(40)

A constructor operation does not alter an instance of a class.

(True/False)
4.9/5
(37)

Which of the following is a reason for using an object-oriented design?

(Multiple Choice)
4.8/5
(35)

A class-scope attribute is an attribute of a class that specifies a value common to an instance of a class.

(True/False)
4.7/5
(34)

What is the difference between a class and an object?

(Essay)
4.7/5
(32)

When an object is an instance of more than one class, it is called:

(Multiple Choice)
4.8/5
(34)

A graph of instances that are compatible within a class diagram is called a(n):

(Multiple Choice)
4.8/5
(38)

A ternary relationship can easily be replaced by three binary relationships.

(True/False)
4.9/5
(37)

The process of replacing a method inherited from a superclass by a more specific implementation of that method in a subclass is called underwriting.

(True/False)
4.7/5
(29)

Polymorphism occurs when the same operation may apply to two or more classes in different ways.

(True/False)
4.8/5
(32)

In overriding for restriction, the protocol of the new operation in the subclass is restricted.

(True/False)
4.8/5
(39)

A destructor operation creates a new instance of a class.

(True/False)
4.9/5
(28)

An association role is the end of an association where it connects to a class.

(True/False)
4.7/5
(37)

Overriding is the process of replacing a method inherited from a superclass by a more specific implementation of that method in a subclass.

(True/False)
4.9/5
(39)

A part object which belongs to only one whole object and which lives and dies with the whole object is called a:

(Multiple Choice)
4.8/5
(31)

It is only through an operation that other objects can access or manipulate information stored in an object.

(True/False)
4.7/5
(27)

A(n) ________ encompasses an object's properties and the values of those properties.

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 105
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)