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

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

(True/False)
4.9/5
(85)

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

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

(Multiple Choice)
4.9/5
(90)

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

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

(Essay)
4.7/5
(84)

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

(Essay)
4.8/5
(87)

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

(True/False)
4.9/5
(83)

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

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

(True/False)
4.8/5
(75)

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

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

(Essay)
4.9/5
(78)

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

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

(Multiple Choice)
4.8/5
(78)

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

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

(Essay)
4.9/5
(80)

The worst type of method cohesion is logical method cohesion.

(True/False)
4.9/5
(100)

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

(True/False)
4.9/5
(86)

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

(True/False)
4.8/5
(76)

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

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

Filters

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