Exam 12: Object-Oriented Design

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

____ is often described as the has-a relationship.

(Multiple Choice)
4.9/5
(40)

After you have identified a set of classes needed for a program, you should now ____.

(Multiple Choice)
4.7/5
(43)

What is not a component of a CRC Card?

(Multiple Choice)
4.8/5
(47)

Which of the following code snippets denotes that the Purse class depends on the Wallet class?

(Multiple Choice)
4.8/5
(35)

Aggregation denotes that ____.

(Multiple Choice)
4.7/5
(36)

When using the CRC method, other classes that are needed to fulfill the responsibilities of a given class are called its ____.

(Multiple Choice)
5.0/5
(34)

Select a code segment to complete the SmartPhone class, so that it reflects an interface implementation relationship between SmartPhone and MP3Player. Select a code segment to complete the SmartPhone class, so that it reflects an interface implementation relationship between SmartPhone and MP3Player.

(Multiple Choice)
4.8/5
(35)

During the implementation phase, which of the following statements is true?

(Multiple Choice)
4.8/5
(36)

Consider the following code snippet: Consider the following code snippet:   This code is best described as an example of ____. This code is best described as an example of ____.

(Multiple Choice)
4.9/5
(43)

____ is often described as the is-a relationship.

(Multiple Choice)
4.9/5
(33)

Before you begin designing a solution, you should ____.

(Multiple Choice)
4.8/5
(43)

A UML class diagram would be most useful in visually illustrating which of the following?

(Multiple Choice)
4.9/5
(44)

In a UML diagram, the relationship symbol shown below denotes ____. In a UML diagram, the relationship symbol shown below denotes ____.

(Multiple Choice)
4.9/5
(40)

Which statement correctly describes the class relationship shown in this diagram? Which statement correctly describes the class relationship shown in this diagram?

(Multiple Choice)
4.8/5
(40)

You are designing an application to support an automobile rental agency.Which of the following probably should NOT be represented as an object?

(Multiple Choice)
4.9/5
(37)

Which of the following code snippets denotes that the Pen class depends on the Ink class?

(Multiple Choice)
4.8/5
(42)

How does a UML diagram denote a multiplicity of one or more in an aggregation relationship?

(Multiple Choice)
4.8/5
(45)

In a UML diagram, an interface implementation is denoted by ____.

(Multiple Choice)
5.0/5
(42)

Which statement correctly describes the class relationship shown in this diagram? Which statement correctly describes the class relationship shown in this diagram?

(Multiple Choice)
4.8/5
(35)

Consider the following code snippet: Consider the following code snippet:   Which of the following statements is correct? Which of the following statements is correct?

(Multiple Choice)
4.7/5
(28)
Showing 21 - 40 of 104
close modal

Filters

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