0% found this document useful (0 votes)
301 views22 pages

Bus Management System Project (Repaired)

Uploaded by

Kaiwalya Matre
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)
301 views22 pages

Bus Management System Project (Repaired)

Uploaded by

Kaiwalya Matre
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
You are on page 1/ 22

A MICRO PROJECT

BUS MANAGEMENT SYSTEM

Bus Management System is an integrated electronic


management system. This system can make the management
process easier. This method system will also help in
decreasing error mostly cause by human mistake.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATON
GOVERNMENT POLYTECHNIC, JALGAON (0018/1567)

Program Name and Code : Computer Engineering CO3I

Course Name and Code : Object Oriented Programming C++ (22319)

Academic Year : 2023-24

Semester : Third

A MICRO PROJECT ON BUS MANAGEMENT SYSTEM

Submitted in 2023-24 by the group of CO (A) Students

……………………………………………………………
Sr. No. Roll No. Name of Student Enrollment No. Seat No.
1. 064 Sanket Sanjay Patil 2200180537
2. 069 Pranav Suryakant Pawar 2200180545
3. 072 Akshay Madhukar Saitwal 2200180549
4 079 Shubham Girish Kulkarni 2200180560
5. 082 Aditya Sanjay Sonawane 2200180556

Project Guide: Prof. Vinaya Savadekar


MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION -CERTIFICATE-

This is to that Roll No 064, 069, 072, 079, 082 of 3rd Semester of Diploma in
Computer Engineering of Institute, Government Polytechnic, Jalgaon (Code:
0018/1567) has Completed the Micro Project satisfactorily in the Subject – Object
Oriented Programming Using C++ (22316) for the Academic Year 2023-24 as
prescribes in the curriculum.

Place : Jalgaon Enrollment No:

Date: ….../….../ 2021 Exam Seat No:

Subject Teacher Head of Department Principal

Seal Of
Institution
GOVERNMENT POLYTECHNIC, JALGAON

-SUBMISSION-

Roll No. 064, 069, 072, 079, 082 Seat No as a student of 3rd Sem/Year
2022-23 of the program humbly submit that I have completed from time to time
the Practical/Micro Project work as described in this report by my own skills and
study between the period from …….to……. as per the instructions/guidance of
Prof. Vinaya Savadekar.

And that following students were associated with me for this work,
however; quantum of my contribution has been approved by the Lecturer.

And that I have not copied the report on its any appreciable part from any
other literature in contravention of the academic ethics.

Date: ….../….../2023 Signature of Students


Evaluation sheet for microproject

Academic year- ……………. Course- ………………………….

Name of Faculty-……………………….. Course code : ………………….

Semester : ………………..

Title Of The Project : ……………………………..

Comments/Suggestions About Team Work/Leadership/Inter- Personal


Communication (If Any).

…………………………………………………………………………………………………

Roll Name Of Student Marks out of 6 for Marks out of 4 Total out of
No. Performance in group for 10
activity performanceOra
l./presentation

064 Sanket Sanjay Patil

069 Pranav Suryakant


Pawar
072 Akshay Madhukar
Saitwal
079 Shubham Girish
Kulkarni
082 Aditya Sanjay
Sonawane
ACKNOWLEDGE

The success and final outcome of this project required a lot of


guidance and assistance from many people and we are extremely
privileged to have got this all along the completion of our micro
project. All that we have done is only due to such supervision and
assistance and we would not forget to thank them.

We respect and thank …………., Principal, Government


Polytechnic, Jalgaon for providing us an opportunity to do the
project work in the institute and giving us all support and guidance
which made us complete the project duly. We are extremely
thankful to ……………. for providing such a nice support and
guidance.
We heartily thank …………………., Head of Department of
Computer, for his guidance, suggetions and encouragement during
this project work. We owe our deep gratitude to our project guide ,
…………………., who took been interest on our project work and
guided us all along, till the completion of our project work by
providing all the necessary information for developing a good
system.
We are thankful to and fortunate enough to get constant
encouragement, support and guidance from all the Teaching staffs of
Department of Computer which helped us in successfully completing
our project work
INDEX-

Sr No. Title

1 Aim And Objective

2 Information

3 History

4 Some Question

5 Flowchat , Algorithm With Code Output

6 Conclusion References:
❖ Aims:
1. Efficient Operations
2. Automated Processes
3. Enhanced Customer Experience
4. Resource
5. Data-Driven Decision Making

❖ Objectives:
1) Real-time Bus Tracking
2) Online Ticketing
3) Route Optimization
4) Maintenance Tracking
5) Driver Management
6) Integration with Payment Systems
Bus Management System Project
❖ Information
A bus is a large wheeled vehicle meant to carry many passengers along with the bus driver. It is
larger than a car or van. The name is a shortened version of omnibus, which means "for
everyone" in Latin. Buses used to be called omnibuses, but people now simply call them "buses".

Buses are an important part of public transport in places all over the world. Many people who do
not have cars, especially the third world countries, use buses to get around. Buses make it easy
for them to get to where they want to go.

Buses can have many types of bus. For example : The double Decker bus.

A place where people wait for a local bus is called a bus stop. A building where people wait for a
long-distance bus or where many buses meet is called a bus station.

❖ History
The first bus was probably a large, steam-driven stagecoach that operated in England in 1830.
The early vehicle was called an omnibus, a Latin word meaning “for all,” later abbreviated to
bus. In 1895 an eight-passenger bus powered by a four- to six-horsepower, single-cylinder
engine was built in Germany.

EVOLUTION OF BUSES

❖ Some Question

• What is bus management system?

Bus Management System is an integrated electronic management system. This system can make
the management process easier. This method system will also help in decreasing error mostly
cause by human mistake.
• Before and after the bus management system?

bus management systems have revolutionized the way bus transportation services are planned,
operated, and experienced. They have led to increased efficiency, better customer service, and
more data-driven decision-making in the field of public and private bus transportation.

Before Bus Management Systems: No After Bus Management Systems:

Manual Scheduling and Routing 1. Efficient Route Planning:

Limited Real 2. Real-Time Tracking(GPS technology)

Paper-Based Ticketing 3. Digital Ticketing

Communication Challenges 4. Automated Communication

Limited Data Analysis 5. Environmental Impact

6.

• who the bus management work :


Bus management systems typically involve the use of software and technology to manage
various aspects of bus operations, such as scheduling, tracking, ticketing, and fleet management.
Here's a broad explanation of how such a system might work AND Here's how a typical Bus
Management System operates:

• Hardware Components:
1. GPS Tracking Devices
2. Sensors and Data Collectors
3. Communication Infrastructure
• Software Components:
1. Centralized Management Software
2. Passenger-Facing Apps
3. Driver Interfaces
4. Analytics and Reporting Tools
• Key Functions and Workflow:
1. Route Planning and Optimization
2. Real-time Trackin
3. Schedule Management
4. Communication
5. Passenger Information
6. Maintenance Management
7. Data Analysis

Data store of bus management system by C++ algorithm, flowchart, and code. Here is the
information of how the code is made.

1. #include <iostream>
1. The "#include <iostream>" directive is a fundamental component in C++ programming
that enables input and output operations.
2. It is part of the C++ Standard Library and facilitates communication between a program
and the user through the standard input and output streams.
3. Here's a basic example of how "#include <iostream>" is used in a C++ program:
#include <iostream>
int main()
{int num;
std::cout << "Enter a number: ";
std::cin >> num;
std::cout << "You entered: " << num << std::endl;
return 0;
}
2. using namespace std;
1. The statement "using namespace std;" is a common directive found in C++ programs that
simplifies the usage of elements from the Standard Library.
2. In C++, the Standard Library (std) is a collection of pre-defined classes, functions, and
objects that provide a wide range of functionality, such as input/output operations, data
structures, algorithms, and more.
3. This directive allows programmers to access these elements without having to explicitly
specify the "std::" namespace prefix every time, thereby enhancing code readability and
reducing typing effort.
3. class
A class is a user-defined data type that encapsulates data and functions that operate on that
data. It serves as a template for creating objects, combining data (attributes) and functions
(methods) that define the object's behavior.
in classes the Attributes represent the characteristics or properties of an object, while
methods represent the actions or operations that an object can perform.

4. cout
1. The cout (pronounced "see-out") is a fundamental output stream in the C++ programming
language used for sending data to the standard output (usually the console).
2. It is part of the C++ Standard Library's iostream header, and it facilitates the display of
information to the user or other external destinations.
Example of cout
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
return 0;
}

5. cin
In the world of C++, the "cin" stream is a vital tool for handling input from the
user or other sources. Short for "character input," cin is part of the Standard
Input/Output Library (iostream) and plays a crucial role in creating interactive
programs.

6. do
1. In C++, the do statement is used as part of a do-while loop to create a controlled repetitive
structure in a program.
2. The do-while loop is a type of iteration constructs that allows a block of code to be executed
repeatedly as long as a specified condition remains true.

7. While

1. The "while" loop is a fundamental control structure in the C++ programming


language that allows you to execute a block of code repeatedly as long as a
specified condition remains true.
2. It provides a way to create efficient, iterative processes in your programs.The
syntax of the "while" loop is straightforward:

8. Switch cases
1. A switch case statement is a powerful control structure in the C++
programming language that facilitates efficient decision-making based on the
value of a given expression.
2. It allows you to select one of several possible execution paths based on the
value of an expression.
#include <iostream>
int main()
{ int day = 3;
switch(day)
{
case 1: std::cout << "Monday"; break;
case 2: std::cout << "Tuesday"; break;
case 3: std::cout << "Wednesday"; break;
case 4: std::cout << "Thursday"; break;
case 5: std::cout << "Friday"; break;
default: std::cout << "Weekend"; break;
} return 0;
}
9. Default:
In C++, the concept of "default" primarily relates to default values, default arguments, and
the default constructor.
These features contribute to the language's versatility and usability by providing convenient
and consistent ways to handle various scenarios.
a. Default Values
b. Default Arguments
c. Default Constructor
10. String
1. Strings in C++ are sequences of characters represented as a data type. They are used to
store and manipulate text or character-based data.

2. In C++, strings are part of the Standard Template Library (STL) and provide a rich set of
functions and operations for working with textual data.
❖ FLOWCHAT

START

GIVE MENU CARD AND TELL


THE USER TO CHOOSE 1 OF
THEM .

CHECK THE
CONDITION IF
THE INPUT IS
TRUE GO
INSIDE

IF FALSE GO TO THE
CHECK THE PROPER INPUT AND PRINT THE OUTPUT END STATEMENT
STATEMENT

END
❖ ALGORITHM

Steps :-

1. Start
2. Read the class as a (public and private) also read the string, vector, iostream as a
header file.
3. Give the instruction to print the menu by (cout,cin). In menu (ADD BUS,
DISPLAY BUSES, EXIT) by do while.
4. Give the command to choose one by switch case.
5. Print and display the output statement and check if it go the EXIT by if else
statement.
6. You need to choose one more then go to step-3 and select it then go to step-5. By
using do while.
7. End.
❖ Source code :-

#include <iostream>
#include <vector>
#include <string>
using namespace std;
class Bus{
public:
string busNumber;
string driverName;
string route;
Bus(string num, string name, string rt){
busNumber = num;
driverName = name;
route = rt; }
};
class BusManagementSystem
{private:
vector<Bus> buses;
public:
void addBus()
{string num, name, rt;
cout << "Enter Bus Number: ";
cin >> num;
cout << "Enter Driver's Name: ";
cin.ignore();
getline(cin, name);
cout << "Enter Route: ";
getline(cin, rt);
Bus newBus(num, name, rt);
buses.push_back(newBus);
cout << "\nBus added successfully!\n" << endl;}
void displayBuses(){
cout << "\nBus Information:\n" << endl;
for (const Bus& bus : buses){
cout << "Bus Number: " << bus.busNumber << endl;
cout << "Driver's Name: " << bus.driverName << endl;
cout << "Route: " << bus.route << endl;
cout << "----------------- \n" << endl;}
}
};
int main()
{
BusManagementSystem bms;
int choice;
do { cout<<"BUS MANAGEMENT SYSTEM\n"<<endl;
cout<<"1.ADD BUS"<<endl;
cout<<"2.DISPLAY BUSES"<<endl;
cout<<"3.EXIT\n"<<endl;
cout<<"Enter your choice: ";
cin>>choice;
switch (choice)
{case 1:
bms.addBus();
break;
case 2:
bms.displayBuses();
break;
case 3:
cout<<"\nExiting program."<<endl;
break;
default:
cout<<"Invalid choice. Please try again."<<endl;
}
} while (choice != 3);
return 0;
}
❖ Output
❖ Benefits of a (BMS)
1) Improved Passenger Experience
2) Digital Ticketing and Payment
3) Data Analytics and Reporting
4) Enhanced Safety and Security
5) Reduced Environmental Impact
6) Maintenance Management
7) Cost Savings

❖ Advantages And Disadvantages Of BMS :

Advantages No. Disadvantages

Efficient Operations 1 Initial Costs


Real-time Tracking 2 Technical Challenges
Data-Driven Decisions 3 Dependency on Technology
Enhanced Passenger Experience 4 Privacy Concerns
Reduced fuel and maintenance cost 5 Resistance to Change
Automated Fare Collection 6 Data Security
Maintenance Scheduling 7 Limited Accuracy
❖ Conclusion

1) In conclusion, a bus management system plays a crucial role in efficiently


managing and optimizing various aspects of bus transportation operations.

2) It streamlines the processes involved in scheduling, route planning, passenger


information, ticketing, and fleet management. By leveraging technology and
data-driven approaches, bus management systems help improve the overall user
experience for passengers, enhance operational efficiency for transit agencies,
and contribute to reduced traffic congestion and environmental impact.

3) The integration of real-time tracking, communication, and analytics empowers


stakeholders to make informed decisions, respond to dynamic situations, and
continuously refine the transportation services.

❖ References:

https://www.google.com/

https://ec.europa.eu/transport/themes/urban/urban_mobility_en

https://tfl.gov.uk/corporate/publications-and-reports/counting-passengers-using-
wi-fi-data

https://transloc.com/solutions/universities

You might also like