الانتقال إلى المحتوى

ممكن مساعدة في حل الاسايمنت؟ Object Oriented Paradigm


mazin8cool

Recommended Posts

Scenario Description:
Aliexpress is one of the famous online shopping. It’s Chinese website which features products at very cheap rates direct from wholesalers / producers. For the betterment of customer service; management decided to upgrade their currently system by a new Web-based system. In the new system customers can register using e-mail and contact number. Each customer has unique id and is linked to exactly one account. Account owns shopping cart and orders. Customer could register as a web user to be able to buy items online. Customer is not required to be a web user because purchases could also be made by phone or by ordering from catalogues. Web user has login name which also serves as unique id. Web user could be in several states - new, active, temporary blocked, or banned, and be linked to a shopping cart. Shopping cart belongs to account. Account owns customer orders. Customer may have no orders. Customer orders are sorted and unique. Each order could refer to several payments, possibly none. Every payment has unique id and is related to exactly one account. Each order has current order status. Both order and shopping cart have line items linked to a specific product. Each line item is related to exactly one product. A product could be associated to many line items or no item at all. Customer will make purchases online by for items, browse catalog, view items recommended for him/her, and add items to shopping cart. The top levels are View Items, Make Purchase and Client Register. View Items could be used by customer as top level if customer only wants to find and see some products. This could also be used as a part of Make Purchase. Client Register to allow the customer to register on the web site, for example to get some coupons or be invited to private sales. After the customer do request, the system checks the items availability and returns either a match and price or a non-match. In the case where a item is available, the customer can confirm the order by providing his personal information (i.e., name, address, phone number, and email) and his credit card information (i.e., type, number, and expiration date) for billing purposes. After ordering the item and storing the customer’s information, the system returns a confirmation by sending bill details by email to the customer email address, that the customer will use for getting order. A customer can cancel a order by simply specifying the bill number. In this case, he/she must receive a cancellation notice. No particular restriction is put on the order cancellation. A system administrator manages the system. A user authentication assists the customers to login to the system for ordering and cancellation process if needed. In addition to that a customer need to do Payment could be done either by using credit card and external credit payment service or with PayPal. Therefore, we will need a mechanism to provide this flexibility and customization. Using an iterative development strategy, we are going to proceed through object-oriented analysis and design.
 
 
Task 1 A: Identify the candidate classes with attributes and behavior/operation using Noun Identification Techniques. 
 
Task 1 B: Use Case Diagram
Part-a: Produce a Use Case Diagram with all the possible actors, Use Cases and their relationship.
Part-b: Description from the given scenario point of view for the use-case diagram.
 
Task 1 C: Class Diagram
Part-a: Produce a Class Diagram with all the possible classes and their relationships with respective visibility, role names and multiplicities. 
Part-b: Description from the given scenario point of view for the class diagram.
 
Task 1 D: Sequence Diagram
Part-a: Produce a Sequence Diagram with the entire possible objects and their interaction. 
Part-b: Description from the given scenario point of view for the sequence diagram.

 

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية