Chapter 10 Flashcards

Object-Oriented Analysis and Modeling Using the XML (83 cards)

1
Q
  1. 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.
A

Answer: True Page: 370 LOD: Medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. 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.
A

Answer: True Page: 372 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. Attributes are the data that represents characteristics of interest about an object.
A

Answer: True Page: 372 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Behavior is the packaging of several items together into one unit.
A

Answer: False Page: 372 LOD: MediumRationale: This describes encapsulation, not behavior.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. An object class is a set of object instances that share the same attributes and behavior.
A

Answer: True Page: 373 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. An object instance is a set of object classes that share the same attributes and behavior.
A

Answer: False Page: 373 LOD: MediumRationale: An object class is a set of object instances that share the same attributes and behavior.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Inheritance means that methods and attributes defined in an object class can be inherited or reused by another object class.
A

Answer: True Page: 373 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. A supertype is an object class whose instances store attributes that are common to one or more subtypes of the object class.
A

Answer: True Page: 374 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. A subtype is an object class whose instances store attributes that are common to one or more supertypes of the object class.
A

Answer: False Page: 374 LOD: MediumRationale: A supertype is an object class whose instances store attributes that are common to one or more subtypes of the object class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. An object class relationship is a natural business association that exists between one or more object classes.
A

Answer: True Page: 376 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. A message is passed when one object invokes one or more of another object’s methods (behaviors) to request information or some action.
A

Answer: True Page: 378 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. Encapsulation means ‘many forms.’ Applied to object-oriented techniques, it means that the same named behavior may be completed differently for different object classes.
A

Answer: False Page: 380 LOD: MediumRationale: Polymorphism means ‘many forms.’ Applied to object-oriented techniques, it means that the same named behavior may be completed differently for different object classes.}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. 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.
A

Answer: True Page: 382 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Activity diagrams depict the sequential flow of a use case or business process.
A

Answer: True Page: 382 LOD: Medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. 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.
A

Answer: True Page: 382 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. There are thirteen diagrams used in UML 2.0.
A

Answer: True Page: 381 LOD: Medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  1. The current version of UML is 3.0.
A

Answer: False Page: 371 LOD: MediumRationale: The current version of UML is 2.0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
  1. The UML does not prescribe a method for developing systems - only a notation for modeling.
A

Answer: True Page: 371 LOD: Medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
  1. Class diagrams model how events can change the state of an object class over its lifetime.
A

Answer: False Page: 382 LOD: MediumRationale: This describes State Machine diagrams.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
  1. If exam is an object class, then your exam paper is an object instance.
A

Answer: True Page: 372 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
  1. An object class can be referred to simply as a class.
A

Answer: True Page: 373 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
  1. A Student object class and a Teacher object class would have a supertype/subtype relationship.
A

Answer: False Page: 373-375 LOD: MediumRationale: Both Student and Teacher would be subtypes of a Person object class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q
  1. The concept of multiplicity is essentially the same concept as cardinality in data modeling
A

Answer: True Page: 378 LOD: Easy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q
  1. In UML 2.0 the notation for composition has been dropped.
A

Answer: False Page: 378 LOD: MediumRationale: In UML 2.0 the notation for aggregation has been dropped.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
31. Composition is drawn with a filled diamond.
Answer: True Page: 378 LOD: Medium
26
32. One of the UML 2.0 diagrams is the collaboration diagram.
Answer: False Page: 382 LOD: MediumRationale: The collaboration diagram was renamed the communication diagram in UML 2.0.
27
33. The UML version 1.0 was released in 1997.
Answer: True Page: 371 LOD: Easy
28
36. A student object class might have am attribute called withdrawFromUniversity.
Answer: True Page: 372 LOD: EasyRationale: That would be a behavior, not an attribute.
29
37. Multiplicity is the minimum and maximum number of occurrences of one object class for a single occurrence of the related object class.
Answer: True Page: 378 LOD: Easy
30
38. Aggregation is a stronger form of composition.
Answer: False Page: 378 LOD: MediumRationale: Composition is a stronger form of aggregation.
31
39. In an e-commerce information system the relationship of a shopping cart object class to a shopping cart item object class would be a generalization/specialization.
Answer: False Page: 378 LOD: MediumRationale: It would a composition relationship.
32
60. An object association matrix is a tool for prioritizing use cases.
Answer: False Page: 400 LOD: MediumRationale: An object association matrix is a tool for determining object class relationships.
33
61. Every object class should have a primary key attribute identified.
Answer: False Page: 405 LOD: MediumRationale: There is no need in a class diagram to include a primary key attribute unless it is a real business attribute.
34
62. There is no need for foreign keys in a class diagram.
Answer: True Page: 405 LOD: Medium
35
63. The data associated with an object are called:A) behaviorsB) attributesC) inheritanceD) encapsulationE) polymorphism
Answer: A Page: 372 LOD: Easy
36
66. In an activity diagram you would combine flows that were previously separated by decision using a(n):A) mergeB) forkC) joinD) connectorE) none of these
Answer: A Page: 391 LOD: Medium
37
67. If an object class outlives the execution of the program, it is said to be:A) permanentB) transientC) persistentD) an instanceE) none of these
Answer: C Page: 405 LOD: Medium
38
68. Which of the following people were not involved in developing object-oriented analysis?A) Grady BoochB) E.F. CoddC) Ivar JacobsonD) James RumbaughE) all of these were involved in developing object-oriented analysis
Answer: B Page: 370-371 LOD: Hard
39
69. A set of modeling conventions that is used to specify or describe a software system in terms of objects is:A) data flow diagramsB) object flow diagramsC) attribute object diagramsD) unified modeling languageE) none of these
Answer: D Page: 370 LOD: Medium
40
70. The packaging of an object with its behaviors is called:A) behaviorsB) attributesC) inheritanceD) encapsulationE) polymorphism
Answer: D Page: 372 LOD: Easy
41
71. Those things that an object can do and that correspond to functions that act on the object's data (or attributes) is known as a(n):A) methodB) behaviorC) operationD) serviceE) all of these
Answer: E Page: 372 LOD: Hard
42
72. Which type of class relationship can be described as 'is part of' or 'is composed of'?A) generalization/specializationB) associationC) aggregationD) multiplicityE) inheritance
Answer: C Page: 378 LOD: Medium
43
73. The condition where the methods and/or attributes defined in an object class can be inherited or reused by another object class is known as:A) encapsulationB) generalizationC) inheritanceD) specializationE) none of these
Answer: C Page: 373 LOD: Medium
44
76. What defines how many instances of one object class can be associated with one instance of another object class?A) associativityB) multiplicityC) relationshipD) inheritanceE) none of these
Answer: B Page: 378 LOD: Medium
45
77. Diagrams that depict the system's object structure and show object classes that the system is composed of as well as the relationships between those object classes are known as:A) use case diagramsB) class diagramsC) object diagramsD) sequence diagramsE) none of these
Answer: B Page: 382 LOD: Medium
46
78. Which type of class relationship can be described as 'is a'?A) generalization/specializationB) associationC) aggregationD) multiplicityE) inheritance
Answer: A Page: 374 LOD: Medium
47
79. In a Class Diagram a multiplicity of zero or more would be designated by:A) 0..*B) 0-*C) a crow's footD) a 0 and a vertical lineE) none of these
Answer: A Page: 377 LOD: Easy
48
80. Which kind of diagram shows aggregation?A) activity diagramB) class diagramC) system sequence diagramD) class relationship diagramE) none of these
Answer: A Page: 405 LOD: Medium
49
81. In a system sequence diagram, the system is depicted as:A) a single boxB) one or more rounded rectanglesC) lifelinesD) object classesE) none of these
Answer: A Page: 394 LOD: Medium
50
82. Which of the following can NOT be shown in a system sequence diagram?A) a receiver actorB) loopsC) optional stepsD) object classesE) system outputs
Answer: C Page: 394-395 LOD: Medium
51
83. Which of the following can NOT be shown in an activity diagram?A) decisionsB) concurrent actionsC) actorsD) UML convention for messagesE) none of these
Answer: C Page: 391 LOD: Medium
52
86. ________________________ 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: Class Page: 382 LOD: Medium
53
87. _____________________________ diagrams depict the interaction between an actor and the system for a use case scenario.
Answer: System sequence Page: 394 LOD: Medium
54
88. __________________________________ diagrams graphically depict how objects interact with each other via messages in execution of a use case or operation. They illustrate how messages are sent and received between objects and in what sequence.
Answer: Sequence Page: 382 LOD: Hard
55
89. ___________________________________ are set over the lifelines in a system sequence diagram to indicate the period of time when the participant is active in the interaction.
Answer: Activation bars Page: 394 LOD: Medium
56
90. A behavior in a subtype is said to _____________ a behavior with the same name in its supertype.
Answer: override Page: 380 LOD: Hard
57
91. In an activity diagram the diamond shape is used to represent a __________ or a ____________.
Answer: decision, merge Page: 391 LOD: Medium
58
92. In an activity diagram a rake symbol is used to represent a ______________________.
Answer: subactivity indicator (action broken out in another activity diagram) Page: 391 LOD: Medium
59
93. In an activity diagram a black bar with tow or more flows coming in an one flow going out is called a ________________.
Answer: join Page: 391 LOD: Medium
60
96. _____________________________. is a relationship in which one larger 'whole' class contains one or more smaller 'parts' classes.
Answer: Aggregation (or composition) Page: 378 LOD: Medium
61
97. If an object class called Supplier has a behavior called sendEmail and an object class called Customer has a behavior called sendEmial, that is an example of ___________________.
Answer: polymorphism Page: 380 LOD: Hard
62
98. The version of the use case created during requirements analysis is called a(n) ______________________ use case.
Answer: requirements Page: 383 LOD: Hard
63
99. If Supplier was an object class, supplier phone number would be a(n) __________________.
Answer: attribute Page: 372 LOD: Medium
64
100. A use case may contain complex functionality consisting of several steps that are difficult to understand. To simplify the use case and make it more easily understood, we could extract the more complex steps into their own use cases. This type of use case is called a(n) ______________________________ use case in that it extends the functionality of the original use case.
Answer: extension Page: 384 LOD: Hard
65
101. A(n) ________________________________ use case can be invoked only by the use case it is extending.
Answer: extension Page: 384 LOD: Hard
66
102. A(n) ___________________________ use case is used to define a use case that has a sequence of common steps that can be used by other use cases. It represents a form of 'reuse.'
Answer: abstract Page: 384 LOD: Hard
67
103. ___________________ is a stronger form of __________________.
Answer: Composition, aggregation Page: 378 LOD: Hard
68
106. When a class is persistent, it means the objects the class describes will be stored in a _____________________________________.
Answer: database Page: 405 LOD: Hard
69
107. Object classes that are created temporarily by a software program are called ______________________.
Answer: transient objects Page: 405 LOD: Hard
70
108. UML 1.0 was released in the year _________.
Answer: 1997 Page: 371 LOD: Hard
71
109. ___________________________________ 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: Object-oriented analysis (OOA) Page: 370 LOD: Hard
72
110. ____________________________ is a technique for identifying objects within the systems environment and the relationships between those objects.
Answer: Object modeling Page: 360 LOD: Hard
73
111. The _________________________________________ is a set of modeling conventions that is used to specify or describe a software system in terms of objects.
Answer: Unified Modeling Language (UML) Page: 371 LOD: Hard
74
112. A(n) ______________________________ is something that is, or is capable of being seen, touched, or otherwise sensed, and about which users store data and associate behavior.
Answer: object Page: 372 LOD: Medium
75
113. _______________________________ are the data that represent characteristics of interest about an object.
Answer: Attributes Page: 372 LOD: Medium
76
116. A(n) ___________________________ is a set of objects that share the same attributes and behavior. It is sometimes referred to as an object class.
Answer: object class Page: 373 LOD: Hard
77
117. ___________________________________ means that methods and attributes defined in an object class can be inherited or reused by another object class.
Answer: Inheritance Page: 373 LOD: Medium
78
118. ___________________________________ is a technique wherein the attributes and behaviors that are common to several types of object classes are grouped into their own class, called a supertype. The attributes and methods of the supertype object class are then inherited by those object classes.
Answer: Generalization/specialization Page: 373 LOD: Hard
79
119. A(n) _______________________________ is an object whose instances store attributes that are common to one or more class subtypes of the object.
Answer: supertype Page: 374 LOD: Medium
80
120. A(n) _____________________________ is an object class whose instances inherit some common attributes from a class supertype and then add other attributes that are unique to an instance of it.
Answer: subtype Page: 374 LOD: Medium
81
121. A(n) ________________________________________ is a natural business association that exists between one or more object/classes.
Answer: object class relationship Page: 376 LOD: Hard
82
122. ___________________________________ defines how many instances of one object/class can be associated with one instance of another object/class.
Answer: Multiplicity Page: 378 LOD: Medium
83
123. A(n) __________________________________ is passed when one object invokes one or more of another object's methods (behaviors) to request information or some action.
Answer: message Page: 378 LOD: Medium