Question: Case Study: Public Bus Ticket Management System Executive Summary This paper presents the design and development of a comprehensive Public Bus Ticket Management System, aimed
Case Study: Public Bus Ticket Management System
Executive Summary
This paper presents the design and development of a comprehensive Public Bus Ticket Management System, aimed at addressing the operational inefficiencies experienced by bus operators, drivers, passengers, and bus owners. The system integrates key entities such as Buses, Drivers, Passengers, Tickets, Routes, Bus Owners, and Insurance Details. By digitizing the ticketing process and centralizing information, the system enhances the efficiency, accuracy, and reliability of managing bus operations. This document outlines the design process, including the creation of an EntityRelationship Diagram ERD data normalization, and the integration of SQL queries, ultimately leading to a robust and scalable database system.
Introduction
Public transportation, particularly bus services, faces challenges in managing and coordinating daily operations, including ticket sales, passenger records, and vehicle management. Traditional manual systems often result in inefficiencies such as booking errors, revenue discrepancies, and inadequate communication between drivers, bus owners, and passengers. This case study explores the development of a Public Bus Ticket Management System designed to streamline these processes by integrating various operational aspects into a single digital platform. The system manages entities such as Drivers, Buses, Passengers, Tickets, Routes, and Insurance, ensuring seamless coordination between all stakeholders.
Assumptions
The system requires a unified digital platform to manage tickets, buses, drivers, and passengers, accessible only by authorized users.
Consistency in data format across all entities eg ticket numbers, passenger details, bus information is crucial to avoid errors and ensure accurate records.
The system should be extensible to accommodate additional features, such as multimodal transport options, without compromising performance or data integrity.
Strict access control must be enforced to prevent unauthorized access to sensitive information, such as financial data and personal passenger details.
The system must adhere to data integrity rules, including the use of appropriate data types for primary keys and enforcing referential integrity through foreign keys.
The system should be compatible with other tools, such as accounting software and mobile applications for ticket bookings.
Regular backups must be scheduled to prevent data loss and ensure quick recovery in case of system failures.
EntityRelationship Diagram ERD
Relational Schema
Entities and Attributes
Buses
o Attributes: BusID PK BusNumber, Capacity, BusOwnerID FK InsuranceID FK
Drivers
o Attributes: DriverID PK Name, LicenseNumber, Phone
Passengers
o Attributes: PassengerID PK Name, Email, Phone
Tickets
o Attributes: TicketID PK PassengerID FK BusID FK RouteID FK BookingDate, SeatNumber, Fare
Routes
o Attributes: RouteID PK RouteName, StartPoint, EndPoint, Distance
BusOwners
o Attributes: BusOwnerID PK Name, Phone, Email, Address
InsuranceDetails
o Attributes: InsuranceID PK BusID FK PolicyNumber, InsuranceCompany, ValidFrom, ValidTo
Entity Relationships
Buses and Drivers
o OnetoMany: A bus can have multiple drivers, but a driver is assigned to one bus at a time.
o Relationship: BusID Drivers BusID
Buses and Tickets
o OnetoMany: A bus can have many tickets issued, but each ticket is for a single bus.
o Relationship: BusID Tickets BusID
Passengers and Tickets
o OnetoMany: A passenger can book multiple tickets, but each ticket is associated with one passenger.
o Relationship: PassengerID Tickets PassengerID
Routes and Tickets
o OnetoMany: A route can have multiple tickets issued, but each ticket is associated with one route.
o Relationship: RouteID Tickets RouteID
Buses and InsuranceDetails
o OnetoOne: Each bus has one insurance detail.
o Relationship: BusID InsuranceDetails BusID
BusOwners and Buses
o OnetoMany: A bus owner can own multiple buses, but each bus is owned by one owner.
o Relationship: BusOwnerID Buses BusOwnerID
Business Rules
Bus Management
o A bus must be associated with a bus owner and have valid insurance details.
o Each bus must have a unique BusID.
Driver Management
o Each driver must have a unique DriverID and be licensed to operate a bus.
o A driver can be assigned to one bus at a time, but may drive different buses over time.
Passenger Management
o Each passenger must have a unique PassengerID.
o Passengers can book multiple tickets, but each ticket must be associated with one route and one bus.
Ticket Management
o A ticket must be linked to a bus, a route, and a passenger.
o Each ticket must have a unique TicketID and must include seat number and fare details.
Route Management
o Each route must have a unique RouteI make it very professional
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
