Beruflich Dokumente
Kultur Dokumente
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
199
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!
200
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
%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.
202
203
20
4%. #he data associated with an object are called" A) beha,iors 2) attributes <) inheritance )) encapsulation -) poly!orphis! Answer" A $age" %& (O)" -asy
20!
20"
&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#
208
&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
210
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
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
212
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
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!
21
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!
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
21"