0% found this document useful (0 votes)
20 views12 pages

Tharun 12B CS Project File

Uploaded by

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

Tharun 12B CS Project File

Uploaded by

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

COMPUTER SCIENCE

A Project Report on
NAME OF PROJECT

Submitted By
NAME: Tharun
CLASS: 12 B

Under the guidance of


Ms Rupa Mathew
Department of Computer Science
Global Indian International School,
Kuala Lumpur , Malaysia

CERTIFICATE

1
This is to certify that __________of Class XII-_ of
Global Indian International School has prepared
the report on the project entitled “_______”. The
project was successfully completed for the
AISSCE as prescribed by CBSE in the year 2024-
2025.

Date: ___________
Roll No.: _______________

Teacher’s Sign Examiner

Principal’s Sign

2
ACKNOWLEDGEMENT

In the accomplishment of this report of practical


successfully, many people have bestowed upon me their
blessings and the heart pledge support. I thank all the
people who have been concerned with this project.
I would like to sincerely thank my Computer Science
teacher _______________, whose valuable guidance
has been the one that helped me complete this project
and make it full proof success, her suggestions and
instructions have served as the major contribution
towards the completion of this project.

I would like to thank my principal Ms Dipti Joshna,


for providing me with all the facility that was
required.

Then I would like to extend my gratitude towards all


the teaching and non-teaching staff of Global Indian
International School and my parents who supported me
in completing my project.

CONTENTS

3
Contents Pg. No.
OBJECTIVE
SOFTWARE USED
WORKING DESCRIPTION
CODING
OUTPUT SCREENS
CONCLUSION
BIBLIOGRAPHY

4
Objective:
The primary objective of the Bus Reservation System project
is to develop a user-friendly and efficient platform that
simplifies the process of booking bus tickets. The system aims
to provide a seamless experience for users.

Software Used:
Pycharm
Mysql

Working Description:
1. MySQL Connection: The code begins by establishing a
connection to a MySQL database using the mysql.connector
library. The database connection details, such as host, user, and
password, are specified.
2. Main Menu (railresmenu function): This function displays a
menu with options to view train details, reserve tickets, cancel
reservations, or quit the application. Based on the user's choice,
it calls the appropriate function to perform the selected action.
3. Train Details (traindetail function): This function displays
information about the available train routes and their

5
corresponding Train IDs. It lists the destinations and available
trains, then returns to the main menu.
4. Reserve Tickets (trainreserve function): This function prompts
the user to enter details such as Train ID, first name, last name,
phone number, and the number of seats needed. It then inserts
this reservation information into the table2 in the railrestest
database. Upon successful reservation, it confirms the booking
and returns to the main menu.
5. Cancel Reservations (cancel function): This function prompts
the user to enter their phone number to cancel a reservation. It
deletes the reservation record corresponding to the provided
phone number from the table2 in the railrestest database. Upon
successful cancellation, it confirms the action and returns to the
main menu.
6. Execution of Main Menu: The railresmenu function is called at
the end of the script to start the application.

6
Code:

7
8
Output Screens:
1:

9
2:

10
3:

11
Conclusion:
The Bus Reservation System project successfully achieves its
objective of creating an efficient and user-friendly platform
for booking bus tickets.

Bibliography:
1. Python Software Foundation. (2023). *Python
Documentation*. Retrieved from https://docs.python.org/3/
2. MySQL AB. (2023). *MySQL Reference Manual*.
Retrieved from https://dev.mysql.com/doc/

12

You might also like