Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

JAYA ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS 2353 OBJECT ORIENTED ANALYSIS AND DESIGN Possible

2ma !s a"# $%ma !s Re&ea'e# U"i(e si') *+es'io"s

2 Ma !s ,
$- ./a' is a00 e0a'io" i" UML1 2A& il3Ma) 24$$3 MAY3JUNE 24$25 Aggregation is a special type of has-a relationship between classes where one of the two participating classes is part of other one. I.e. its a wholepart relationship. The class acting as whole always has multiplicity of one.In UML representation aggregations are represented by an association that shows a rhomb on the side of the whole. or e!ample A car has "heel. 2- ./a' is 6om&osi'io"1 2A& il3Ma) 24$$ MAY3JUNE 24$235 #omposition is a special type aggregation where the $has-a$ relationship is more strong. I.e. the part entity cannot e!ist without the whole entity. or e!ample an uni%ersity has departments which cannot e!ist on their own with the containing $uni%ersity$ entity 3- De7i"e '/e 6/a a6'e is'i6s o7 a00 e0a'io", It does not imply ownership.It is an asymmetric relationship. It is a transiti%e relationship. It implies stronger coupling beha%ior &copy' delete' etc.(. ).Di77e e"'ia'e A00 e0a'io" a"# 6o"'ai"me"'1 Aggregation is the relationship between the whole and a part. "e can add*subtract some properties in the part &sla%e( side. It won$t affect the whole part. +est e!ample is #ar' which contains the wheels and some e!tra parts. ,%en though the parts are not there we can call it as car. +ut' in the case of containment the whole part is affected when the part within that got affected. The human body is an apt e!ample for this relationship. "hen the whole body dies the parts &heart etc( are died.

-. De7i"e Domai" Mo#el2A& il3Ma) 24$$5 A domain model is a representation of real-world conceptual classes' not of software components. It is not a set of diagrams describing software classes or software ob.ects with responsibilities. %- ./a' is mea"' b) A6'i(i') #ia0 am1 An activity specifies the coordination of executions of subordinate behaviors, using a control and data flow model. 8- What is activity parameter? Acti%ity parameter nodes are ob.ect nodes at the beginning and end of flows that pro%ide a means to accept inputs to an acti%ity and pro%ide outputs from the acti%ity' through the acti%ity parameter 9- De7i"e S:imla"e/wimlane is used for partitioning the children in an acti%ity diagram. ;-De7i"e Class A class is a description of ob.ects that share the same attributes' oprations' methods' relationships and semantics A class is a template for creating ob.ects. A class models the data and beha%ior an ob.ect will ha%e. #lasses can be domain &or analysis( classes' design classes' or implementation classes 0efinition of the class must include attributes' operations and constraints ./a' is mea"' b) ob<e6'1 An ob.ect is a specific instance of a class. ./a' is mea"' b) A'' ib+'es A data %ariable with ob.ect scope. ,!amples1 boo2 attributes1 title' author' publisher' I/+3 The %alue of an ob.ect$s attributes define its state. Attributes should not be accessible to entities outside the ob.ect. De7i"e Be/a(io s Me'/o#, a function with ob.ect scope. Methods can operate on that ob.ect$s attributes. 0efines the ob.ects beha%iors - how it does what it does. Methods define the ob.ects responsibilities.

De7i"e Co"6e&'+al Classes 4 /ymbol 5 words or images representing the concept 4 Intention 5 definition of the concept 4 ,!tension 5 the set of e!amples to which the concept applies 6). =o: 'o C ea'e a Domai" Mo#el 1 ind the domain concepts 0raw them in a UML class diagram Add associations and attribute. 6-. UML #esi0"s 6o"sis' o7 1 #lass and ob.ect diagram Use cases Interaction diagram

$% Ma !s ,

$- E>&lai" i" #e'ail abo+' Elabo a'io" &/ases2- .i'/ e>am&le? e>&lai" b ie7l) abo+' Domai" Mo#el Re7i"eme"'3- E>&lai" i" #e'ail abo+' Co"6e&'+al 6lasses :i'/ s+i'able e>am&le2APR3MAY 24$$? NO@3DEC 24$$5 A- De7i"e a'' ib+'es- .i'/ e>am&le e>&lai" abo+' Asso6ia'io"s5- Di77e e"'ia'e A00 e0a'io" a"# Com&osi'io"%- .i'/ s+i'able s6e"a io a"# e>am&le e>&lai" abo+' UML A6'i(i') Dia0 am- 2APR3MAY 24$$? NO@3DEC 24$$? MAY3JUNE 24$25

You might also like