0% found this document useful (0 votes)
6 views20 pages

Cab Booking System Lab Report

Uploaded by

leo.stephen3737
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views20 pages

Cab Booking System Lab Report

Uploaded by

leo.stephen3737
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

K L UNIVERSITY

FRESHMAN ENGINEERING DEPARTMENT


A Project Based Lab Report

On

Cab Booking System

SUBMITTED BY:

I.D NUMBER NAME

2300032277 POLI SAI SREYASH REDDY

2300032280 LAKSHMI PRIYA GUDIPUDI

2300032384 LEO STEPHEN MADURI

2300032427 SHAIK GOKAR SAHEB

UNDER THE ESTEEMED GUIDANCE OF

Dr. T. GANESAN
Assistant Professor

KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.

1
DEPARTMENT OF BASIC ENGINEERING SCIENCES

CERTIFICATE

This is to certify that the project based laboratory report entitled


Cab Booking System submitted by Mr./Ms. POLI SAI SREYASH REDDY,
LAKSHMI PRIYA GUDIPUDI, LEO STEPHEN MADURI, SHAIK GOKAR SAHEB
bearing Regd. No. 2300032277, 2300032280, 2300032384, 2300032427 to the
Department of Basic Engineering Sciences, KL University in partial fulfillment of
the requirements for the completion of a project in “Computational Thinking for Object
Oriented Design - 23SC1203” course in I B Tech II Semester, is a bonafide record of
the work carried out by him/her under my supervision during the academic year 2023-
24.

PROJECT SUPERVISOR HEAD OF THE DEPARTMENT

Dr. T. GANESAN Dr. D. HARITHA

2
ACKNOWLEDGEMENTS
It is great pleasure for me to express my gratitude to our honorable President
Sri. Koneru Satyanarayana, for giving the opportunity and platform with facilities in
accomplishing the project-based laboratory report.

I/We express the sincere gratitude to my/our director Dr. A Jagadeesh for his
administration towards my/our academic growth.

I/We express sincere gratitude to my/our Coordinator Dr. M. Siva Ganga


Prasad and HOD-BES1 Dr. D. Haritha for her leadership and constant motivation
provided in successful completion of my/our academic semester. I/We record it as
my/our privilege to deeply thank for providing me/us the efficient faculty and facilities
to make our ideas into reality.

I/We express my/our sincere thanks to my/our project supervisor Dr. T.


GANESAN for his novel association of ideas, encouragement, appreciation, and
intellectual zeal which motivated me/us to venture this project successfully.

Finally, it is pleased to acknowledge the indebtedness to all those who devoted


themselves directly or indirectly to make this project report success.

Name:
POLI SAI SREYASH REDDY
LAKSHMI PRIYA GUDIPUDI
LEO STEPHEN MADURI
SHAIK GOKAR SAHEB

Regd . No:
2300032277
2300032280
2300032384
2300032427

3
ABSTRACT

The Cab Booking System (CBS) is a graphical user interface (GUI) based
program designed to facilitate seamless booking of transportation services.
The system comprises two frames: the login frame and the booking frame.
In the login frame, passengers input their personal details including name,
email, phone number, and address. Upon successful login, users are directed
to the booking frame. Within the booking frame, passengers specify the
number of passengers and select their desired car from a dropdown menu
populated with available options. Upon confirmation, the booking is
processed, and the details are saved to a file for future reference. CBS aims
to provide users with a convenient and efficient means of booking
transportation services while ensuring data integrity and reliability.

4
INDEX
[Link] TITLE PAGE NO

1 Introduction 6

2 Aim of the Project 7

2.1 Advantages & Disadvantages 7

2.2 Future Implementation 8

3 Software & Hardware Details 9

4 Class Diagram 10

5 Implementation 11-17

6 Outputs/ScreenShots 18-19

7 Conclusion 20x

5
INTRODUCTION

In today's fast-paced world, convenience and efficiency are paramount, especially


when it comes to transportation. Introducing our innovative Cab Booking System,
designed to revolutionize the way passengers access and reserve transportation
services. With a user-friendly graphical interface, seamless login process, and
real-time car availability updates, our platform ensures a hassle-free experience
from start to finish.

The login process begins with passengers providing essential details such as their
name, address, phone number, and email, ensuring personalized service and
effective communication channels. Once logged in, users are prompted to specify
the number of passengers, tailoring the booking experience to their exact needs.

With our Cab Booking System, convenience, reliability, and efficiency converge
to deliver an unparalleled passenger experience. Say goodbye to long waiting
times and uncertainty – embrace the future of transportation booking with us.

6
AIM
To develop a GUI-based cab booking program that streamlines the booking
process for passengers, providing a user-friendly interface for inputting passenger
details, selecting preferred car options, and storing booking information into a
file.

ADVANTAGES: -

• User-Friendly Interface: The GUI-based program provides a visually intuitive


platform for users to interact and enhancing user experience .
• Personalized Service: By requiring passenger details for login, the system can
offer personalized services and communication, fostering a sense of trust and
loyalty among users.
• Customized Booking: Prompting users to specify the number of passengers
allows for tailored booking experiences, ensuring that the chosen vehicle
accommodates the group size effectively.
• Real-Time Availability: Providing users with a list of available cars in real-time
enables them to make informed decisions quickly, minimizing wait times and
increasing customer satisfaction.

DISADVANTAGES: -

• Data Privacy Concerns: Collecting and storing passenger details raises


privacy concerns, necessitating robust security measures to protect
sensitive information from unauthorized access or breaches.
• Dependency on Real-Time Updates: The system's effectiveness relies on
timely updates of car availability, posing challenges if there are delays or
discrepancies in the data synchronization process.
• File Storage Overhead: Storing booking details in a file consumes storage
space and requires management for scalability, posing challenges as the
volume of data increases over time.

7
Future Implementation

Payment Integration: Integrate secure payment options within the booking


process to allow passengers to pay for their rides online, enhancing convenience
and efficiency.

Real-Time Tracking: Implement real-time tracking functionality to enable


passengers to track the location of their booked vehicle, providing them with an
estimated time of arrival (ETA) and improving transparency.

Rating and Feedback System: Introduce a rating and feedback system for
passengers to rate their riding experience and provide feedback on the driver and
vehicle, helping maintain service quality and address any issues promptly.

Mobile App Development: Develop a mobile application for CBS on both iOS
and Android platforms, offering users greater accessibility and convenience for
booking rides on the go.

Analytics and Reporting: Implement analytics tools to track key metrics such
as booking volume, popular routes, and customer satisfaction, enabling data-
driven decision-making and continuous improvement of service quality.

8
SYSTEM REQUIREMENTS
➢ SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language : JAVA
Operating system : Windows XP
Tools : Eclipse IDE (2023-12)

➢ HARDWARE REQUIREMENTS:

The hardware requirements that map towards the software are as follows:

RAM : 128 MB (Minimum)

Processor : intel i3 core (Minimum)

9
CLASS DIAGRAM

10
IMPLEMENTATION
package ctood;

import [Link].*;

import [Link];

import [Link];

import [Link];

import [Link];

import [Link];

public class CabBookingSystem implements ActionListener {

JFrame loginFrame, bookingFrame;

JLabel nameLabel, addressLabel, phoneLabel, emailLabel, passengersLabel,


carLabel, confirmationLabel;

JTextField nameField, addressField, phoneField, emailField,


passengersField;

JComboBox<String> carComboBox;

JButton loginButton, bookButton;

String currentUser;

CabBookingSystem() {

// Login Frame

loginFrame = new JFrame("Login");

[Link](400, 300);

11
[Link](null);

nameLabel = new JLabel("Name:");

[Link](50, 30, 100, 30);

[Link](nameLabel);

nameField = new JTextField();

[Link](150, 30, 200, 30);

[Link](nameField);

emailLabel = new JLabel("Email:");

[Link](50, 80, 100, 30);

[Link](emailLabel);

emailField = new JTextField();

[Link](150, 80, 200, 30);

[Link](emailField);

phoneLabel = new JLabel("Phone:");

[Link](50, 130, 100, 30);

[Link](phoneLabel);

phoneField = new JTextField();

[Link](150, 130, 200, 30);

12
[Link](phoneField);

addressLabel = new JLabel("Address:");

[Link](50, 180, 100, 30);

[Link](addressLabel);

addressField = new JTextField();

[Link](150, 180, 200, 30);

[Link](addressField);

loginButton = new JButton("Login");

[Link](150, 230, 100, 30);

[Link](this);

[Link](loginButton);

// Booking Frame

bookingFrame = new JFrame("Book a Cab");

[Link](500, 400);

[Link](null);

[Link](false);

passengersLabel = new JLabel("Number of Passengers:");

[Link](50, 50, 150, 30);

[Link](passengersLabel);

13
passengersField = new JTextField();

[Link](200, 50, 100, 30);

[Link](passengersField);

carLabel = new JLabel("Select Car:");

[Link](50, 100, 100, 30);

[Link](carLabel);

String[] cars = {"Range Rover", "Lamborghini", "Ferrari","Volkswagen"};

carComboBox = new JComboBox<>(cars);

[Link](150, 100, 200, 30);

[Link](carComboBox);

bookButton = new JButton("Book");

[Link](200, 150, 100, 30);

[Link](this);

[Link](bookButton);

confirmationLabel = new JLabel();

[Link](50, 200, 400, 30);

[Link](confirmationLabel);

[Link](true);

14
}

public static void main(String[] args) {

new CabBookingSystem();

@Override

public void actionPerformed(ActionEvent e) {

if ([Link]() == loginButton) {

String name = [Link]();

String email = [Link]();

String phone = [Link]();

String address = [Link]();

if (![Link]() && ![Link]() && ![Link]() &&


![Link]()) {

currentUser = name;

[Link](false);

[Link](true);

} else {

[Link](loginFrame, "Please fill in all


fields.");

} else if ([Link]() == bookButton) {

String passengers = [Link]();

15
String selectedCar = (String) [Link]();

if (![Link]()) {

String[] details = {

"Name: " + currentUser,

"Number of Passengers: " + passengers,

"Selected Car: " + selectedCar

};

writeToFile(details);

[Link]("Booking confirmed. Details saved to


file.");

[Link](bookingFrame, "Booking
Successful!");

} else {

[Link](bookingFrame, "Please enter


number of passengers.");

private void writeToFile(String[] details) {

try (BufferedWriter writer = new BufferedWriter(new


FileWriter("passenger_details.txt", true))) {

for (String detail : details) {

[Link](detail);

16
[Link]();

[Link]();

} catch (IOException e) {

[Link]();

17
OUTPUTS
Login Frame:

Booking Frame:

18
Combo Box:

Dialogue Box:

19
CONCLUSION
In conclusion, developing a GUI-based cab booking program
presents significant advantages in terms of enhancing user experience,
streamlining the booking process, and providing personalized service to
passengers. By collecting essential passenger details for login and offering real-
time car availability updates, the system aims to improve efficiency and customer
satisfaction in the transportation industry.

However, there are also challenges such as privacy concerns, dependency on real-
time updates, accessibility issues, storage overhead, and potential technical
challenges that need to be addressed to ensure the success and reliability of the
program.

Overall, the development of this GUI-based cab booking program represents a


promising step towards modernizing and optimizing transportation booking
services, offering convenience and reliability to passengers.

20

Common questions

Powered by AI

Potential future implementations for enhancing the Cab Booking System include integrating secure payment options to allow passengers to pay online, which adds convenience and efficiency to the booking process. Real-time tracking functionality could also be implemented to enable passengers to track their vehicle's location and receive ETA updates, improving transparency . Additionally, developing a mobile app for iOS and Android platforms would offer users greater accessibility and convenience for booking rides on the go, and a rating and feedback system would allow passengers to provide insights on their experiences, helping maintain and improve service quality .

The Cab Booking System enhances user experience by providing a user-friendly graphical interface that streamlines the booking process. This is achieved through a seamless login process where passengers input essential details like name, address, phone number, and email, allowing for personalized service and effective communication. Additionally, the system offers real-time car availability updates, enabling users to make informed decisions quickly and thus minimizing wait times . The program's ability to prompt users to specify the number of passengers further tailors the booking experience, ensuring the selected vehicle fits the group's needs, enhancing convenience and reliability .

JAVA is chosen as the programming language for the Cab Booking System due to its platform independence, robustness, and broad support for GUI development through libraries and frameworks such as Swing and AWT . JAVA's object-oriented nature facilitates a modular approach to software design, making the code easier to maintain, extend, and scale. Additionally, JAVA's extensive standard libraries provide pre-built functions and tools that simplify the development process, ensuring the implementation is efficient and reliable .

The main software requirements for implementing the Cab Booking System are the Java programming language, Windows XP as the operating system, and Eclipse IDE (2023-12) as the development tool . On the hardware side, the system requires a minimum of 128 MB RAM and an Intel i3 core processor . These requirements ensure the system runs efficiently and supports the GUI-based functionalities of the Cab Booking System.

The primary security challenge associated with the Cab Booking System is the risk of data privacy breaches when collecting and storing sensitive passenger details like names, addresses, phone numbers, and email addresses. Addressing these concerns requires implementing robust security measures such as encryption and secure authentication protocols to protect data from unauthorized access . Regular security audits and updates can further enhance data protection, ensuring passenger information remains confidential and secure .

Real-time data synchronization is crucial for the Cab Booking System as it ensures up-to-date car availability is presented to users, enabling quick, informed booking decisions and maximizing system efficacy. The risk associated with real-time synchronization includes potential data discrepancies or delays, which could lead to booking errors or reduced customer satisfaction . To mitigate these risks, robust data management systems and ensuring minimal latency in data transmission are essential to maintain accurate and reliable system performance .

The advantages of using a GUI-based program like the Cab Booking System include providing a visually intuitive platform that enhances user experience, offering personalized services through collected passenger details, and real-time car availability updates that improve booking efficiency and customer satisfaction . However, disadvantages include potential data privacy concerns due to storing passenger details, dependence on timely updates for real-time data accuracy, and storage overhead challenges as booking data scales up . These drawbacks require careful consideration and management to ensure the system's effectiveness and reliability.

Real-time availability in the Cab Booking System allows users to view and select from a list of available cars instantly, improving the decision-making process and reducing wait times . This immediate feedback loop enhances customer satisfaction by minimizing uncertainty and ensuring the prompt fulfillment of booking requests. Compared to traditional booking methods, which might involve delayed updates and longer waiting periods, real-time availability fosters a more responsive and efficient service, aligning with modern expectations for quick and reliable interactions .

File storage overhead in the Cab Booking System presents a challenge in terms of data management, as storing booking details consumes storage space and necessitates management for scalability . Over time, as the volume of data increases, it could lead to performance degradation. To mitigate this challenge, implementing efficient data management practices such as database solutions can replace file storage to handle large volumes of data more effectively. Additionally, employing data compression techniques and regular backups can help manage and optimize storage usage while ensuring data integrity and availability .

Implementing a feedback system in the Cab Booking System allows passengers to rate their riding experience and provide feedback on the driver and vehicle, which is crucial for maintaining service quality. Feedback systems enable the detection and resolution of service issues promptly and allow continuous improvement by leveraging user insights to enhance user experience and satisfaction. By systematically addressing passengers' concerns and suggestions, the service provider can ensure consistent quality and customer loyalty .

You might also like