Exam 12: Object-Oriented Design

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

Which of the following is NOT a reason to place classes into a package?

(Multiple Choice)
4.9/5
(34)

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

(Multiple Choice)
4.9/5
(32)

You have determined the need for a File class and a Folder class in your program. Which of the following would best describe the relationship between these classes?

(Multiple Choice)
4.9/5
(43)

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

(Multiple Choice)
4.8/5
(36)

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

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

Given the following diagram showing class relationships: Given the following diagram showing class relationships:   What of the following best describes the type of relationship shown between Bank and Customer? What of the following best describes the type of relationship shown between Bank and Customer?

(Multiple Choice)
4.9/5
(41)

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

(Multiple Choice)
4.8/5
(41)

If you do not include a package statement at the top of your class source file, its classes will be placed in which package?

(Multiple Choice)
4.8/5
(41)

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

(Multiple Choice)
4.9/5
(39)

Consider the following code snippet: Public class PowerBoat extends Vessel { Private Engine[] engines; ) . . } This code is best described as an example of ____.

(Multiple Choice)
4.7/5
(27)

Dependency between classes denotes that ____.

(Multiple Choice)
4.8/5
(43)

Under which of the following conditions would the public interface of a class be considered cohesive?

(Multiple Choice)
4.9/5
(43)

When using CRC cards, UML diagrams should be created ___.

(Multiple Choice)
4.8/5
(37)

Consider the following code snippet: Public class Motorcycle extends Vehicle { ) . . } Which of the following statements correctly describes the relationship between the Motorcycle and Vehicle classes?

(Multiple Choice)
4.9/5
(40)

Given the following diagram: Given the following diagram:   What does this diagram indicate about the relationship between the customers and bank accounts? What does this diagram indicate about the relationship between the customers and bank accounts?

(Multiple Choice)
4.9/5
(37)

You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the requirements: Auto, Customer, Address, Rental Contract, Mileage, Rental Date, Daily Rate, Total. Which of these should be represented as instance variables?

(Multiple Choice)
4.9/5
(40)

You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the requirements: Auto, Customer, Address, Rental Contract, Mileage, Rental Date, Daily Rate, Total. Which of these should be represented as classes?

(Multiple Choice)
4.9/5
(40)

A CRC card describes ____.

(Multiple Choice)
4.7/5
(38)

When using UML to create state diagrams, a state is denoted by ____.

(Multiple Choice)
4.8/5
(39)
Showing 81 - 100 of 100
close modal

Filters

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