Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Consider the following scenario of a Bus Ticket Reservation System. The system is responsible for allowing customers to search for available bus routes, select

3. Consider the following scenario of a Bus Ticket Reservation System. The system is responsible for allowing customers to search for available bus routes, select seats, make reservations, and manage their bookings. The system should also keep track of the buses, routes, reservations, and customers. In this system, a bus company operates multiple Buses. Each Bus belongs to one Bus Company. A bus company has a unique identifier - company_id along with other attributes such as name, address, contact_info. A bus is identified by bus_id. It may also have a registration number, model and seat capacity. Each bus serves a Route. Each

Route can be served by multiple Buses. A route is described by a route_id, start location, end location, distance, estimated duration of the journey and fare. A customer can book a reservation for a particular bus on a particular date. A customer is described by customer_id, first name, last name, email, and phone number. A reservation can have multiple passengers. A passenger can have multiple reservations too. Each passenger must be uniquely identified by an identifier and have first name, last name, phone number and emergency contact number. Each Reservation generates one or more Tickets, depending on the number of seats reserved. Each ticket has a ticket number and seat number. A ticket must belong to exactly one reservation. Design an ER Model and show the ER diagram based on the above-mentioned scenario. Identify the weak entity set in your diagram using appropriate notations. The scenario description is not complete. You may include additional assumptions. Mention your assumptions explicitly (if any).

Transform your ER model into a set of relational schemas. Show the resulting schema diagram. Add justifications where necessary.

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

Consistently develop management talent.

Answered: 1 week ago

Question

Create a refreshed and common vision and values across Europe.

Answered: 1 week ago

Question

Provide the best employee relations environment.

Answered: 1 week ago