Activity Diagram For Point of Sale
Activity 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
Barcode scanner
PDA
Touch screens
Server
P:Patient
1:Confirms
A:Appoint ment
D:Docter
T:Treatm ent
4:Receive Feedback
No Symptoms Symptoms Check next Patient Age Height & Weight Kind of Diabetes
Provide Treatment
Request Product
Process Product
Pull materials
Shift Order
Receives product
prepare bills
Pay Bills
Close Order
Get Login
Rejected
Ship to Custom er
33. State transition diagram for a Computer being identified with states
2 s e c /s e lf t e s t ( )
K e y p lu s Id le
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
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?
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.
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