Exam 8: Class and Method Design

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

_____ has emerged as the standard for the design of object-oriented systems.

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

D

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

Free
(True/False)
4.7/5
(37)
Correct Answer:
Verified

True

The constraints and contracts in class and method design models were derived from the ____________ requirements and the problem domain representations.

Free
(Multiple Choice)
4.7/5
(24)
Correct Answer:
Verified

D

What is inheritance coupling? How can inheritance coupling be minimized?

(Essay)
4.7/5
(30)

Contracts document the message passing that takes place between objects.

(True/False)
4.9/5
(35)

Written documents that include explicit instructions on how to write the code to implement the method are called method specifications.

(True/False)
4.9/5
(35)

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

(True/False)
4.8/5
(41)

A For statement simply performs some action.

(True/False)
4.9/5
(38)

Method specifications can be somewhat vague, as the programmers will have a good idea of what the analyst needs done in the system.

(True/False)
4.7/5
(37)

What is Generalization/Specialization cohesion?

(Essay)
4.8/5
(45)

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

(True/False)
4.7/5
(32)

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

(Essay)
4.7/5
(38)

Polymorphism is the mechanism that combines the processes and data into a single object.

(True/False)
4.8/5
(39)

The basic building block of a system is the _____.

(Multiple Choice)
4.9/5
(42)

Why is it necessary for an analyst to detail the specifications for the individual classes and methods? What techniques are useful for doing this documentation?

(Essay)
4.8/5
(41)

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

(True/False)
4.8/5
(31)

A method that performs multiple functions that are unrelated to one another exhibits Coincidental cohesion, and this type of cohesion is undesirable.

(True/False)
4.8/5
(36)

C++ forces programmers to write code with good levels of interaction coupling.

(True/False)
4.9/5
(37)

In order to verifying and validating class and method design, all constraints, contracts, and method specifications must be tested.

(True/False)
4.8/5
(38)

What is interaction coupling? How can interaction coupling be minimized?

(Essay)
4.8/5
(31)
Showing 1 - 20 of 97
close modal

Filters

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