0% found this document useful (0 votes)
1K views27 pages

Activity Diagram For Point of Sale

The document contains descriptions of various UML diagrams including activity diagrams, sequence diagrams, collaboration diagrams, deployment diagrams, state transition diagrams, and class diagrams that can be used to model systems such as a point of sale system, hospital management system, online bookshop, cellular company processes, and computer states. It also includes sample questions and answers about UML diagrams and concepts like classes, relationships, associations, dependencies, and generalizations.

Uploaded by

kavitha_priyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views27 pages

Activity Diagram For Point of Sale

The document contains descriptions of various UML diagrams including activity diagrams, sequence diagrams, collaboration diagrams, deployment diagrams, state transition diagrams, and class diagrams that can be used to model systems such as a point of sale system, hospital management system, online bookshop, cellular company processes, and computer states. It also includes sample questions and answers about UML diagrams and concepts like classes, relationships, associations, dependencies, and generalizations.

Uploaded by

kavitha_priyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 27

17.

Activity diagram for Point of sale

18. Sequence Diagram for Point of Sale

19. Collaboration diagram for point of sale

C us to me r

1 : 1 : Ta ke s th e p ro d u c t 5 : 5 : P a ym e n t is d o n e

C le rk

2 : 2 : B ills th e p ro d u ct

C o mpute r

4 : 4 : B ill is g ive n

3 : 3 : P ro c e s s e s th e b ill

20. Deployment diagram for point of sale

Barcode scanner

PDA

Touch screens

Server

21. Hospital Sequence Diagram

P:Patient
1:Confirms

A:Appoint ment

D:Docter

T:Treatm ent

2:Diagnozed 3:Gives Treatment

4:Receive Feedback

22. Hospital Collaboration Diagram

23. Activity Diagram of patient visiting doctor using swim lines

24. Activity diagram of patient checked by Treatment Provider for Diabetes

Check the patient Prescribed Test

No Symptoms Symptoms Check next Patient Age Height & Weight Kind of Diabetes

Provide Treatment

25. Activity diagram for Cellular Company


Customer Sales Ware house

Request Product

Process Product

Pull materials

Shift Order

Receives product

prepare bills

Pay Bills

Close Order

26. Online Book shop of class diagram without attributes

27. Online book shop of Use case diagram

28. Online book shop of Activity diagram

Display Welcom e M essage

Get Login

Get Password &V alidate Display Item Inform ation

Rejected

M ore Accept Selection

Create Order Display Order Rejected


Accepted

Ship to Custom er

29. Sequence diagram using Timing Constraints & Locations

30. State transition diagram representing a history state H

31. Diagram representing Concurrent sub states

32. Diagram representing Sequential substitutes

33. State transition diagram for a Computer being identified with states

S ta te T ra n s itio n d ia g ra m fo r a c o m p u te r b e in g id e n tif w ith s ta te s : Id le ,ru n n in g ,s h u t d o w n

2 s e c /s e lf t e s t ( )

K e y p lu s Id le

In te rru p t( p o w e r fa ilu re ) R u n n in g S hut do w n

34. Diagram for the relation between a component & interface

35. Diagram for the relation between a component & class

36. Deployment diagram for Physical connection system

Draw a Deployment Diagram that shows the physical connection system

Client1 << 10 Tethernet >>

Server << RS 232 >> Client2

37. Deployment diagram for Client server system

D ra w a D e p lo y m e n t D ia g ra m th a t s h o w s th e c lie n t s e rv e r

C lie n t

F ile s e rv e r

S e rv e r

S e rv e r d a ta b a s e

K io s k

S e rv e r p rin t

38. Development Diagram that shows the Embedded System.

Viva Questions & Answers


1. What is a Class? Ans. A class is a description of set of objects that share the same attributes, operations, relations and semantics. 1. What is a simple name? Ans. Every class must have a name that distinguishes it from other classes. A name alone is known as a simple name 2. What is a Path name? Ans. A path name is the class name prefixed by the name of the package in which that class lives 3. What is Attribute? Ans. An attribute is a named property of a class that describes a range of values that instances of the property may hold 4. What is an Operation? Ans. An operation is the implementation of a service that can be requested from any object of the class to affect behavior 5. What is responsibility? Ans. A responsibility is a contract or an obligation of a class 7. What is a relationship? Ans. A relationship is a connection among things 8. What is Dependency? Ans. Change in one thing depends upon the another thing 9. How the dependency is rendered? Ans. Dependency is rendered as a dashed directed line, directed to the thing being depended on 10. What kind of relationship for Generalization?

Ans. Generalization called an is-a-kind-of relationship 11. A class may have how many parents? Ans. A class may have zero, one, or more parents 12. What is root or base class? Ans. A class that has no parents and one or more children is called a root class or base class 13. What is a Leaf class? Ans: A class that has no children is called a leaf class 14. What is the Generalization? Ans: It means that objects of the child may be used anywhere the parent may appear, but not the reverse 15. How generalization is rendered? Ans: It is rendered as a solid directed line with a large open arrowhead, pointing to the parent 16. What is Association? Ans: An Association is a structural relationship that specifies that objects of one thing are connected to objects of another 17. How Association is rendered? Ans: An association is rendered as a solid line connecting the same or different classes 18. What is binary association? Ans: An association that connects exactly two classes is called a binary association 19.What is n-ary association? Ans. An association that connect more than two class 20. What are the four adornments that apply to association?

Ans. Name, Role, Multiplicity, Aggregation

21. How we can describe nature of relationship in association> Ans. By the name 22. What is a Role? Ans. When a class participates in an association, it has a specific role that it plays in the relationship 23. How many multiplicities? Ans. Exactly one(1), Zero or One(0..1), many(0..*), or one or more(1..*) or even state an exact number( for example, 3). 24. What type of Aggregation relationship? Ans. Whole/Part relationship 25.How aggregation relationship is rendered? Ans. It has a plain association with an open diamond at the whole end. 26. What are the relationships usually visualized in class diagrams? Ans. Dependencies, generalization, and association 27. What is a note? Ans. It is a graphical symbol for rendering constraints or comments attached to an element or a collection of elements. 28. How the note is rendered? Ans. It is rendered as a rectangle with dog-eared corner, together with textual or graphical comment. 29. What is stereotype? Ans. It is an extension of the vocabulary of the UML 30. How stereotype is rendered?

Ans. It is rendered as a name enclosed by guillements and placed above the name of another element.

References Books / Material

Text Books Grady Booch, James Rumbaugh, Ivar Jacobson : The Unified Modeling Language 1. User Guide, Pearson Education. Hans-Erik Eriksson, Magnus Penker, Brian Lyons, David Fado: UML 2 Toolkit, 2. WILEY-dreamtech India Pvt. Ltd.

Suggested / Reference Books 1 ) 2 ) 3 ) 4 ) Meilir Page-Jones : Fundamentals of Object Oriented Design in UML, Pearson Education Atul Kahate: Object Oriented Analysis & Design, The McGraw-Hill Companies Mark Priestley: Practical Object-Oriented Design with UML,TATA McGrawHill Ivar Jacobson, Grady Booch, James Rumbaugh: The Unified Software Development Process, Pearson Education

Web sites 1 ) 2 ) http://en.wikipedia.org/wiki/Unified_Modeling_Language http://atlas.kennesaw.edu/~dbraun/csis4650/A&D/index.htm

You might also like