Exam 12: Object-Oriented Design

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

Given the following diagram showing class relationships: Given the following diagram showing class relationships:   What type of relationship is shown between LineItem and Product? What type of relationship is shown between LineItem and Product?

(Multiple Choice)
4.7/5
(39)

Given the following diagram showing class relationships: Given the following diagram showing class relationships:   What type of relationship is shown between Invoice and Address? What type of relationship is shown between Invoice and Address?

(Multiple Choice)
4.7/5
(38)

How does a UML diagram denote classes and their attributes and methods?

(Multiple Choice)
4.8/5
(33)

Which of the followings statements about class relationships is correct?

(Multiple Choice)
4.9/5
(32)

The United States has few legal protections against computer ____ ?

(Multiple Choice)
4.9/5
(41)

Select a code segment to complete the Team class, so that it reflects an aggregation relationship between Team and Player.

(Multiple Choice)
5.0/5
(35)

Which of the following would be an appropriate name for a class used in an inventory application?

(Multiple Choice)
4.8/5
(35)

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
(44)

You are designing a software solution for an automobile rental company.A customer may rent only a single auto at a given time.You have decided that the following classes are needed: Auto, Customer, Address, Rental Contract.Which of these should be represented as aggregation?

(Multiple Choice)
5.0/5
(31)

When designing classes, if you find classes with common behavior you should ____.

(Multiple Choice)
4.9/5
(43)

Select a code segment to complete the Player class, so that it reflects an inheritance relationship between Player and Person. Select a code segment to complete the Player class, so that it reflects an inheritance relationship between Player and Person.

(Multiple Choice)
4.8/5
(39)

Given the following diagram showing class relationships: Given the following diagram showing class relationships:   What type of relationship is shown between Invoice and LineItem? What type of relationship is shown between Invoice and LineItem?

(Multiple Choice)
4.8/5
(33)

Which of the following code snippets denotes that the Kitchen class depends on the Stove class?

(Multiple Choice)
4.8/5
(40)

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

(Multiple Choice)
4.9/5
(37)

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.8/5
(35)

When documenting discovered classes and methods during the design phase, you should ____.

(Multiple Choice)
4.9/5
(38)

The dependency relationship is sometimes referred to as the ____ relationship.

(Multiple Choice)
4.9/5
(32)

Suppose that the invoice-printing application from section 12.3 needs to be enhanced by including the computation and printing of sales taxes as needed.Since some vendors charge no sales taxes, the original Invoice class needs to be preserved.Select the code segment that best illustrates reuse of the existing Invoice class.

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.7/5
(26)

A/an ____ is used to create objects with the same behavior.

(Multiple Choice)
4.8/5
(42)
Showing 41 - 60 of 104
close modal

Filters

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