Exam 8: Class and Method Design

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

Pseudocode is useful for writing algorithm specifications.

(True/False)
4.8/5
(35)

A derived attribute results from storing the value of a computation.

(True/False)
4.9/5
(35)

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

(Essay)
4.9/5
(43)

A method that combines two functions that use the same attributes to execute exhibits Communicational cohesion.

(True/False)
4.8/5
(36)

Constraints can only be written in either a semiformal language or a formal language.

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

Of all of the types of interaction coupling, _____ is the worst.

(Multiple Choice)
4.7/5
(40)

Coincidental is the worst type of method cohesion.

(True/False)
4.7/5
(35)

Contracts contain a detailed algorithmic description of how the method is to work.

(True/False)
5.0/5
(30)

When a method of one object refers to the inside hidden parts of another object, these methods are exhibiting _____ coupling.

(Multiple Choice)
4.8/5
(36)

Use Structured English or pseudocode to write the logic for the process "register for a class" at your college or university. Focus on a single class, but consider the possible exceptions that may occur when you try to register for that class.

(Essay)
4.9/5
(29)

UML's Object Constraint Language is a formal language.

(True/False)
4.9/5
(35)

It is impossible for a subclass to inherit from more than one superclass.

(True/False)
4.8/5
(42)

Contracts document the message passing that takes place between objects.

(True/False)
4.9/5
(32)

Which of the following Structured English statements is an advanced form of an IF statement?

(Multiple Choice)
4.8/5
(38)

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

(True/False)
4.9/5
(45)

Moving the attributes to a calling class when it is the only class that needs those attributes is not a method of optimizing the design of a system?

(True/False)
4.8/5
(46)

In an object-oriented system, changes can take place at the following level of abstraction.

(Multiple Choice)
4.8/5
(29)

Detailed design is important for two reasons. First, preexisting classes and components need to be understood, organized, and pieced together, and second, _____.

(Multiple Choice)
4.8/5
(41)

In terms of levels of abstraction, which of the following is at the lowest level relative to the rest?

(Multiple Choice)
4.9/5
(41)
Showing 41 - 60 of 92
close modal

Filters

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