Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Identifying Candidates and UML Activity Diagram In detail and annotated, please! Thanks a lot! Question 1: Given the following informal specification, identify good candidates for

Identifying Candidates and UML Activity Diagram

In detail and annotated, please! Thanks a lot!

Question 1: Given the following informal specification, identify good candidates for classes and attributes, and identify things that are outside of the problem domain. Also identify all potential inheritance relationships. You should ensure that data is NOT duplicated across classes even if a user places multiple bookings. Use the noun identification method of class elicitation for the first pass.

Your customer is a travel agency that wants a reservation system that will run on the Internet. This reservation system will allow clients to keep track of all their travel reservations for airlines, hotel and rental cars. The client must enter the names of all his/her traveling companions, but all reservations will be under the name of the primary client. The system needs to make it easy for a client to have multiple reservations. All reservations will include a booking number as well as their names, passport numbers and dates of birth of all the travelers involved in the reservation. The system should also have an address for the primary client. Airline reservations will include the airline, flight number, class of seat and travel dates and times. Hotel reservations will include the type (twin, single, double) and of rooms and the dates staying. and name and address of the hotel. Car rental reservations will include the type of car requested, dates and the drivers license number of the primary client.

Question 2: You are required to draw a UML activity diagram to represent the following scenario of a hairdressers salon.

Customers enter the salon and wait until the next hairdresser is free. They then indicate whether they would like their hair washed first or a dry-cut without having their hair washed. The hairdresser washes the hair (if asked for) and then cuts it. After finishing the customers hair the hairdresser moves onto the next waiting customer, or waits for another one to enter the salon. The customer goes to the till and waits for a cashier to be free to take their payment. They can pay by either cash or by credit card (where they need to type their pin into the machine) and they then leave the salon.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Complete the reaction. Me Me N H2SO4 95 C HD CI 43%

Answered: 1 week ago