Exam 6: Object Modeling

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

In a state transition diagram,the circle at the right with a hollow border is the initial state.

Free
(True/False)
4.8/5
(35)
Correct Answer:
Verified

False

What do relationships enable objects to do? What is the strongest kind of relationship? Walk through an example that demonstrates your understanding of the concept.

Free
(Essay)
4.9/5
(30)
Correct Answer:
Verified

Relationships enable objects to communicate and interact as they perform business functions and transactions required by the system.Relationships describe what objects need to know about each other,how objects respond to changes in other objects,and the effects of membership in classes,superclasses,and subclasses.Some relationships are stronger than others (just as a relationship between family members is stronger than one between casual acquaintances).The strongest relationship is called inheritance.Inheritance enables an object,called a child,to derive one or more of its attributes from another object,called a parent.As one example,the INSTRUCTOR object (child)inherits many traits from the EMPLOYEE object (parent),including SOCIAL SECURITY NUMBER,TELEPHONE NUMBER,and HIRE DATE.The INSTRUCTOR object also can possess additional attributes,such as TYPE OF INSTRUCTOR.Because all employees share certain attributes,those attributes are assumed through inheritance and do not need to be repeated in the INSTRUCTOR object.

For a use case diagram,the _____ shows what is included in the system and what is not included in the system.

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

A

A star marks the end of the lifeline.

(True/False)
4.8/5
(43)

By limiting access to internal processes,an object prevents its internal code from being altered by another object or process.

(True/False)
4.8/5
(32)

When a use case diagram is created,the first step is to identify the system boundary,which is represented by a _____.

(Multiple Choice)
4.9/5
(38)

The strongest relationship among objects is called inheritance.

(True/False)
4.9/5
(39)

Attributes are similar to adjectives that describe the characteristics of an object.

(True/False)
4.9/5
(35)

In a use case,the _____ is shown as a stick figure with a label that identifies its role.

(Multiple Choice)
4.7/5
(34)

A control is a specific member of a class.

(True/False)
4.8/5
(32)

Encapsulation allows objects to be used as modular components anywhere in the system.

(True/False)
4.8/5
(36)

Objects within a class can be grouped into _____,which are more specific categories within a class.

(Multiple Choice)
4.8/5
(39)

A _____ shows how an object changes from one state to another,depending on events that affect the object.

(Multiple Choice)
5.0/5
(41)

A bank account object can have a specific attribute called a(n)_____ that can be active,inactive,closed,or frozen.

(Multiple Choice)
4.8/5
(35)

A(n)_____ is a specific member of a class.

(Multiple Choice)
4.7/5
(34)

_____ describe what objects need to know about each other,how objects respond to changes in other objects,and the effects of membership in classes,superclasses,and subclasses.

(Multiple Choice)
4.8/5
(33)

Explain why tools are used in object modeling.

(Essay)
4.8/5
(32)

Inheritance enables an object,called a _____,to derive one or more of its attributes from a parent.

(Multiple Choice)
4.9/5
(31)

An object includes data,but not the processes that affect that data.

(True/False)
4.9/5
(37)

All objects within a(n)_____ share common attributes and methods.

(Multiple Choice)
4.8/5
(35)
Showing 1 - 20 of 74
close modal

Filters

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