Exam 12: Object-Oriented Design

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

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

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.8/5
(41)

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

(Multiple Choice)
4.9/5
(32)

You are designing a software solution for a veterinary clinic. The clinic provides various services for each pet on each visit. You have decided that the following classes are needed: Customer, Address, Pet, and Visit. Which of these should be represented as aggregation?

(Multiple Choice)
4.7/5
(33)

Consider the following code snippet: Public class Manager extends Employee { Private Project[] projects; Private Address address; ) . . } Which of the following statements is NOT correct?

(Multiple Choice)
4.8/5
(33)

Consider the following code snippet: Public class Motorcycle { Private Tire[] tires; ) . . } Which of the following statements correctly describes the relationship between the Motorcycle and Tire classes?

(Multiple Choice)
4.9/5
(38)

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

(Multiple Choice)
4.7/5
(37)

Which of the following statements about class attributes is true?

(Multiple Choice)
4.8/5
(33)

Which of the followings statements about class relationships is correct?

(Multiple Choice)
4.8/5
(41)

Which of the following can be used to record the behavior of classes?

(Multiple Choice)
4.8/5
(38)

Consider the following code snippet: Public class Purse { Private Coin[] coins; ) . . } Which of the following statements is correct?

(Multiple Choice)
4.8/5
(51)

Which of the following statements will correctly put the PowerBoat class into a package named VesselPkg?

(Multiple Choice)
5.0/5
(30)

To improve the quality of the public interface of a class, ____.

(Multiple Choice)
4.8/5
(33)

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)
4.8/5
(44)

A Quiz class contains an array of Question objects. This is best described as an example of ____.

(Multiple Choice)
4.9/5
(41)

UML means____.

(Multiple Choice)
4.9/5
(42)

Which of the following code snippets denotes that the Lime class inherits from the Citrus class?

(Multiple Choice)
4.8/5
(33)

You have determined a need for a Book class and a Page class in your program. Which relationship is most appropriate between these classes?

(Multiple Choice)
4.8/5
(42)

You are designing an application to support a veterinary clinic. Which of the following probably should NOT be represented as an object?

(Multiple Choice)
4.8/5
(37)

Which of the following would be an appropriate name for a game-related class?

(Multiple Choice)
4.8/5
(38)
Showing 41 - 60 of 100
close modal

Filters

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