Exam 12: Object-Oriented Design

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

Consider the following code snippet: Public class Motorcycle extends Vehicle { Private Tire[] tires; ) . . } This code is best described as an example of ____.

(Multiple Choice)
4.9/5
(37)

Before you begin designing a solution, you should ____.

(Multiple Choice)
4.7/5
(34)

A class (ClassOne) is considered to have a dependency on another class (ClassTwo) under which of the following conditions?

(Multiple Choice)
4.9/5
(41)

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

In a UML diagram, inheritance is denoted by ____.

(Multiple Choice)
4.7/5
(26)

The final step of the design phase recommended by the textbook is to ____.

(Multiple Choice)
5.0/5
(35)

Consider the following code snippet: Public class SailBoat extends Vessel { ) . . } Public class Catamaran extends SailBoat { ) . . } Which of the following statements is NOT correct?

(Multiple Choice)
4.9/5
(32)

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

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

(Multiple Choice)
4.7/5
(42)

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

(Multiple Choice)
4.8/5
(35)

Consider the following code snippet: Public class SailBoat extends Vessel { Private Engine[] engines; Private Sail mainsail; ) . . } Which of the following statements is NOT correct?

(Multiple Choice)
4.8/5
(42)

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

(Multiple Choice)
4.8/5
(31)

____ is often described as the has-a relationship.

(Multiple Choice)
4.7/5
(38)

Parallel arrays are ____.

(Multiple Choice)
4.9/5
(48)

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

Which of the following questions should you ask yourself in order to determine if you have named your class properly?

(Multiple Choice)
4.9/5
(37)

In a UML diagram, dependency is denoted by ____.

(Multiple Choice)
4.9/5
(34)

Classes often correspond to ____ in a requirements description.

(Multiple Choice)
4.9/5
(35)

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

(Multiple Choice)
4.9/5
(39)

Which of the following code snippets denotes that the Fleet class aggregates the Taxi class?

(Multiple Choice)
4.8/5
(34)
Showing 21 - 40 of 100
close modal

Filters

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