Você está na página 1de 19

Chapter 10 Object-Oriented Analysis and Modeling using UML

True/False uestions

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 ( ) define new or !odified objects that will be co!bined with existing objects into a useful business co!puting application. Answer" #rue $age" %&' (O)" *ediu! . An object is so!ething that is or is capable of being seen+ touched+ or otherwise sensed+ and about which users store data and associate beha,ior. Answer" #rue $age" %& (O)" -asy

%. Attributes are the data that represents characteristics of interest about an object. Answer" #rue $age" %& (O)" -asy

.. An attribute is so!ething that is or is capable of being seen+ touched or otherwise sensed+ and about which users store data and associate beha,ior. Answer" /alse $age" %& (O)" *ediu! 0ationale" #his describes an object+ not an attribute. 1. 2eha,ior refers to those things that the object can do and that correspond to functions that act on the object3s data (or attributes). #his is co!!only referred to as a !ethod+ operation or ser,ice. Answer" #rue $age" %& (O)" -asy

4. 2eha,ior is the pac5aging of se,eral ite!s together into one unit. Answer" /alse $age" %& (O)" *ediu! 0ationale" #his describes encapsulation+ not beha,ior. &. An object class is a set of object instances that share the sa!e attributes and beha,ior. Answer" #rue $age" %&% (O)" -asy

198

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


6. An object instance is a set of object classes that share the sa!e attributes and beha,ior. Answer" /alse $age" %&% (O)" *ediu! 0ationale" An object class is a set of object instances that share the sa!e attributes and beha,ior. 7. 8nheritance !eans that !ethods and attributes defined in an object class can be inherited or reused by another object class. Answer" #rue $age" %&% (O)" -asy 1'. A supertype is an object class whose instances store attributes that are co!!on to one or !ore subtypes of the object class. Answer" #rue $age" %&. (O)" -asy 11. A subtype is an object class whose instances store attributes that are co!!on to one or !ore supertypes of the object class. Answer" /alse $age" %&. (O)" *ediu! 0ationale" A supertype is an object class whose instances store attributes that are co!!on to one or !ore subtypes of the object class. 1 . An object class relationship is a natural business association that exists between one or !ore object classes. Answer" #rue $age" %&4 (O)" -asy 1%. A !essage is passed when one object in,o5es one or !ore of another object3s !ethods (beha,iors) to request infor!ation or so!e action. Answer" #rue $age" %&6 (O)" -asy 1.. An attribute is passed when one object in,o5es one or !ore of another object3s !ethods (beha,iors) to request infor!ation or so!e action. Answer" /alse $age" %&6 (O)" *ediu! 0ationale" A !essage is passed when one object in,o5es one or !ore of another object3s !ethods (beha,iors) to request infor!ation or so!e action.

199

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


11. $oly!orphis! !eans 9!any for!s.9 Applied to object-oriented techniques+ it !eans that the sa!e na!ed beha,ior !ay be co!pleted differently for different object classes. Answer" #rue $age" %6' (O)" -asy 14. -ncapsulation !eans 9!any for!s.9 Applied to object-oriented techniques+ it !eans that the sa!e na!ed beha,ior !ay be co!pleted differently for different object classes. Answer" /alse $age" %6' (O)" *ediu! 0ationale" $oly!orphis! !eans 9!any for!s.9 Applied to object-oriented techniques+ it !eans that the sa!e na!ed beha,ior !ay be co!pleted differently for different object classes.: 1&. ;se case diagra!s graphically depict the interactions between the syste! and external syste!s and users. 8n other words+ they graphically describe who will use the syste! and in what ways the user expects to interact with the syste!. Answer" #rue $age" %6 (O)" -asy

16. Acti,ity diagra!s depict the sequential flow of a use case or business process. Answer" #rue $age" %6 (O)" *ediu!

17. <lass diagra!s depict the syste!3s object structure. #hey show object classes that the syste! is co!posed of as well as the relationships between those classes. Answer" #rue $age" %6 (O)" -asy

'. #here are thirteen diagra!s used in ;*( .'. Answer" #rue $age" %61 (O)" *ediu! 1. #he current ,ersion of ;*( is %.'. Answer" /alse $age" %&1 (O)" *ediu! 0ationale" #he current ,ersion of ;*( is .'. . #he ;*( does not prescribe a !ethod for de,eloping syste!s = only a notation for !odeling. Answer" #rue $age" %&1 (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

200

Chapter 10 Object-Oriented Analysis and Modeling using UML


%. <lass diagra!s !odel how e,ents can change the state of an object class o,er its lifeti!e. Answer" /alse $age" %6 (O)" *ediu! 0ationale" #his describes >tate *achine diagra!s. .. A subtype can ha,e a beha,ior with the sa!e na!e as a beha,ior in it3s supertype. Answer" #rue $age" %6' (O)" *ediu! 1. #he only way to access or change an object3s attributes is through that object3s beha,iors. Answer" #rue $age" %& (O)" *ediu!

4. 8f exa! is an object class+ then your exa! paper is an object instance. Answer" #rue $age" %& (O)" -asy

&. An object class can be referred to si!ply as a class. Answer" #rue $age" %&% (O)" -asy 6. A >tudent object class and a #eacher object class would ha,e a supertype?subtype relationship. Answer" /alse $age" %&%-%&1 (O)" *ediu! 0ationale" 2oth >tudent and #eacher would be subtypes of a $erson object class. 7. #he concept of !ultiplicity is essentially the sa!e concept as cardinality in data !odeling Answer" #rue $age" %&6 (O)" -asy %'. 8n ;*( .' the notation for co!position has been dropped. Answer" /alse $age" %&6 (O)" *ediu! 0ationale" 8n ;*( .' the notation for aggregation has been dropped. %1. <o!position is drawn with a filled dia!ond. Answer" #rue $age" %&6 (O)" *ediu!

201

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


% . One of the ;*( .' diagra!s is the collaboration diagra!. Answer" /alse $age" %6 (O)" *ediu! 0ationale" #he collaboration diagra! was rena!ed the co!!unication diagra! in ;*( .'. %%. #he ;*( ,ersion 1.' was released in 177&. Answer" #rue $age" %&1 (O)" -asy %.. An acti,ity diagra! can be used to !odel logic with the syste!. Answer" #rue $age" %6 (O)" *ediu!

%1. A student object class !ight ha,e a beha,ior called withdraw/ro!;ni,ersity. Answer" #rue $age" %& (O)" -asy

%4. A student object class !ight ha,e a! attribute called withdraw/ro!;ni,ersity. Answer" #rue $age" %& (O)" -asy 0ationale" #hat would be a beha,ior+ not an attribute. %&. *ultiplicity is the !ini!u! and !axi!u! nu!ber of occurrences of one object class for a single occurrence of the related object class. Answer" #rue $age" %&6 (O)" -asy %6. Aggregation is a stronger for! of co!position. Answer" /alse $age" %&6 (O)" *ediu! 0ationale" <o!position is a stronger for! of aggregation. %7. 8n an e-co!!erce infor!ation syste! the relationship of a shopping cart object class to a shopping cart ite! object class would be a generali@ation?speciali@ation. Answer" /alse $age" %&6 (O)" *ediu! 0ationale" 8t would a co!position relationship.

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

202

Chapter 10 Object-Oriented Analysis and Modeling using UML


.'. 8n object-oriented analysis+ the require!ents use-case !odel is used as is. Answer" /alse $age" %6% (O)" -asy 0ationale" #he require!ents use-case !odel is refined into an analysis use-case !odel. .1. Once all the require!ents use cases ha,e been re,iewed and appro,ed by the users+ each use case will be refined to include !ore infor!ation to specify the syste! functionality in detail. #he resulting use cases are called analysis use cases and should represent any i!ple!entation specifics. Answer" /alse $age" %6% (O)" *ediu! 0ationale" #he analysis use cases should still be i!ple!entation independent. . . A use case !ay contain co!plex functionality consisting of se,eral steps that are difficult to understand. #o si!plify the use case and !a5e it !ore easily understood+ we could extract the !ore co!plex steps into their own use cases. #his type of use case is called an extension use case in that it extends the functionality of the original use case. Answer" #rue $age" %6. (O)" -asy .%. An abstract use case represents a for! of 9reuse.9 Answer" #rue $age" %6. (O)" -asy ... An abstract use case is a,ailable for referencing (or use) by any other use case that requires its functionality. Answer" #rue $age" %6. (O)" -asy .1. Aew use cases !ay be added during object-oriented analysis. Answer" #rue $age" %6. (O)" -asy .4. Aew actors !ay be added to a use-case diagra! during object-oriented analysis. Answer" #rue $age" %6% (O)" -asy .&. 8n co!position+ the 9whole9 is responsible for the creation and destruction of its parts. Answer" #rue $age" %&6 (O)" *ediu!

203

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


.6. A class is said to be persistent if it outli,es the execution of a progra!. Answer" #rue $age" .'1 (O)" -asy .7. #he steps of a use case can be !odeled with an acti,ity diagra!. Answer" #rue $age" %7' (O)" -asy 1'. An acti,ity diagra! begins with an initial node. Answer" #rue $age" %71 (O)" -asy 11. At least one acti,ity diagra! can be constructed for each use case. Answer" #rue $age" %71 (O)" -asy 1 . #o specify who does what+ you can di,ide an acti,ity diagra! into flows. Answer" /alse $age" %71 (O)" *ediu! 0ationale" #o specify who does what+ you can di,ide an acti,ity diagra! into partitions. 1%. -,ery flow on an acti,ity diagra! needs words to identify the!. Answer" /alse $age" %71 (O)" *ediu! 0ationale" *ost flows do not need words to identify the! unless co!ing out of decisions. 1.. On an acti,ity diagra! all actions co!ing into a for5 !ust be co!pleted before processing continues. Answer" /alse $age" %71 (O)" *ediu! 0ationale" On an acti,ity diagra! all actions co!ing into a join !ust be co!pleted before processing continues. 11. On an acti,ity diagra! a subacti,ity indicator indicates a separate acti,ity diagra!. Answer" #rue $age" %71 (O)" *ediu! 14. A syste! sequence diagra! depicts the interaction between an actor and the syste! for a use case scenario. Answer" #rue $age" %7. (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

20

Chapter 10 Object-Oriented Analysis and Modeling using UML


1&. 8n a syste! sequence diagra! lifelines indicate the period of ti!e when the participant is acti,e in the interaction. Answer" /alse $age" %7. (O)" *ediu! 0ationale" Acti,ation bars indicate the period of ti!e when the participant is acti,e in the interaction 16. 8n a syste! sequence diagra! an input !essage called finali@eOrder would be proper according to ;*( con,ention. Answer" #rue $age" %7. (O)" -asy 17. 8n a syste! sequence diagra! a fra!e can show loops or optional steps. Answer" #rue $age" %71 (O)" -asy 4'. An object association !atrix is a tool for prioriti@ing use cases. Answer" /alse $age" .'' (O)" *ediu! 0ationale" An object association !atrix is a tool for deter!ining object class relationships. 41. -,ery object class should ha,e a pri!ary 5ey attribute identified. Answer" /alse $age" .'1 (O)" *ediu! 0ationale" #here is no need in a class diagra! to include a pri!ary 5ey attribute unless it is a real business attribute. 4 . #here is no need for foreign 5eys in a class diagra!. Answer" #rue $age" .'1 (O)" *ediu! Multiple Choice uestions

4%. #he data associated with an object are called" A) beha,iors 2) attributes <) inheritance )) encapsulation -) poly!orphis! Answer" A $age" %& (O)" -asy

20!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


4.. 8n object-oriented analysis we e,ol,e the require!ents use case !odel into the analysis use-case !odel by perfor!ing the following steps" A) identify+ define and docu!ent new actors 2) identify+ define and docu!ent new use cases <) .identify any reuse possibilities )) refine the use case !odel diagra! -) all of these Answer" - $age" %6% (O)" *ediu! 41. #he !essages of a use case can be graphically depicted with a(n)" A) syste! analysis use case 2) use case diagra! <) acti,ity diagra! )) syste! sequence diagra! -) none of these Answer" ) $age" %7. (O)" *ediu! 44. 8n an acti,ity diagra! you would co!bine flows that were pre,iously separated by decision using a(n)" A) !erge 2) for5 <) join )) connector -) none of these Answer" A $age" %71 (O)" *ediu! 4&. 8f an object class outli,es the execution of the progra!+ it is said to be" A) per!anent 2) transient <) persistent )) an instance -) none of these Answer" < $age" .'1 (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

20"

Chapter 10 Object-Oriented Analysis and Modeling using UML


46. Bhich of the following people were not in,ol,ed in de,eloping object-oriented analysisC A) Drady 2ooch 2) -./. <odd <) 8,ar Eacobson )) Ea!es 0u!baugh -) all of these were in,ol,ed in de,eloping object-oriented analysis Answer" 2 $age" %&'-%&1 (O)" Fard 47. A set of !odeling con,entions that is used to specify or describe a software syste! in ter!s of objects is" A) data flow diagra!s 2) object flow diagra!s <) attribute object diagra!s )) unified !odeling language -) none of these Answer" ) $age" %&' (O)" *ediu! &'. #he pac5aging of an object with its beha,iors is called" A) beha,iors 2) attributes <) inheritance )) encapsulation -) poly!orphis! Answer" ) $age" %& (O)" -asy

&1. #hose things that an object can do and that correspond to functions that act on the object3s data (or attributes) is 5nown as a(n)" A) !ethod 2) beha,ior <) operation )) ser,ice -) all of these Answer" - $age" %& (O)" Fard

20#

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


& . Bhich type of class relationship can be described as 9is part of9 or 9is co!posed of9C A) generali@ation?speciali@ation 2) association <) aggregation )) !ultiplicity -) inheritance Answer" < $age" %&6 (O)" *ediu! &%. #he condition where the !ethods and?or attributes defined in an object class can be inherited or reused by another object class is 5nown as" A) encapsulation 2) generali@ation <) inheritance )) speciali@ation -) none of these Answer" < $age" %&% (O)" *ediu! &.. A technique wherein the attributes and beha,iors are co!!on to se,eral types of object classes are grouped into their own class+ called a supertype+ is 5nown as" A) encapsulation 2) generali@ation <) inheritance )) generali@ation?speciali@ation -) none of these Answer" ) $age" %&% (O)" *ediu! &1. An object class whose instances inherit so!e co!!on attributes fro! a class supertype and then add other attributes that are unique to its instances is 5nown as" A) a supertype 2) a subtype <) a beha,ior )) a !essage -) none of these Answer" 2 $age" %&. (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

208

Chapter 10 Object-Oriented Analysis and Modeling using UML


&4. Bhat defines how !any instances of one object class can be associated with one instance of another object classC A) associati,ity 2) !ultiplicity <) relationship )) inheritance -) none of these Answer" 2 $age" %&6 (O)" *ediu! &&. )iagra!s that depict the syste!3s object structure and show object classes that the syste! is co!posed of as well as the relationships between those object classes are 5nown as" A) use case diagra!s 2) class diagra!s <) object diagra!s )) sequence diagra!s -) none of these Answer" 2 $age" %6 (O)" *ediu!

&6. Bhich type of class relationship can be described as 9is a9C A) generali@ation?speciali@ation 2) association <) aggregation )) !ultiplicity -) inheritance Answer" A $age" %&. (O)" *ediu! &7. 8n a <lass )iagra! a !ultiplicity of @ero or !ore would be designated by" A) '..G 2) '-G <) a crow3s foot )) a ' and a ,ertical line -) none of these Answer" A $age" %&& (O)" -asy

209

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


6'. Bhich 5ind of diagra! shows aggregationC A) acti,ity diagra! 2) class diagra! <) syste! sequence diagra! )) class relationship diagra! -) none of these Answer" A $age" .'1 (O)" *ediu! 61. 8n a syste! sequence diagra!+ the syste! is depicted as" A) a single box 2) one or !ore rounded rectangles <) lifelines )) object classes -) none of these Answer" A $age" %7. (O)" *ediu! 6 . Bhich of the following can AO# be shown in a syste! sequence diagra!C A) a recei,er actor 2) loops <) optional steps )) object classes -) syste! outputs Answer" < $age" %7.-%71 (O)" *ediu! 6%. Bhich of the following can AO# be shown in an acti,ity diagra!C A) decisions 2) concurrent actions <) actors )) ;*( con,ention for !essages -) none of these Answer" < $age" %71 (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

210

Chapter 10 Object-Oriented Analysis and Modeling using UML


6.. Bhich of the following !essages uses proper ;*( notationC A) 8te! >elections 2) 8te!>elections(ite!s+ quantities) <) 8te!>elections(8te!s+ Huantities) )) ite!>elections(ite!s+ quantities) -) 8te!selections(8#-*>+H;AA#8#8->) Answer" < $age" %7. (O)" *ediu! Fill in the !lan" uestions

61. #he use case IIIIIIIIIIIIIIIIIIIIIIIIIIIII is used to textually describe the sequence of steps of each interaction. Answer" narrati,e $age" %6 (O)" *ediu!

64. IIIIIIIIIIIIIIIIIIIIIIII diagra!s depict the syste!3s object structure. #hey show object classes that the syste! is co!posed of as well as the relationships between those classes. Answer" <lass $age" %6 (O)" *ediu!

6&. IIIIIIIIIIIIIIIIIIIIIIIIIIIII diagra!s depict the interaction between an actor and the syste! for a use case scenario. Answer" >yste! sequence $age" %7. (O)" *ediu!

66. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII diagra!s graphically depict how objects interact with each other ,ia !essages in execution of a use case or operation. #hey illustrate how !essages are sent and recei,ed between objects and in what sequence. Answer" >equence $age" %6 (O)" Fard

67. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII are set o,er the lifelines in a syste! sequence diagra! to indicate the period of ti!e when the participant is acti,e in the interaction. Answer" Acti,ation bars $age" %7. (O)" *ediu!

211

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


7'. A beha,ior in a subtype is said to IIIIIIIIIIIII a beha,ior with the sa!e na!e in its supertype. Answer" o,erride $age" %6' (O)" Fard

71. 8n an acti,ity diagra! the dia!ond shape is used to represent a IIIIIIIIII or a IIIIIIIIIIII. Answer" decision+ !erge $age" %71 (O)" *ediu!

7 . 8n an acti,ity diagra! a ra5e sy!bol is used to represent a IIIIIIIIIIIIIIIIIIIIII. Answer" subacti,ity indicator (action bro5en out in another acti,ity diagra!) $age" %71 (O)" *ediu! 7%. 8n an acti,ity diagra! a blac5 bar with tow or !ore flows co!ing in an one flow going out is called a IIIIIIIIIIIIIIII. Answer" join $age" %71 (O)" *ediu!

7.. #o show who does what in an acti,ity diagra! you would di,ide it into IIIIIIIIIIIII. Answer" partitions (swi!lanes) $age" %71 (O)" *ediu!

71. #o show loops in a syste! sequence diagra! you would use a IIIIIIIIIIIII. Answer" fra!e $age" %71 (O)" *ediu!

74. IIIIIIIIIIIIIIIIIIIIIIIIIIIII. is a relationship in which one larger 9whole9 class contains one or !ore s!aller 9parts9 classes. Answer" Aggregation (or co!position) $age" %&6 (O)" *ediu!

7&. 8f an object class called >upplier has a beha,ior called send-!ail and an object class called <usto!er has a beha,ior called send-!ial+ that is an exa!ple of IIIIIIIIIIIIIIIIIII. Answer" poly!orphis! $age" %6' (O)" Fard

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

212

Chapter 10 Object-Oriented Analysis and Modeling using UML


76. #he ,ersion of the use case created during require!ents analysis is called a(n) IIIIIIIIIIIIIIIIIIIIII use case. Answer" require!ents $age" %6% (O)" Fard

77. 8f >upplier was an object class+ supplier phone nu!ber would be a(n) IIIIIIIIIIIIIIIIII. Answer" attribute $age" %& (O)" *ediu!

1''. A use case !ay contain co!plex functionality consisting of se,eral steps that are difficult to understand. #o si!plify the use case and !a5e it !ore easily understood+ we could extract the !ore co!plex steps into their own use cases. #his type of use case is called a(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIII use case in that it extends the functionality of the original use case. Answer" extension $age" %6. (O)" Fard

1'1. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII use case can be in,o5ed only by the use case it is extending. Answer" extension $age" %6. (O)" Fard

1' . A(n) IIIIIIIIIIIIIIIIIIIIIIIIIII use case is used to define a use case that has a sequence of co!!on steps that can be used by other use cases. 8t represents a for! of 9reuse.9 Answer" abstract $age" %6. (O)" Fard

1'%. IIIIIIIIIIIIIIIIIII is a stronger for! of IIIIIIIIIIIIIIIIII. Answer" <o!position+ aggregation $age" %&6 (O)" Fard

1'.. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is a type of association that is often referred to as a whole?part relationship.. Answer" Aggregation (co!position) $age" .'1 (O)" *ediu!

1'1. An object class is said to be IIIIIIIIIIIIIIIIIIIIIIIIIIIIII if it outli,es the execution of a progra!. Answer" persistent $age" .'1 (O)" Fard

213

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


1'4. Bhen a class is persistent+ it !eans the objects the class describes will be stored in a IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII. Answer" database $age" .'1 (O)" Fard

1'&. Object classes that are created te!porarily by a software progra! are called IIIIIIIIIIIIIIIIIIIIII. Answer" transient objects $age" .'1 (O)" Fard

1'6. ;*( 1.' was released in the year IIIIIIIII. Answer" 177& $age" %&1 (O)" Fard

1'7. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII techniques are used to (1) study existing objects to see if they can be reused or adapted for new uses; and ( ) define new or !odified objects that will be co!bined with existing objects into a useful business co!puting application. Answer" Object-oriented analysis (OOA) $age" %&' (O)" Fard

11'. IIIIIIIIIIIIIIIIIIIIIIIIIIII is a technique for identifying objects within the syste!s en,iron!ent and the relationships between those objects. Answer" Object !odeling $age" %4' (O)" Fard

111. #he IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is a set of !odeling con,entions that is used to specify or describe a software syste! in ter!s of objects. Answer" ;nified *odeling (anguage (;*() $age" %&1 (O)" Fard

11 . A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIII is so!ething that is+ or is capable of being seen+ touched+ or otherwise sensed+ and about which users store data and associate beha,ior. Answer" object $age" %& (O)" *ediu!

11%. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII are the data that represent characteristics of interest about an object. Answer" Attributes $age" %& (O)" *ediu!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

21

Chapter 10 Object-Oriented Analysis and Modeling using UML


11.. IIIIIIIIIIIIIIIIIIIIIIIII refers to those things that the object can do and that correspond to functions that act on the object3s data (or attributes). #his is co!!only referred to as a !ethod+ operation or ser,ice. Answer" 2eha,ior $age" %& (O)" Fard

111. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is the pac5aging of se,eral ite!s together into one unit. 8t is also called infor!ation hiding. Answer" -ncapsulation $age" %& (O)" Fard

114. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIII is a set of objects that share the sa!e attributes and beha,ior. 8t is so!eti!es referred to as an object class. Answer" object class $age" %&% (O)" Fard

11&. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII !eans that !ethods and attributes defined in an object class can be inherited or reused by another object class. Answer" 8nheritance $age" %&% (O)" *ediu!

116. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is a technique wherein the attributes and beha,iors that are co!!on to se,eral types of object classes are grouped into their own class+ called a supertype. #he attributes and !ethods of the supertype object class are then inherited by those object classes. Answer" Denerali@ation?speciali@ation $age" %&% (O)" Fard

117. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is an object whose instances store attributes that are co!!on to one or !ore class subtypes of the object. Answer" supertype $age" %&. (O)" *ediu!

1 '. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIII is an object class whose instances inherit so!e co!!on attributes fro! a class supertype and then add other attributes that are unique to an instance of it. Answer" subtype $age" %&. (O)" *ediu!

1 1. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is a natural business association that exists between one or !ore object?classes. Answer" object class relationship $age" %&4 (O)" Fard

21!

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

Chapter 10 Object-Oriented Analysis and Modeling using UML


1 . IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII defines how !any instances of one object?class can be associated with one instance of another object?class. Answer" *ultiplicity $age" %&6 (O)" *ediu!

1 %. A(n) IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII is passed when one object in,o5es one or !ore of another object3s !ethods (beha,iors) to request infor!ation or so!e action. Answer" !essage $age" %&6 (O)" *ediu!

1 .. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII !eans 9!any for!s.9 Applied to object-oriented techniques+ it !eans that the sa!e na!ed beha,ior !ay be co!pleted differently for different objects?classes. Answer" $oly!orphis! $age" %6' (O)" Fard

1 1. IIIIIIIIIIIIIIIIIIIIIIIIII diagra!s depict the sequential flow of acti,ities of a use case or business process Answer" Acti,ity $age" %6 (O)" -asy

Whitten/Bentley, Systems Analysis & Design Methods, Seventh Edition

21"

Você também pode gostar