Exam 8: Class and Method Design

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

What is Generalization / Specialization cohesion?

(Essay)
4.8/5
(41)

Class cohesion addresses the cohesion within each individual method of a class.

(True/False)
4.8/5
(36)

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

Object-oriented systems have three general types of cohesion: _____, _____, and _____.

(Multiple Choice)
4.9/5
(43)

Because of potential problems, developers must be aware of the effects of modifications in a superclass and in each of the subclasses that will inherit the modification.

(True/False)
4.8/5
(44)

What are the three types of constraints typically captured in object-oriented design?

(Essay)
4.7/5
(42)

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

(Essay)
4.9/5
(40)

When a calling method passes a variable to the called method, the two exhibit content or pathological coupling.

(True/False)
5.0/5
(36)

The signature of a method is completely specified by the name of the method and the parameters that must be passed to the method.

(True/False)
4.8/5
(39)

An If statement in Structured English controls actions that are performed under different conditions.

(True/False)
4.8/5
(35)

Since a Manager has a higher position than an Employee, it is a good idea to design class Manager as a superclass, and the class Employee inherits class Manager.

(True/False)
4.8/5
(33)

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

(Essay)
4.9/5
(38)

Dynamic binding refers to the ability of object-oriented systems to defer the data typing of objects to run time.

(True/False)
4.8/5
(32)

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

(Multiple Choice)
4.7/5
(33)

A class / object should only represent one thing, and a method should only solve a single task. This principle is often referred to as _____.

(Multiple Choice)
4.8/5
(40)

Describe the concept of inheritance. How does this impact the development of object-oriented systems?

(Essay)
4.9/5
(36)

The worst type of method cohesion is logical method cohesion.

(True/False)
4.9/5
(46)

One of inheritance abuses in Object-oriented design is the inheritance was used to implement an association relationship.

(True/False)
4.9/5
(39)

A Case statement in Structured English specifies some action to be performed.

(True/False)
4.8/5
(39)

A Case statement is an advanced form of an If statement.

(True/False)
4.8/5
(39)
Showing 21 - 40 of 92
close modal

Filters

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