0% found this document useful (0 votes)
13 views

Java

Uploaded by

fdj5045
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Java

Uploaded by

fdj5045
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

D.Y.

PATIL TECHNICAL CAMPUS FACULTY OF ENGINEERING AND


FACULTY OF MANAGEMENT, TALSANDE
(POLYTECHNIC WING)

A Micro project Report On


“Implementing Bus Reservation System”

Submitted by

Name Roll No Enrolment No


2237
Aditya Uttam Patil 2112200050
2238
Sanskar Mandar Kulkarni 2112200051

Guided By
Mr.R.S.Kumbhar

D.Y. PATIL TECHNICAL CAMPUS FACULTY OF ENGINEERING AND


FACULTY OF MANAGEMENT, TALSANDE
(POLYTECHNIC WING)

Department Of Computer Engineering


SEMESTER 4
Index

This is Certificate that computer engineering has successfully completed the project work “Implementing
Bus Reservation System” impartial fulfilment of diploma of engineering in computer as laid down
during academic year 2022-23.

Name Seat No Enrolment No

Aditya Uttam Patil 2112200050

Sanskar Mandar Kulkarni 2112200051

Mr.R.S.Kumbhar Dr.S.R. Pawaskar

Project Guide & HoD principle

Place- Talsande
Date- / /2023
Index

Sr. No Title Page.No

Information 1
1.
Modules 2
2.
Modules Types 3-4
3.
System Requirement 5
4.
Functional
requirement and 6
5. non-functional
requirement
Non-Functional 7
6. need
How to Reserve 8
7.
Source code 9-11
8.
Result 12
9.
Conclusion 13
10.
Reference 14
11.
IMPLEMENTING BUS RESERVATION SYSTEM.

Information: -
Are you looking for Bus Reservation system project? We are here to help you. You can contact
us. Buses are the most frequently available and most used vehicle for going from small distance
trips to very long trips. They’re a no. of types of buses available in the market according to the
private or public. According to ac or no ac. Apart from this interstate, shrines, or inter-country
also possible.

What the problem here arises about the ticket is everyone has to take a card and want seats. But
it’s not possible. The buses which will register on our system will have the option to give their
customers an option to select the seats of the bus according to their wish as many places
depending on the availability.

Making the system more useful unique tickets will be generated as its seats are confirmed. Here
we are with a system that can facilitate the users to which they can get their seats prior. As staff
will decide the seat availability and here, we have other users like the staff of the bus and driver
with the owner who together collaborates in smooth functioning of the bus ticket booking
system.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

There are various Modules in Bus Reservation System

The module of the bus Reservation system is made of a combination of modules that work in
collaboration with each other and make it beneficial to accomplish the main aim of the scheme.

➢ Ticket Booking

➢ Payment

➢ Ticket Checking

➢ Registration

➢ Log In

➢ Forgot Password

➢ Admin

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Ticket Booking:
This module of the project is for the users who want to book the tickets for the journey they
want to do at the time of their desire. They fill the details accordingly like time of travel no. Of
the people they want to go they select the seats which are available for the booking as the seats
which are booked already will be blocked, they’re and the remaining seats are available.

They get a digital ticket, and they can board the bus at the time given.

Payment:
They may make payment online through their debit card they use this module to pay as the
ticket shows the amount in the account of the owner of the bus. As he makes the payment, the
card becomes confirmed and ready to be used.

Ticket Checking:
The verification of the cards is done by the conductor of the bus, he comes to the user and asks
for a ticket no. As they take it, he checks and confirms their booking and lets them ride.

Registration:
Users’ information has to be compelled to be registered within the system thus on establish
every one of them unambiguously and do the required group acts as the real potential. Like on
the name of the bill are issued. On the far side, this plenty of things require measure there
wherever we will reference him.

Without registration, there are a few options and pages one user can see which are landing on
the home page and taking the features to read but he won’t be allowed to use those. For use, he
will have to register. One person needs to put all the details correctly and precisely as it will be
helpful in identifying them and believing that he is the real person who has booked for the
same.

It also includes driver license for them who is driving and parameter too.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Log in:
After registration one will register within the system because of the operator of the system
either on behalf of the user. When this he has the different helpful interfaces accessible for any
actions. Here either bride or groom both have to log in with their unique identity and passwords.
After this, they will be directed to the primary user interface from where they have further
options.

Forgot password:
This is quite often that people tend to forget the password they keep for the login. So, this could
be very tedious and hectic to recover the password manually in case if one needs to log in in
an emergency. So, to overcome this problem we have this module named ass forgot a password,
and using this module users can recover their password in seconds.

So here we need only to put our registered email Id and hit the enter. Then one confirmation
email will go to the email where he may reset the password. In seconds one can use this module
and get rid of the forgetting password problem.

Admin:
Admin has the official powers to control the flow of the data from one part of the system to the
other. He can manipulate the access of the users to the data. The primary purpose of this account
is to make the user data relevant and then giving the inputs to the other interface module and
make it work optimistically and get the timetable according to the wish we want to create for a
particular type of inputs.

Hence all the data will be reflected in clean and well data in the interfaces.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

.
System Requirement of The Bus Reservation System

▪ The system wants a minimum of two GB of ram to run all the options sleek and
unforeseen.
▪ It wants a minimum 1.3 gigahertz processor to run smoothly as else which will produce
issues.
▪ The system must be operated by some approved person as wrong hands will build it
happy-go-lucky.
▪ Rest is all up to the user’s usage can take care of the hardware.
▪ For security opposing anti-virus is suggested.

The system is made correctly, and all the testing is done as per the requirements. So, the rest
of the things depend on the user, and no one can harm the data or the software if the proper
care is done. All the attributes are working correctly, and if any error is found, then it can be
removed easily.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Functional and Non-Functional Requirements of The Bus Reservation


System
Functional requirements: –
The functional requirements of the bus management system are those requirements that are
necessary to the eye of the user and the client. Here we try to make the module possible to
accomplish the need of the desired function.

Few of its functional requirements are as follows:

Non-Functional requirements: –
These requirements need unit among the style of “system shall be “, associate overall property
of the regime as a full or of a particular aspect and not an individual operates. The system’s
overall properties remarkably mark the excellence between whether or not the event project
has succeeded or unsuccessful.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Non-functional needs of Bus Reservation System: –

Bus management system unit of measurement usually divided into two main categories:

▪ Execution qualities, like security and quality, that unit evident at the run time.
▪ Evolution qualities, like liabilities, maintainability, flexibility, and quantitative, that
unit embodied among the static structure of the code.

Non-functional needs place restrictions on the merchandise being developed, the event
technique, and specify external constraints that the merchandise has to be compelled to meet.
Our project qualifies all the factors of helpful and nonhelpful consequently and the system is
up to mark performance device. Here we’d prefer to need the care of few lots of things before
heading towards the system.

The many sensible intuitive interfaces are usually created. that ultimately build interface easy
to use for a lengthy time. in distinction to ancient vogue wherever the goal is to create the
difficulty or application physically enticing, the goal of interface vogue is to create the user’s
interaction expertise as straightforward and intuitive as doable – what’s typically mentioned as
user-cantered vogue.

Where smart graphic/industrial vogue is daring and eye-catching, intelligent interface vogue is
sometimes delicate and invisible.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Source code for Bus Reservation System: -

import java.util.Scanner;
import java.util.Date;

public class HYD


{
private static int[] seats = new int[12];

public static void main(String args[])


{
System.out.println("Welcome to the HYD Bus reservation system!");
System.out.println("Have a fabulous HYD ride!");
System.out.println();

for (int i = 0; i < 12; i++) {


seats[i] = 0;
}
Scanner s = new Scanner(System.in);
int choice = 1;
System.out.print("Please enter your choice\n1.window seat\n2.Aisle seat\n0.Exit.\n");
choice = s.nextInt();

while (choice != 0) {
int seatnumber = 0;

if (choice == 1) {
seatnumber = bookWindow();

if (seatnumber == -1) {
seatnumber = bookAisle();

if (seatnumber != -1) {

System. out.println("Sorry, we were not able to book a window seat. But do have an aisle
seat.");
printBoardingPass(seatnumber);
}
D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF
MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

}
else
{
System.out.println("Congratulations, we have a window seat available!");
printBoardingPass(seatnumber);
}
}
else if (choice == 2)
{
seatnumber = bookAisle();

if (seatnumber == -1)
{
seatnumber = bookWindow();

if (seatnumber != -1)
{
System.out.println("Sorry, we were not able to book an aisle seat. But do have a
window seat.");
printBoardingPass(seatnumber);
}
}
else
{
System.out.println("Congratulations, we have an aisle seat available!");
printBoardingPass(seatnumber);
}
}
else
{
System.out.println("Invalid choice made. Please try again!");
choice = 0;
}
if (seatnumber == -1)
{
System.out.println("We are sorry, there are no window or aisle seats");
System.out.println();

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

}
System.out.print("Please enter your choice\n1.window seat\n2.Aisle seat\n0.Exit.\n");
choice = s.nextInt();
}
}
private static int bookWindow() {
for (int i = 0; i < 6; i++) {
if (seats[i] == 0) {
seats[i] = 1;
return i + 1;
}
}
return -1;
}
private static int bookAisle() {
for (int i = 6; i < 12; i++) {
if (seats[i] == 0) {
seats[i] = 1;
return i + 1;
}
}
return -1;
}
private static void printBoardingPass(int seatnumber) {
Date timenow = new Date();
System.out.println();
System.out.println("Date: " + timenow.toString());
System.out.println("Boarding pass for seat number: " + seatnumber);
System.out.println("Your Booking Successful!");
System.out.println("This ticket is non-refundable and non-transferable.");
System.out.println("Please be curteous, do not smoke. Enjoy your trip.");
System.out.println("Have a nice day");
System.out.println();
}
}

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Output: -

➢ You can directly book bus ticket online with SanskarBus.com. There are a number of
luxurious buses available on SanskarBus.
➢ It Can providing best and efficient services to book ticket online to the customers. You
can search for various bus operators to reserve bus booking online on SanskarBus.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Result: -

Online Bus Ticket Reservation System is a Web based application that works within a
centralized network. This project presents a review on the software program "Online Bus
Ticket Reservation System" as should be used in a bus transportation system, a facility which
is used to reserve seats, cancellation of reservation and different types of route enquiries used
on securing quick reservations. OBTRS is built for managing and computerizing the traditional
database, ticket booking and tracking bus and travel made. It maintains all customer details,
bus details, reservation details. In order to achieve the design, Imo Transport Company (ITC)
was chosen as a case study because of its strategic importance to Imo State. Structured Systems
Analysis and Design Methodology (SSADM) was adopted. In addition, PHP Hypertext Pre-
processor (PHP) language was used for the front-end of the software while the back end was
designed using MySQL. The software achieved is capable of improving the customer hand and
relationship management in ITC operations. It is recommended that despite the present
functionality of the designed software, an additional functionality such as the use of E-mail to
send tickets and notifications to the customer and an online payment using credit cards/debit
cards should be implemented into the system. Furthermore, other operations carried by ITC
such as the courier services should also be integrated in order to enhance the system.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Conclusion: -

Finally, we have a system where a user who books the bus seats giving the details and doing
the necessary payment option. He gets a token with all detail he boards on the bus at a given
time. The conductor who is staff will check the ticket and punch the confirmation. The owner
checks the bills in the end. The user drops at the place of destination. Hence completes the task
of the system.

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.
IMPLEMENTING BUS RESERVATION SYSTEM.

Reference: -

➢ https://www.lovelycoding.org/bus-reservation-system/

➢ https://in.search.yahoo.com/search?fr=mcafee&type=E211IN714G0&p=r
esult+for+bus+reservation+system

➢ https://www.researchgate.net/publication/326468848_Online_Bus_Ticket
_Reservation_System

➢ https://www.inettutor.com/source-code/bus-reservation-system-features/

➢ https://shivajivarma.com/project/bus-reservation-system/

D.Y. PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF ENGINEERING AND FACULTY OF


MANAGEMENT.

You might also like