Professional Documents
Culture Documents
Case Study
You are required to design and develop a secure bus ticket reservation database
solution in Microsoft SQL to help APU Bus Services Pvt Ltd to manage their bus
transportation service in Klang Valley. The hourly bus service is provided from 6am
to 10 midnight to APU students to travel to/from Asia Pacific University from within
the Klang Valley. The reservation system facilitates enquiry, bookings, and
cancelation of tickets. Bus leaves at the top of the hour every hour for each route.
Table 1 provides the current routes. There may be new routes added or existing routes
removed.
Requirements
1. Checking: Students can check bus availability from the system which provides
details on seat availability, departure station, departure time, arrival station and
arrival time for each day up to 14 days in the future from the current date. There
will be only 2 busses allocated for each route every hour. Each bus travel time is
40 mins and rest time is 20 mins per route including refueling. The capacity of
each bus is 40 passengers.
2. Booking: Student perform their bookings by providing details such as route, date,
and time. Bookings are accepted only if seats are available. Successful bookings
are provided with booking confirmation number. Booking confirmation number is
required to get into the bus. Unsuccessful bookings are rejected. However, a
student can try later to check if there are any empty slots and retry their bookings.
There is no limit to the number of retries.
3. Cancellation: Students can also check their bookings and perform cancellation at
any time.
4. Scheduling: Schedulers are responsible to add, remove or update the route details
and bus schedule as the situation warrants.
5. Administration: Database administrators are required to perform ad hoc backups
when required by the management.
6. Management: The bus company management staff can generate weekly or
monthly reports on the schedule, bookings, completed trips and cancellations.
7. Additional Security Requirements:
a. A student must not be able to access the tables directly and should not
know the tables and column names
b. A student must not be able to check other students’ bookings. He or she
must be able to see his or her own booking only and make cancellation for
their own future bookings only
c. All actions of all users must be logged
d. Scheduled and on demand backup and restores must be supported
Note: You are free to make any logical assumptions to make your solution complete.
General Requirements:
Deliverables
A. Implementation (25%)
B. Report (35%)
Break down:
• Group work – 20 marks
• Individual work – N/A