Chapter 10 Flashcards
- Object-oriented analysis (OOA) techniques are used to (1) study existing objects to see if they can be reused or adapted for new uses; and (2) define new or modified objects that will be combined with existing objects into a useful business computing application.
Answer: True Page: 370 LOD: Medium
- An object is something that is or is capable of being seen, touched, or otherwise sensed, and about which users store data and associate behavior.
Answer: True Page: 372 LOD: Easy
- Attributes are the data that represents characteristics of interest about an object.
Answer: True Page: 372 LOD: Easy
- Behavior is the packaging of several items together into one unit.
Answer: False Page: 372 LOD: Medium
Rationale: This describes encapsulation, not behavior.
- An object class is a set of object instances that share the same attributes and behavior.
Answer: True Page: 373 LOD: Easy
- An object instance is a set of object classes that share the same attributes and behavior.
Answer: False Page: 373 LOD: Medium Rationale: An object class is a set of object instances that share the same attributes and behavior.
- Inheritance means that methods and attributes defined in an object class can be inherited or reused by another object class.
Answer: True Page: 373 LOD: Easy
- A supertype is an object class whose instances store attributes that are common to one or more subtypes of the object class.
Answer: True Page: 374 LOD: Easy
- A subtype is an object class whose instances store attributes that are common to one or more supertypes of the object class.
Answer: False Page: 374 LOD: Medium Rationale: A supertype is an object class whose instances store attributes that are common to one or more subtypes of the object class.
- An object class relationship is a natural business association that exists between one or more object classes.
Answer: True Page: 376 LOD: Easy
- A message is passed when one object invokes one or more of another object’s methods (behaviors) to request information or some action.
Answer: True Page: 378 LOD: Easy
- Encapsulation means ‘many forms.’ Applied to object-oriented techniques, it means that the same named behavior may be completed differently for different object classes.
Answer: False Page: 380 LOD: Medium
Rationale: Polymorphism means ‘many forms.’ Applied to object-oriented techniques, it means that the same named behavior may be completed differently for different object classes.}
- Use case diagrams graphically depict the interactions between the system and external systems and users. In other words, they graphically describe who will use the system and in what ways the user expects to interact with the system.
Answer: True Page: 382 LOD: Easy
- Activity diagrams depict the sequential flow of a use case or business process.
Answer: True Page: 382 LOD: Medium
- Class diagrams depict the system’s object structure. They show object classes that the system is composed of as well as the relationships between those classes.
Answer: True Page: 382 LOD: Easy
- There are thirteen diagrams used in UML 2.0.
Answer: True Page: 381 LOD: Medium
- The current version of UML is 3.0.
Answer: False Page: 371 LOD: Medium
Rationale: The current version of UML is 2.0.
- The UML does not prescribe a method for developing systems - only a notation for modeling.
Answer: True Page: 371 LOD: Medium
- Class diagrams model how events can change the state of an object class over its lifetime.
Answer: False Page: 382 LOD: Medium
Rationale: This describes State Machine diagrams.
- If exam is an object class, then your exam paper is an object instance.
Answer: True Page: 372 LOD: Easy
- An object class can be referred to simply as a class.
Answer: True Page: 373 LOD: Easy
- A Student object class and a Teacher object class would have a supertype/subtype relationship.
Answer: False Page: 373-375 LOD: Medium
Rationale: Both Student and Teacher would be subtypes of a Person object class.
- The concept of multiplicity is essentially the same concept as cardinality in data modeling
Answer: True Page: 378 LOD: Easy
- In UML 2.0 the notation for composition has been dropped.
Answer: False Page: 378 LOD: Medium
Rationale: In UML 2.0 the notation for aggregation has been dropped.