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

Sbms Presentation Final

Uploaded by

rohitjr20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Sbms Presentation Final

Uploaded by

rohitjr20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

School Bus Management System

(SBMS)
An Overview of the Code
Implementation
Introduction
• The School Bus Management System (SBMS) is
designed to manage buses, students, and
routes for an educational institution. The
system allows an administrator to perform
various tasks such as managing buses,
students, and routes, as well as generating
reports.
Code Overview
• The code contains the following key
functionalities:
• 1. User login with authentication
• 2. Admin menu to manage buses, students,
and routes
• 3. Reports section for viewing bus, student,
and route details
• 4. Graph generation for visualizing data
Admin Menu Features
• The admin menu offers several options:
• 1. Manage Buses: Add, update, or delete bus
information.
• 2. Manage Students: Add, assign
buses/routes, or delete student records.
• 3. Manage Routes: Add, update, or delete
route information.
• 4. View Reports: Display data and generate
graphs for buses, students, and routes.
Report Generation and Graphs
• The system generates reports with the
following graphical insights:
• 1. Bus Students Graph: Bar chart showing
students per bus.
• 2. Route Students Graph: Pie chart showing
student distribution across routes.
• 3. Bus Capacity Graph: Line graph displaying
the capacity of each bus.
How the Code Works
• 1. Login Function: Verifies user credentials
from 'log_SBMS.csv'.
• 2. Admin Menu: Displays options to manage
buses, students, routes, and reports.
• 3. Data Storage: Data is stored in CSV files
(e.g., 'bus_detailsSBMS.csv').
• 4. Graph Generation: Uses matplotlib to
create visual graphs based on student data.
Conclusion
• The School Bus Management System helps
manage the transportation needs of students
efficiently. It allows easy monitoring of buses,
students, routes, and provides graphical
insights into the data.
Login Function
• The login function checks the credentials
provided by the user (username and
password) against the data stored in the
'log_SBMS.csv' file.

• If the credentials match, the user is granted


access to the admin menu. If they don't, an
error message is displayed.
Managing Buses
• The 'Manage Buses' section allows the admin
to:
• 1. Add a new bus: Inputs required include bus
ID, model, capacity, driver name, and contact
number.
• 2. Update existing bus details: Admin can
update model, capacity, driver details, etc.
• 3. Delete a bus: Admin can remove a bus from
the system by providing the bus ID.
Managing Students
• In the 'Manage Students' section, the admin
can:
• 1. Add new students: The admin enters
student ID, name, grade, address, and other
details.
• 2. Assign a bus and route: Admin can assign a
student to a specific bus and route.
• 3. Delete student records: Admin can delete a
student from the system.
Managing Routes
• The 'Manage Routes' section allows the admin
to:
• 1. Add new routes: The admin can define a
new route with details such as route ID, bus
ID, route name, and stops.
• 2. Update route details: Admin can update any
information about an existing route.
• 3. Delete routes: Admin can remove a route
from the system.
Generating Reports
• The 'View Reports' section provides several
options:
• 1. View Bus Details: Displays a list of all buses
along with their details.
• 2. View Student List: Displays a list of all
students and their assigned buses and routes.
• 3. View Route Details: Displays information
about each route.
• 4. Generate Graphs: Graphs such as 'Bus
Students Graph' (bar chart) and 'Route
Data Integrity & Validation
• The system ensures data integrity and
validation in several areas:
• 1. The 'login' function checks the validity of
user credentials against a stored file.
• 2. Data inputs for buses, students, and routes
are validated to ensure correct formats and
values.
• 3. The system checks if the bus ID, student ID,
and route ID exist before performing
operations like update or delete.
Future Enhancements
• Future improvements can include:
• 1. Implementing a more secure authentication
system (e.g., hashed passwords).
• 2. Storing data in a database rather than CSV
files for better scalability.
• 3. Adding notifications for bus delays or
changes in schedules.
• 4. Optimizing route planning for better bus
scheduling.

You might also like