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

المساعده في حل اسايمنت Object Oriented Programming Using Uml


‫زهرة البنفسج ‬‎

Recommended Posts

Scenario 1 MakeMyTrip will initially offer services for travel by bus, train, and airplane. Each trip starts from a certain source city and ends in a different destination city, with possible stops in between. Each carrier (bus, train or airplane) is identified by a unique ID (e.g., its plate for a bus). The trips are based on a predefined schedule and they optionally stop at predefined stations/cities. Each carrier can have only one trip per day. Each carrier includes one or two drivers and up to 10 hostesses for each trip depending on the ca rrier capacity. There are two types of trips, normal trips and express trips. Express trips do not stop at intermediate stations and get faster at the destination. The customers can make reservations (with a certain time option to buy) and purchase ticke ts on the web site of the company using MakeMyTrip. However, the company won't offer a call center to help out customers to reduce costs as everybody has access to the Internet these days. Reservations not purchased by the option date are cancelled automat ically by MakeMyTrip. The customer can pay for the seat through the website before the specified option date. The option dates are to be determined by a dedicated optimization module of MakeMyTrip. The price of each trip is fixed; however, the company may sell up to a certain number of seats in each trip with a promotion price with feedback from the marketing department. Changes and cancellations are possible for flexible tickets only, with certain penalties as determined by the company for each trip. The assignments of the personnel to trips are done by company staff in operations department, at most one week before each trip using MakeMyTrip. For this purpose, MakeMyTrip will again use the aforementioned optimization module, taking into account the perso nnel's timeoff days and holidays. Such information is to be entered into the system by the human resources department of the company since drivers and hostesses don't have access to and won't use MakeMyTrip. The accounting of payments will be handled by a previous software system, used by the company for a number of years. Both the customers and the company staff must authenticate themselves for performing operations with MakeMyTrip.

Task#2 Design UML Use Case diagram and spe cification of any one use case along with necessary explanation for
the valid actors and use cases .

Task#3 Design classes UML class diagram
with explanation in terms of candidate , role name, multiplicity

Task# 4 Design UML seq and their relationships uence diagrams for any one . major use cases with its explanation.

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

السلام عليكم ورحمة الله 

 

Design UML Use Case diagram and specification of any one use case along with necessary explanation for 

the valid actors and use cases . 

 

Actors 

- customer 

 operations Staff

- HR staff

- Accounting system 

 

 

Main use cases 

 

 customer 

- make a reservation

- purchase ticket 

- change ticket 

- cancel ticket

 

 

 operations Staff

assign personnel to trips 

 

 HR staff

- record holiday

- record time off 

 

Accounting system 

- purchase ticket 

- change ticket 

- cancel ticket

- record time off 

 

--------------------------------------------------------------

Task#3 Design classes UML class diagram 

 

Entities for Class Diagram 

 

person

 

staff 

 

 carrierstaff

driver 

hostess 

 

operationstaff 

hrstaff

 

customer

 

reservation

 

seat 

 

ticket

 

trip

 

schedule

 

servicestop

 

carrier

bus

train

airplane

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

  • بعد 2 أسابيع...

 السلام عليكم ورحمة الله

 

لعرض ال sequence Diagram  

تم إفتراض الحالة التالية

وبناء عليها تم إعداد الرسم 

 

 

 

 

sequence_1.JPG

sequence_2.JPG

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

 

 السلام عليكم ورحمة الله

 

لعرض ال sequence Diagram  

تم إفتراض الحالة التالية

وبناء عليها تم إعداد الرسم 

 

 

يعني هذا كمثال نتبع عليه لحل السيناريو؟

 

 

نعم

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

  • بعد 3 أسابيع...

 

Assume that a printer needs to deal with different situations, e.g., it can be idle waiting for a job, it can be printing a job and not taking any new jobs due to limited memory, it can be out of paper, or ink or it has printed so much that it is overheating and needs a break to cool down. Problem: This printer supports a number of actions (print/ reset/ getstatus) that all need to behave differently depending on the situation the printer currently is in. Implementing these actions would lead to huge IF-THEN-ELSE statements.

 

 

Task#5 Select the most appropriate design pattern to use for this problem and Clearly motivate how this pattern addresses the problem.

 

 Task#6 Explain how this pattern should be implemented and show an appropriate class diagram to illustrate the implementation of your pattern. (No code). Don’t give a generic class diagram for this pattern but make it specific for that design problem.

 

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

السلام عليكم ورحمة الله 

 

 

Assume that a printer needs to deal with different situations, e.g., it can be idle waiting for a job, it can be printing a job and not taking any new jobs due to limited memory, it can be out of paper, or ink or it has printed so much that it is overheating and needs a break to cool down. Problem: This printer supports a number of actions (print/ reset/ getstatus) that all need to behave differently depending on the situation the printer currently is in. Implementing these actions would lead to huge IF-THEN-ELSE statements.

 

 

Task#5 Select the most appropriate design pattern to use for this problem and Clearly motivate how this pattern addresses the problem.

 

 Task#6 Explain how this pattern should be implemented and show an appropriate class diagram to illustrate the implementation of your pattern. (No code). Don’t give a generic class diagram for this pattern but make it specific for that design problem.

 

 

 

الحل في الملف المرفق 

Design Patterns classes diagram.pdf

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

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

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

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

×   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.

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

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

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