BANGLADESH UNIVERSITY OF BUSINESS AND TECHNOLOGY
Bus reservation system
Course Title: Software Development I
SUPERVISED BY Presented by
MD. Masum Billah → 131
M.M. Fazle Rabbi
Assistant Professor Nafiur Rahman → 78
MD. Thasin Hasan Durjoy → 65
Shaydujjaman Prince → 47
Table of Contents
introduction
Key features
System architecture
Boking system
Sample output
conclusion
Bus reservation system
introduction
Project Title: Purpose: Scope:
Bus Reservation System Automate bus ticket booking Login/Register system.
and cancellation. Real-time seat selection and
Reduce manual labor, increase availability.
accuracy. Booking records stored in
Provide a user-friendly CSV/log files.
experience for both passengers Admin panel to view all
and administrators. bookings.
Bus reservation system
features
Feature Description
Login & Registration Secure login system for users and a dedicated admin login
View Bus Schedule Check available buses for a selected route, date, and time
Seat Selection Choose specific seat numbers before booking
Real-Time Availability Prevents double-booking by checking existing bookings
Booking Confirmation Visual progress bar + simulated ticket printing animation
Cancel Booking Cancel by seat number and free it for reuse
Ticket Output Prints color-coded ticket on screen and saves to [Link]
Calendar Interface View calendar and filter buses by travel date
Admin Panel Admin can view all bookings stored in the CSV file
Bus reservation system
System architecture
0
01
3
User interface Data management
user-friendly interface for smooth Stores bus, user, and booking
interaction between users and the data in memory
Saves logs and tickets to files
system.
(CSV, TXT)
Login / Registration Panel
Bus Search & Schedule View
Ticket Display / Print Simulation 0
Admin Panel 4
0 admin panel
2 Displays all booking
records from the
Business logic layer CSV file.
Handles all ticketing Logout and audit
options
operations (booking,
validation, canceling).
Booking system
Start
│
├─> User Logs In / Registers
│
├─> Search Buses (Enter Source, Destination, Date)
│
├─> System Displays Available Buses
│
├─> User Selects Bus & Seats
│
├─> System Checks Seat Availability
│ │
│ ├─> If Available → Proceed to Payment
│ └─> If Not → Show Error & Retry
│
├─> User Enters Payment Details
│
├─> System Processes Payment
│ │
│ ├─> Success → Generate Ticket & Update DB
│ └─> Failure → Retry Payment
│
└─> Display Booking Confirmation & E-Ticket
End
Bus reservation system
Sample output
=== Main Menu === === Main Menu ===
1. Login 1. Login
2. Register 2. Register
3. Exit 3. Exit
Enter your choice: 2 Enter your choice: 1
Choose Username: masum Username: masum
Choose Password: 1234 Password: 1234
Registration successful. You can now login. Login successful. Welcome masum!
=== User Menu === === User Menu ===
1. View Bus Schedule for a Route and Time Slot 1. View Bus Schedule for a Route and Time Slot
2. Book a Ticket 2. Book a Ticket
3. Cancel a Ticket 3. Cancel a Ticket
4. Show Seat Booking Graph for Your Last Booked/Canceled Bus 4. Show Seat Booking Graph for Your Last Booked/Canceled Bus
5. Logout 5. Logout
Enter your choice: 2 Enter your choice: 1
Enter Bus Number to book: 101 Enter Source: dhaka
Enter number of seats to book: 5 Enter Destination: mymensingh
Successfully booked 5 seat(s) on Bus 101. Enter Time Slot (morning/afternoon/evening): morning
Enter Year: 2025
=== User Menu === Enter Month: 12
Enter Day: 13
Enter your choice: 4 Buses from dhaka to mymensingh [morning 2025-12-13]:
--- Seat Booking Graph for Bus 101 (dhaka -> mymensingh) --- Bus 101, Departure: 09:00 AM, Fare: 150.00, Available Seats: 48, License:
DHK-12345, Driver: Rahim Uddin, Duty: 6 hours
██████████████████████████████████████████████ [5
booked / 43 available]
Bus reservation system
Sample ticket output
+=========================================+
| BUS TICKET |
+=========================================+
| Username : masum
| Bus Number : 101
| Route : Dhaka → Mymensingh
| Date : 2025-12-13
| Departure Time : 09:00 AM
| Fare per Seat : 150.00 BDT
| Total Seats Booked : 2
| Total Fare : 300.00 BDT
| License Plate : DHK-12345
| Driver Name : Rahim Uddin
| Duty Hours :6
| Time Slot : morning
| Booked Seats :12
+=========================================+
| THANK YOU FOR USING OUR SERVICE |
+=========================================+
Bus reservation system
Thank You
For the
attention