Exam 8: Class and Method Design

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

A post-condition is one that must be valid for a method to execute.

(True/False)
4.8/5
(39)

Fan-out refers to _____.

(Multiple Choice)
4.8/5
(41)

Mixed-role class cohesion is the worst type of class cohesion.

(True/False)
4.8/5
(36)

Constraints can be written in either a natural language, a semiformal language, or a formal language such as ________________.

(Multiple Choice)
4.9/5
(48)

In order to get an object to perform a method, a(n) _____ is sent to the object.

(Multiple Choice)
5.0/5
(38)

What is connascence? Is this desirable or undesirable in a system? Why?

(Essay)
4.9/5
(42)

What are the two types of coupling in object-oriented systems?

(Multiple Choice)
4.9/5
(32)

Clicking a mouse can be an event.

(True/False)
4.8/5
(37)

A post-condition is a constraint that must be met for a method to execute.

(True/False)
4.7/5
(28)

The audience for pseudocode is the _____.

(Multiple Choice)
5.0/5
(29)

Which of the following types of interaction coupling is "best?"

(Multiple Choice)
4.8/5
(34)

Essentially, all OCL expressions are simply a declarative statement that evaluates to either being true or false.

(True/False)
4.8/5
(32)

A detailed outline of the lines of code that need to be written is known as pseudocode.

(True/False)
4.9/5
(39)

Subclasses inherit the appropriate attributes and methods from the superclass above them.

(True/False)
4.9/5
(38)

What is method cohesion?

(Essay)
4.9/5
(41)

Many project teams are too quick to jump into writing code for classes without first designing them.

(True/False)
4.9/5
(37)

A self-contained, encapsulated piece of software that can be plugged into a system is often referred to as a design a pattern.

(True/False)
4.7/5
(41)

Fan-out refers to the number of attributes passed by one object to another.

(True/False)
4.7/5
(34)

Generalization / specialization cohesion addresses the sensibility of the inheritance hierarchy.

(True/False)
5.0/5
(39)

The basic building block of a system is the _____.

(Multiple Choice)
4.7/5
(37)
Showing 61 - 80 of 92
close modal

Filters

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