Mn507 Software Engineering: Sequence Diagram Assessment Answers
Case study:
Accommodation booking system for working holiday program
Australia is a popular place for the working holiday travelers. The working holiday program allows young people to travel and work in various international cities for a limited time (i.e. less than 12 months).
The organizers of the working holiday program were impressed with the recent advent of Airbnb. The working holiday organizers hired you as an IT contractor to develop an online accommodation booking system (OABS) for the working holiday travelers with the following requirements: For youth:
- Youth can register on OABS
- Youth can search and book available rooms
- Youth can make a group booking (their selected leader to make a booking)
- Youth can select the dates for their travel (and accommodation)
- Youth can pay for their accommodation in advance
- Youth can cancel their booking with 2 weeks’ notice
- Youth can share review comments about their past hosts on the OABS social network (with ratings) For host:
- A host can register on OABS
- A host can provide information about their accommodation facilities
- A host can promote their services with extra service packages (e.g. travel voucher)
- A host can receive the payments through OABS
- A host can refuse the booking and withdraw from OABS service at any time given 2 weeks of notice
- A host can share review comments about their past visitors on OABS social network (with rating) For admin:
- Admin can approve or reject youth or host registration
- Admin can send a private message to youths or hosts
- Admin can put the approved hosts on the reserve list
- Admin can upgrade the reserved hosts to the active hosts on OABS when the available rooms run out
- Admin can cancel the room booking
- Admin can refuse the decision by the host
- Admin can promote the hosts with high ratings on their OABS website
You are given the class diagram as shown in Figure 1.
Complete the following tasks:
- For the use case Add new host by admin, write a fully developed Use Case Descriptionand draw a System Sequence Diagram (SSD). Interpret the classes that are associated with a host in the domain model to understand the flow of activities and repetition involved.
- For the use case Book a reservation by youth, write a fully developed Use Case Description and draw a State Transition Diagram. Review the classes that are associated with a reservation in the domain model to understand the flow of activities and repetition involved.
- Draw an Activity Diagramto show the flow of activities for the use case Add a new host.
Note: This activity diagram is based on the updated problem domain model.
- Propose a prototyping tool and its basic specifications to verify the client requirementsof AOBS system.
- Construct XML documentsrepresenting the classes involved in the case study.
Answer:
1:
Use case Diagram for Add new host by admin
Figure 1: Use Case for Add new host by admin
(Source: Created by User)
Use Case Description-
The use case diagram that is described in this assignment describes adding a new host to the system of OABS. The admin is responsible for adding a new host to the system. Use case description. The use case above represents registration of new host to admin in the online accommodation system. The host can request a registration by the admin or register themselves. The admin need to login so as to register a new host as indicated in the diagram with an include relationship between the admin login and register new host use cases. A host can also register themselves and thereafter be approved by a logged in admin. A registered Host can then login to the system. The straight lines represent Association relationship and the dotted line with arrow represent include relationship. Both host and Admin are primary actors. Registration approval or rejection by the admin includes host registration. The host have to register for approval or rejection by the admin to occur, thus include relationship between Host registration and admin approval or rejection. Once the host is registered they can login to the system.
Sequence Diagram for Accepting or Rejecting a Host Request
Figure 2: Sequence Diagram for Accepting or Rejecting a Host Request
(Source: Created by User)
The classes associated with the host are facility, accommodation and reservation. A composition relationship exists between host and facility. Facility cannot exist without the host. A facility belongs to host. A has one to many relationship exists whereby a host can have one or many facilities but a facility can only belong to one host. A reservation must have a host associated with. A reservation can only be associated with one host but a host can have many reservations. Host provides accommodation to the traveler thus there is a composition relationship between host and accommodation as that are cannot be accommodation without a host. The host needs to login to the account of the OABS. Then the server forwards the details of the host to the admin for approval or rejection. The admin then checks the server for approving the details of the host and then decides to approve or to reject the host request.
Sequence Diagram for Sending message to the Host
Figure 3: Sequence Diagram for Sending message to the Host
(Source: Created by User)
In this sequence diagram of sending a message to host. The admin can send message to the host and the host can reply to the message of the admin. The admin firsts sends message to the server of OABS and then the message is send to the host and then the host reply accordingly.
Sequence Diagram for Promoting the Host
Figure 3: Sequence Diagram for Promoting the Host
(Source: Created by User)
The admin also has the accessibility to promote the host. The host sends the request of promotion to the admin through the server and the server then forwards the message to the admin for approval. If the user approves the request for the promotion, then the host is promoted to the next level.
2:
Use Case for booking a reservation by youth
(Source: Created by User)
Classes associated with reservation are paymentTxn, host, accommodation, traveler and group. A composition relationship exists between traveler/group. A reservation cannot exist without a traveler or a group of travelers. Traveler can have zero or more reservations. Group can also have zero or more reservations. A reservation can only belong to one group or one traveler. A reservation must be associated with one host bur a host can be associated with one or more reservations. A payment transaction can only be associated with one reservation but a reservation can be paid in several transactions. Reservation fulfils accommodation. A reservation can be associated with zero or many reservation. The use case above shows the use case for booking a reservation. The use case for making reservation for youth includes many work. The youth first register on the OABS network for doing a reservation. After successful reservation, the youth can search for rooms that are available on the network server. The youth can also make a group booking form the host. The user can contact the host to make a group booking for OABS. The youth also needs to select the date of booking that the youth wants and proceeds with the booking if rooms is available. The youth also has the ability to cancel the booking if the user wants to cancel the trip. The trip that is selected by the host can be canceled. The youth involved in the system can also give feedback about the host in their system if the host is also involved with the system.
State Transition Diagram for Registering on OABS
Figure 5: State Transition Diagram for Registering on OABS
(Source: Created by User)
This above diagram shows about registering of the youth in the network of OABS. When a new youth wants to arrive in the system, then the youth has to register on the system. The youth can register by entering the details on the server of the OABS. The admin accepts the registration process or can even reject them. If the registration is accepted by the admin, the server of the system stores the details in the server and the registration is successful. If the registration is rejected by the admin, then the admin, the youth needs to enter all the details again to proceed with the registration.
State Transition Diagram for Booking Room
Figure 6: State Transition Diagram for Booking Room
(Source: Created by User)
The room booking system of OABS, the youth selects the rooms first and requests the room for some selected date. If room is available for the selected date, then the rooms gets confirmed to the client. The room that is confirmed can also be canceled by the youth or the host who books a room. If the selected room is not available, then the booking is kept on hold in the waiting list. If the room gets vacant by the time, the room is allocated to the youth and if not, the rooms booking gets cancelled automatically.
3:
Activity Diagram for Add a New Host
Figure 7: Activity Diagram for Add a New Host
(Source: Created by User)
4:
The prototyping tool that can be used for verifying the client requirement is Balsamiq Software application tool. This is wire framing tool, which helps the developer to t work faster as well as smarter. The tool produces a good experience sketching representing the design on a whiteboard. This tool help to design the wireframes fast. But for using the Balsamiq tool, the developer needs a little time as well as effort and can redesign when needed.
Bibliography
Rumbaugh, James, Grady Booch, and Ivar Jacobson. The unified modeling language reference manual. Addison Wesley, 2017.
Wang, Chunhui, Fabrizio Pastore, Arda Goknil, Lionel Briand, and Zohaib Iqbal. "Automatic generation of system test cases from use case specifications." In Proceedings of the 2015 International Symposium on Software Testing and Analysis, pp. 385-396. ACM, 2015.
Jena, Ajay Kumar, Santosh Kumar Swain, and Durga Prasad Mohapatra. "A novel approach for test case generation from UML activity diagram." In Issues and challenges in intelligent computing techniques (ICICT), 2014 international conference on, pp. 621-629. IEEE, 2014.
Yue, Tao, Lionel C. Briand, and Yvan Labiche. "aToucan: an automated framework to derive UML analysis models from use case models." ACM Transactions on Software Engineering and Methodology (TOSEM) 24, no. 3 (2015): 13.
Da Silva, Alberto Rodrigues. "Model-driven engineering: A survey supported by the unified conceptual model." Computer Languages, Systems & Structures 43 (2015): 139-155.
Buy Mn507 Software Engineering: Sequence Diagram Assessment Answers Online
Talk to our expert to get the help with Mn507 Software Engineering: Sequence Diagram Assessment Answers to complete your assessment on time and boost your grades now
The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.