12ebsy505 formative test01 casestudy

2
EBSY505 DATABASE DESIGN & PRACTICE 1 2012-2013 Formative Test 01 Case Study & ERD (without multiplicities) SAFARIDAY Case Study SAFARIDAY is a travel company which specialises in organising safari holidays in various countries in Africa and beyond. When going on their safari holiday, SAFARIDAY holidaymakers – who have a wide range of nationalities – stay in a holiday village in one of the countries covered by the company. As SAFARIDAY is rapidly expanding, holiday villages are being built in new countries all the time but each village can only host up to 120 holidaymakers to make it more manageable. Upon arrival in the holiday village a holidaymaker is allocated to one member of staff whose role is to look after him/her and to one off-road vehicle which is going to take him/her on various safari trips. Each off road vehicle can have up to 8 holidaymakers and some vehicles may be not allocated any holidaymaker for a particular period of time. Of the 8 holidaymakers allocated to a vehicle, one is the designated driver i.e. as soon a a vehicle is allocated holidaymakers one is designated driver. Every off-road vehicle needs to be assigned to a village and need to have a member of staff responsible for this vehicle. If a member of staff is responsible for off-road vehicles, he/she can only be responsible for up to 5 vehicles. Off-road vehicles regularly take the holidaymakers on safari trips, and one given safari-trip can be taken by many vehicles. Some holidaymakers are asked to take a guide role so that more experienced safari holidaymakers can care for less experienced ones. If a holiday maker is given a guiding role, he/she watches over no more than 6 other holidaymakers. If a vehicles breaks down SAFARIDAY is responsible for towing the vehicle back to the closest possible village. A team of up to 5 local experienced mechanics can then come to the village, where the car has been towed to, to fix it. 1

Upload: ashan-gunaratne

Post on 05-Aug-2015

18 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 12EBSY505 Formative Test01 CaseStudy

EBSY505 DATABASE DESIGN & PRACTICE 12012-2013 Formative Test 01

Case Study & ERD (without multiplicities)

SAFARIDAY Case Study

SAFARIDAY is a travel company which specialises in organising safari holidays in various countries in Africa and beyond. When going on their safari holiday, SAFARIDAY holidaymakers – who have a wide range of nationalities – stay in a holiday village in one of the countries covered by the company. As SAFARIDAY is rapidly expanding, holiday villages are being built in new countries all the time but each village can only host up to 120 holidaymakers to make it more manageable. Upon arrival in the holiday village a holidaymaker is allocated to one member of staff whose role is to look after him/her and to one off-road vehicle which is going to take him/her on various safari trips. Each off road vehicle can have up to 8 holidaymakers and some vehicles may be not allocated any holidaymaker for a particular period of time. Of the 8 holidaymakers allocated to a vehicle, one is the designated driver i.e. as soon a a vehicle is allocated holidaymakers one is designated driver. Every off-road vehicle needs to be assigned to a village and need to have a member of staff responsible for this vehicle. If a member of staff is responsible for off-road vehicles, he/she can only be responsible for up to 5 vehicles. Off-road vehicles regularly take the holidaymakers on safari trips, and one given safari-trip can be taken by many vehicles. Some holidaymakers are asked to take a guide role so that more experienced safari holidaymakers can care for less experienced ones. If a holiday maker is given a guiding role, he/she watches over no more than 6 other holidaymakers. If a vehicles breaks down SAFARIDAY is responsible for towing the vehicle back to the closest possible village. A team of up to 5 local experienced mechanics can then come to the village, where the car has been towed to, to fix it.

1

Page 2: 12EBSY505 Formative Test01 CaseStudy

Holidaymaker Offroad_Vehicle

Staff

Country

Mechanic

Holiday_Village

is designated driver of

is allocated to

has nationality of

is located in

is assigned tostays in

Safari_Trip

looks after

is responsible for

goes on

fixes

guides

guide

guided

SAFARIDAY Conceptual Entity Relationship Diagram (without multiplicities)

2