Class Diagram for Online Shopping UML

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Develop a class diagram for following description:

The telephone agent uses an order registry and customer catalog to obtain access to an order & a customer respectively.
The order registry uses an order number as a qualifier to select particular order instance. A customer catalog uses customer name and phone number as a qualifier to select particular customer.
The attributes of an order are the order numbers and time when it is placed. The order consists of many items.
An item has item_number, a quantity, unit price. It also has reference to catalog item which represents listing.
When an order is cancelled or committed, it cancels or commits each of its items first. When an order’s total price method is invoked, the order calls the total price method of each of items and returns the sum.


Class Diagram for Online Shopping:-

UML Class Diagram for Online Shopping




Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA

No comments:

Post a Comment

Post a Comment