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

FINAL java bus reservation system

Uploaded by

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

FINAL java bus reservation system

Uploaded by

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

MAHARASHTRA STATE BOARD OF TECHNICAL

EDUCATION

NAVJEEVAN EDUCATION SOCIETY’S POLYTECHNIC


BHANDUP(W)

MICRO PROJECT

Title of Microproject:
Bus Reservation System

ACADEMIC YEAR 2023-2024

Subject: Java Programming(22412)


MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION CERTIFICATE

This is certified to.1207,1208,1209. Semester of diploma in computer


engineering, of institute NAVJEEVAN EDUCATION SOCIETY’S
POLYTECHNIC (Code: 0144) has completed the project work satisfactorily in
Subject: Java programming. (Code: 22412) for the academic year 2023 to 2024
as prescribed in the curriculum.

Place: Bhandup Date:

Subject Teacher Principal Head of department

Seal of Institute

Branch: COMPUTER ENGINEERING


Name of Microproject: Bus Reservation system.
Java Programming
GROUP DETAILS

SR. NO Name of Group Roll no Enrollment No Seat no


Members

1. Spandan Nalawade 1217 2201440007 121277

2. Durva Rawool 1218 2201440008 121278

3. Harshada Khairnar 1219 2201440009 121279

HELPED AND GUIDED BY:


Mrs. Nilofar Mulla
Weekly Progress Report (Action Plan) Micro-Project
Topic: Bus Reservation System .
Academic Year:2023-2024
Name of Faculty: Ms. Nilofar Mulla.
Program Code: CO4I
Course & Course Code: Java Programming (22412).
Roll No:1207,1208,1209.
Enrollment No:2201440007, 2201440008, 2201440009
Semester: (IV)
Name of Candidate: Spandan, Durva, Harshada
Name of
SR Week Activity of Performed Planned Planned
Responsible
.NO start Date Finish Date
Team member

1. 1st All members


Discussion and 05/01 12/01
finalization of topic
2. 2nd Preparation and All members
Submission of Abstract 12/01 19/01
3. 3th,4th Collection of Data All members
19/01 02/02
4. 5th, 6th, All members
7th, 8th 02/02 09/03
Implementation
5. 9th Check, Validation and All members
Execution of code 09/03 16/03

6. 10th,11t
Compilation of Report 16/03 22/03
h All members
And Presentation
7. 12th Actual Presentation & All members
Final submission of 22/03 30/03
Micro Project

Sign of the Student: -

1) 2) 3)

Sign of the Faculty:


Bus Reservation System
Brief Introduction:-
In the modern era, efficient transportation systems are vital for the smooth
functioning of societies. Among these, bus transportation remains one of the most
widely used modes, catering to a diverse range of passengers. However,
managing bus reservations manually can be cumbersome and prone to errors. To
streamline this process and provide a user-friendly experience, the Bus
Reservation System project is developed.
The primary objective of the Bus Reservation System project is to automate the
process of booking bus tickets, managing seat availability, and providing a
convenient interface for both passengers and administrators. By leveraging Java
programming language and object-oriented principles, this system aims to offer
reliability, scalability, and ease of use.

Aim of Microproject:-
The aim of a project on a bus reservation system is to create an efficient and user-
friendly platform for managing bus ticket bookings. This system should facilitate
the process of reserving seats on buses, enabling customers to browse available
routes, select desired departure and arrival times, choose preferred seating
arrangements, and make payments securely.

Course Outcome:-
1. Develop programs using object oriented methodology in java.
2. Apply concept of inheritance for code reusability.
3. Implement Exception Handling.
4. Develop programs for handling I/o and file streams

1
Actual Procedure Followed:-
 Implementation:
-Develop the backend logic using Java, following principles of object
oriented programming.
- Implement classes and methods for user authentication, seat management,
booking, cancellation, payment processing, and reporting
 Requirement Gathering and Analysis:
- Meet with stakeholders to understand their requirements for the bus reservation
system.
- Identify key features such as user registration, seat availability, booking,
cancellation, payment processing, and reporting.
- Gather requirements for administrative functionalities like managing buses,
routes, and schedules.
 Deployment:
- Deploy the bus reservation system on a server or cloud platform.
- Configure the server environment and ensure all necessary dependencies are
installed.

Resources Required: -

Sr.no Name Of Specifications Qty


Resources/material
1 Computer System Operating System: 1
Windows 7 or higher.
Memory: 2GB RAM,
Processor:
Core i3.
HDD: 500GB or Larger.
2
Software - -

www.Google.com
Internet 1
3

2
Brief Description: -
The bus reservation system is a software application designed to facilitate the
booking and management of bus tickets for passengers. It typically operates
through an online platform, allowing users to browse available bus routes, select
travel dates and times, choose preferred seats, and make payments securely. The
system maintains a database of bus schedules, seat availability, and passenger
information to efficiently process reservations and generate tickets. Additionally,
it may incorporate features such as ticket cancellation, rescheduling, and online
check-in to enhance user convenience. For bus operators, the system provides
tools for managing fleet schedules, monitoring occupancy rates, and generating
reports for analysis and optimization. Overall, the bus reservation system
streamlines the booking process for both passengers and bus operators, improving
efficiency and customer satisfaction in the transportation sector.

The bus reservation system in Java is a software application designed to facilitate


the booking and management of bus tickets. It typically consists of several
modules such as user interface, database management, ticket booking, and
administration.

1. User Interface: The system provides a user-friendly interface for passengers to


search for available buses based on criteria such as departure and arrival
locations, date, and time. Users can also view seat availability, select seats, and
proceed with booking.

2. Database Management: The system utilizes a database to store information


about buses, routes, schedules, seat availability, and passenger details. It ensures
data integrity and efficient retrieval of information during the booking process.

3. Ticket Booking: This module handles the reservation process, allowing users
to select desired seats, enter passenger details, and make payments. It also
generates electronic tickets with unique booking references for confirmation and
future reference.

3
4. Administration: Admin functionalities include managing bus routes, schedules,
and seat inventory. Admins can also view booking details, generate reports, and
perform maintenance tasks on the system.

Key features of the bus reservation system in Java may include:


- Secure authentication and authorization mechanisms for users and
administrators.
- Integration with payment gateways to facilitate online payments.
- Real-time updates on seat availability and booking status.
- Email or SMS notifications for booking confirmations, cancellations, and
updates.
- Support for multiple languages and currencies to cater to diverse user bases.

Overall, the bus reservation system in Java aims to streamline the booking
process, improve efficiency, and enhance the overall experience for both
passengers and administrators.

4
Algorithm:
Step 1: BusDemo Class:
 Define a class BusDemo with a method availableBuses() to display
available bus options.
Step 2: BusDetails Class:
 Define a class BusDetails that inherits from BusDemo.
 Include a method getBusDetails() to gather details like bus name, number,
departure and destination locations, and departure time.
Step 3: PassDetails Class:
 Define a class PassDetails that inherits from BusDetails.
 Include a method getPassDetails() to collect passenger details like name,
age, and gender for each ticket.
Step 4: Payment Class:
 Define a class Payment that inherits from PassDetails.
 Include a method payment() to get payment mode and ticket price.
Step 5: PrintTicket Class:
 Define a class PrintTicket that inherits from Payment.
 Include a method printTicket() to display all the gathered details along with
the total price.
Step 6: SaveTicket Class:
 Define a class SaveTicket that inherits from PrintTicket.
 Include a method saveTicket() to save the ticket details into a text file.
Step 7: Ticket1 Class (Main Class):
 Define the Ticket1 class as the entry point of the program.
 Create an instance of SaveTicket.
 Use a while loop to repeatedly prompt the user for choices.
 Based on the user's choice, call the respective methods from SaveTicket
class.
 Provide an option to exit the program.

5
Flowchart:

Start

Enter your Choice

Display the available


Case 1 availableBuses()
buses

Enter Bus Name


Enter Bus Number
Case 2 getBusDetails() Enter Departure Location
Enter Departure Time
Enter Destination Location

Case 3 getPassDetails() Enter No. of Tickets you want

Enter Passenger’s Name


For
Enter Passenger’s Age
i=0 to i<n
Enter Passenger’s Gender

Enter No. of Adults


Enter No. of Childrens

Enter Payment Mode


Case 4 payment()
Enter Ticket Price

Display All The


Case 5 printTicket() Data of Passenger

Save All The Printed Data To


Case 6 saveTicket() The “booktickets.txt” file
using FileWriter class.

Exit
Case 7

End
6
Output:-

7
8
9
10
Skill development\learning out of this micro-project: -
1. Use fundamental concepts of Java programming.
2. We learned about how to code programs in java.
3. We learned about its working.

Conclusion:-
In conclusion, the bus reservation system developed in Java offers a
comprehensive solution for managing bus bookings efficiently. Through the
utilization of object-oriented programming principles, robust data structures, and
systematic algorithms, the system facilitates seamless reservation, cancellation,
and modification of bus tickets.

11
Micro Project Evaluation Sheet
Name of Student: Spandan Nalawade.
Enrollment No. 2201440007.
Course: Computer Engineering. Semester: IV.
Course Title: java programming (22412).
Title of Micro-project: Bus Reservation System.
Course Achieved:
1. Develop programs using object oriented methodology in java.
2. Apply concept of inheritance for code reusability.
3. Implement Exception Handling.
4. Develop programs for handling I/o and file streams
Sr. Poor Average Good Excellent
Characteristics to be Sub
No. Marks Marks Marks Marks
assessed Total
(1-3) (4 -5) (6-8) (9-10)
(A). Process and Product Assessment (Convert above total marks out of 6 marks.)
1. Relevance to the Course

2. Literature
Review/information
collection
3. Completion of the target as
per project proposal
4. Analysis of data and
representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B). Individual Presentation/Viva (Convert above marks Total Marks out of 4.)
7. Presentation
8. Viva
(A) (B)
Process and Product Individual Presentation Total Marks 10
Assessment (6 marks) /Viva (4 marks)

Comments/Suggestions about team work. Leadership / inter-personal communication:


…………………………………………………………………
Name and designation of the Teacher:
Dated Signature: ……………………………………………..

12
Micro Project Evaluation Sheet
Name of Student: Durva Rawool.
Enrollment No. 2201440008.
Course: Computer Engineering. Semester: IV.
Course Title: java programming (22412).
Title of Micro-project: Bus Reservation System.
Course Achieved:
1. Develop programs using object oriented methodology in java.
2. Apply concept of inheritance for code reusability.
3. Implement Exception Handling.
4. Develop programs for handling I/o and file streams
Sr. Poor Average Good Excellent
Characteristics to be Sub
No. Marks Marks Marks Marks
assessed Total
(1-3) (4 -5) (6-8) (9-10)
(A). Process and Product Assessment (Convert above total marks out of 6 marks.)
1. Relevance to the Course

2. Literature
Review/information
collection
3. Completion of the target as
per project proposal
4. Analysis of data and
representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B). Individual Presentation/Viva (Convert above marks Total Marks out of 4.)
7. Presentation
8. Viva
(A) (B)
Process and Product Individual Presentation Total Marks 10
Assessment (6 marks) /Viva (4 marks)

Comments/Suggestions about team work. Leadership / inter-personal communication:


…………………………………………………………………
Name and designation of the Teacher:
Dated Signature: ……………………………………………..

13
Micro Project Evaluation Sheet
Name of Student: Harshada Khairnar.
Enrollment No. 2201440009.
Course: Computer Engineering. Semester: IV.
Course Title: java programming (22412).
Title of Micro-project: Bus Reservation System.
Course Achieved:
1. Develop programs using object oriented methodology in java.
2. Apply concept of inheritance for code reusability.
3. Implement Exception Handling.
4. Develop programs for handling I/o and file streams
Sr. Poor Average Good Excellent
Characteristics to be Sub
No. Marks Marks Marks Marks
assessed Total
(1-3) (4 -5) (6-8) (9-10)
(A). Process and Product Assessment (Convert above total marks out of 6 marks.)
1. Relevance to the Course

2. Literature
Review/information
collection
3. Completion of the target as
per project proposal
4. Analysis of data and
representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B). Individual Presentation/Viva (Convert above marks Total Marks out of 4.)
7. Presentation
8. Viva
(A) (B)
Process and Product Individual Presentation Total Marks 10
Assessment (6 marks) /Viva (4 marks)

Comments/Suggestions about team work. Leadership / inter-personal communication:


…………………………………………………………………
Name and designation of the Teacher:
Dated Signature: ……………………………………………..
14
Micro Project Evaluation Sheet

Roll Process Assessment Part Product Assessment Part Total


number A: B: Marks
10
Project Project Project Individual
proposal (2 Methodology report (2 presentation
Marks) (2 Marks) Marks)

1207

1208

1209

Name and designation of the Faculty Member: Mrs. Nilofar Mulla


( )

Signature :

15
Program Code & Softcopy:-

16
INDEX
Sr. Contents Page No.
No.
1 Brief Introduction 1

2 Aim of Micro-project 1

3 Course Outcome 1

4 Actual Procedure Followed 2

5 Resources Required 2

7 Brief Description 3, 4

8 Algorithm 5

9 Flowchart 6

10 Output 7, 8, 9, 10

11 Skill development\learning out of this micro-project 11

12 Conclusion 11

14 Micro Project Evaluation Sheet 12, 13, 14,


15
15 Program & Softcopy 16

You might also like