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

Bus Reservation System Java Programming Micro Project Computer Engineering MSBTE - MSBTE MICRO PROJECTS

The document describes a bus reservation system project created using Java programming. It allows users to add passenger records, view destinations, generate bills, and view total records. The project uses basic console-based input and output and stores data in arrays, without any external database. Details of the Java code and user interface are provided.

Uploaded by

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

Bus Reservation System Java Programming Micro Project Computer Engineering MSBTE - MSBTE MICRO PROJECTS

The document describes a bus reservation system project created using Java programming. It allows users to add passenger records, view destinations, generate bills, and view total records. The project uses basic console-based input and output and stores data in arrays, without any external database. Details of the Java code and user interface are provided.

Uploaded by

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

2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

✕ Close
MSBTE MICRO PROJECTS

Home

Mechanical

Computer

Civil

Electrical

Pdf Maker New!

Order Microproject pdf Buy Now! ✕

It's time to sleep!

Home / cs fourth sem

Bus reservation system Java


Programming micro project computer
engineering MSBTE
Bus reservation system Java Programming micro project computer engineering MSBTE

suraj March 13, 2022 · Estimated read time: 7 min

Bus reservation system Java Programming


micro project computer engineering MSBTE.
https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 1/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

Bus reservation system Java Programming micro project computer engineering MSBTE

Program Name and Code : JAVA PROGRAMMING (22412)

Course Name and Code: Co4I [CoB]

Academic Year :

Semester : Four

Discover related topics

Project Management System

Hotel Booking System Design

Hotel Reservation System Java Sql

How to Create Hotel Reservation System in Java

Online Ticket Booking Software

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 2/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

A MICRO PROJECT ON "Bus reservation system"


Part A: A micro-project proposal
Bus reservation system
1.0 Aims/Benefits of the micro project

Java is platform independent, open-source object oriented programming language


enriched with free and open source libraries. In current industrial scenario Java has the broad
industry support and is prerequisite with many allied technologies like Advanced Java, Java
Server Pages, and Android Application Development. Thus, current industrial trends
necessitate acquiring Java knowledge for Computer Engineering and Information Technology
graduates. This course develops necessary skills in students to apply object oriented
programming techniques in Java so that students will be able to develop complete
applications using core Java.

2.0 Course outcome addressed.

a.Develop programs using Object Oriented methodology in Java.

3.0 Proposed methodology

in this project we develope a Bus reservation system using java programming.

4.0 Action Plan

Sr. Plan start Plan finish Name of responsible team


Detail of activity
No. date date members

1 Group Discussion

2 Searching of real life task

Selection of micro project


3
topic

4 Gathering of information

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 3/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

5 Group discussion

Distribution of work to be
6
done

Preparing the overview of


7
project

8 Gathering the details

9 Testing the java program

Implementing the java


10
program

11 Demonstration

12 Group Discussion

13 Gathering the data

14 Giving the difference input

Testing the remaining java


15
program

16 Preparing the report

5.0 Resources used

Sr. Name of resource


Specificions quantity
no. material

1 PC Laptop with 4GB RAM Processor:- Intel Core i3 7020U

https://code-projects.org/bus-reservation-and-ticketing-
2 internet
system-in-java-with-source-code/

3 textbook java programming

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 4/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

NAME OF TEAM MEMBERS WITH ROLL NO.

-------------------------------------------------------------

-----------------------------------------------------------

------------------------------------------------------------

Bus Reservation and Ticketing System could be a straightforward console based mostly
application in Java. The feature of this easy application includes adding passengers record,
asking and viewing total records. so as to feature a rider, the user must offer passenger’s
name, destination, range of passengers and discount range. alternative options embrace
viewing offered destination records, billings. This whole system isn't designed with the
assistance of Netbeans IDE.

There’s no external information property during this straightforward project. For billings,
he/she must enter passenger’s name. Then the system displays all the informations of the
rider like name, destination, fare price, range of passengers and discount quantity. It
additionally shows the overall fare quantity and therefore the user must offer the quantity to
pay. to look at records, the user will merely offer passenger’s name which can show every
and each info together with total fare worth with paid quantity, amendment and standing.

Bus reservation system

Bus Reservation and Ticketing System could be a straightforward console based mostly
application in Java. The feature of this easy application includes adding passengers record,
asking and viewing total records. so as to feature a rider, the user must offer passenger’s name,
destination, range of passengers and discount range. alternative options embrace viewing
offered destination records, billings. This whole system isn't designed with the assistance of
Netbeans IDE.

There’s no external information property during this straightforward project. For billings, he/she
must enter passenger’s name. Then the system displays all the informations of the rider like
name, destination, fare price, range of passengers and discount quantity. It additionally shows
the overall fare quantity and therefore the user must offer the quantity to pay. to look at records,

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 5/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

the user will merely offer passenger’s name which can show every and each info together with
total fare worth with paid quantity, amendment and standing.

Design of this project is extremely easy so the user won’t realize any difficulties whereas acting
on it. To run this project you need to compile and run from the prompt (for Windows users). Bus
Reservation and Ticketing System in Java with ASCII text file is absolve to transfer, Use for
academic functions only! For the project demo, have a glance at the image slider below.

Features of Java Programming Bus reservation system :

1. Login System
2. View Destinations
3. Add Passengers
4. Billings
5. View total records

**Login Details**

Username : 1
Password : 1

**Developed By Lyndon Bermoy**

Java Programming script code Bus reservation system :

import java.io.*;

public class BusReservationAndTicketingSystem {

public static void main(String args[]) throws IOException {

BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

String user,password,yn,search,again,choice;

int to=0,y=1,z=0,end=0,r=1;

int available[] = new int[6];

int ticketI[][] = new int [100][3];

String ticketS[][] = new String[100][3];

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 6/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

double ticketD[][] = new double [100][3];

double pay[] = new double[20];

double change[] = new double[20];

for(int i=1;i<4 1.="" 2.="" 20="" 3.="" 4.="" 5.="" all="" already="" and="" are="

if(to<1 to="">5){

System.out.println("Invalid Input!");

x=1;

//if available seat is eqaul to "Zero", display error and go back to I

for(int d=1; d<=5; d++){

if(to==d){

if(available[to]==0){

System.out.println("Sorry, We don't have available seat!");

x=1;

x=0;

//convert the integer to string//

String dest[] = { " ", "DAVAO CITY", "BUTUAN CITY", "CABADBARAN", "TANDA

double fare[] = { 0,600,170,150,200,250};

//converted integer to string, transfer to storage array//

ticketS[z][1] = dest[to];

ticketD[z][0] = fare[to];

//inputing for Number of Passenger's//

for(x=1; x==1;){

System.out.print("HOW MANY PASSENGERS ARE YOU?: ");

ticketI[z][0] = Integer.parseInt(in.readLine());

//subtract the available seat by the the number inputed//

for(int p=1; p<=5; p++){

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 7/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

if(to==p){

print=1;

available[to] = available[to]-ticketI[z][0];

//if the subtracted available seat is "<0 add="" and="" available=

System.out.println("Invalid Input!");

System.out.println("No. of Passengers are only " +ticketI[z][0] +"!"

x=1;

else{

break;

//print out of passengers details....

if(print==1){

System.out.println("\n***************************************");

System.out.println("** PASSENGER'S DETAILS **");

System.out.println("***************************************");

System.out.println("PASSENGER'S NAME: " + ticketS[z][0]);

System.out.println("PASSENGER'S DESTINATION : " + ticketS[z][1]);

System.out.println("FARE PRICE: Php " + ticketD[z][0]);

System.out.println("NO. OF PASSENGERS: " + ticketI[z][0]);

System.out.println("NO. OF PASSENGERS WITH DISCOUNT: " + ticketI[z][1]

System.out.println("***************************************");

System.out.println("***************************************\n");

ticketS[z][2]="0";

double discount=(ticketD[z][0]-(ticketD[z][0]*0.2))*ticketI[z][1];

ticketD[z][2]= ((ticketI[z][0]-ticketI[z][1])*ticketD[z][0])+discount;

x=0;

z++;

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 8/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

else if (choice.equals("3")){

for(x=1; x==1;){

System.out.print("ENTER PASSENGER'S NAME: ");

search = in.readLine();

int s=1;

for(int b=0;b

Java Programming script code .java and .class file link :

.java/.class file

Conclusion

by using this java programming you can create bus ticket booking system micro
project.

Previous Micro Project Next Micro Project


Software Engineering (22413) Diploma Micro Project I MSBTE Software Engineering (22413) Diploma Micro Project
Scheme.

#cs fourth sem

Share: Facebook Whatsapp Twitter

You may like these posts

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 9/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

No image No image No image

DCC (22414) Data JPR Java Programming Database Management


Communication And 22412 MSBTE MicroProject 22416 Micro Project
Computer Network Micro… Diploma MSBTE

No image No image No image

Java programming 22412 Diploma MSBTE DCC MSBTE Computer 4th


micro-project diploma I Micro Project (22414) Semester MicroProject
scheme Diploma MSBTE Topics

Post a Comment

Popular projects

suraj

Mar 31 — in cs fourth sem

01 Microprocessors (22415) Diploma Micro Project I Scheme


MSBTE.

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 10/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

Microprocessors (22415) Diploma Micro Project I Scheme MSBTE.


Microprocessors (22415) Diploma Micro Project I Scheme MSBTE.…

Feb 28 — in cs fourth sem

02 MICRO PROJECT Software Engineering (22413) i scheme


MSBTE

Jan 16 — in cs fourth sem

03 SEN Software Engineering (22413) Diploma Micro Project


MSBTE

Mar 6 — in cs fourth sem

04 micro project I scheme DCC Data Communication and


Computer Network.

Feb 27 — in cs fourth sem

05 micro project of GUI Application Development Using


VB.NET (22034) MSBTE i scheme.

branches

ce 1st sem 7 ce 2nd sem 10

ce 3rd sem 13 ce 4th sem 17

ce 5th sem 7 ce 6 th sem 20

Show more (+22)

Team MSBTE Helper Product & Support


Service
MSBTE – Contact
Helper –
All MSBTE Microproject Pdf
Problems End… Maker

Instagram / Youtube / WhatsApp

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 11/12
2/22/24, 10:09 PM Bus reservation system Java Programming micro project computer engineering MSBTE - MSBTE MICRO PROJECTS

/ Faq

Sitemap · Disclaimer · Privacy


© 2024 ‧ MSBTE MICRO PROJECTS ‧ All rights reserved.

https://www.msbtemicroproject.tech/2022/03/BusreservationsystemJavaProgrammingmicroprojectcomputerengineeringMSBTE.html 12/12

You might also like