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

Fan-out refers to _____.

(Multiple Choice)
4.8/5
(87)

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

(True/False)
4.8/5
(74)

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

(Multiple Choice)
4.9/5
(89)

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

(Multiple Choice)
5.0/5
(74)

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

(Essay)
4.9/5
(93)

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

(Multiple Choice)
4.9/5
(76)

Clicking a mouse can be an event.

(True/False)
4.8/5
(79)

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

(True/False)
4.7/5
(74)

The audience for pseudocode is the _____.

(Multiple Choice)
5.0/5
(77)

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

(Multiple Choice)
4.8/5
(90)

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

(True/False)
4.9/5
(76)

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

(True/False)
4.9/5
(90)

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

(True/False)
4.9/5
(78)

What is method cohesion?

(Essay)
4.9/5
(78)

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

(True/False)
4.9/5
(86)

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

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

(True/False)
4.7/5
(69)

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

(True/False)
5.0/5
(76)

The basic building block of a system is the _____.

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

Filters

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