0% found this document useful (0 votes)
89 views7 pages

IT Project File Template

Uploaded by

zygrade56
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)
89 views7 pages

IT Project File Template

Uploaded by

zygrade56
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

ASN SR. SEC.

SCHOOL
MAYUR VIHAR-I, DELHI

INFORMATION TECHNOLOGY PROJECT FILE


(802)

SESSION: 2023-24

A PROJECT REPORT ON
“CAB BOOKING”

SUBMITTED TO: SUBMITTED BY:

MS. SUNEETA JENA ARYAN CHAUHAN


P.G.T. (COMP. SC) BOARD - CBSE
CLASS – XII-A
ROLL NO.___8____
CERTIFICATE

This is to certify that ARYAN CHAUHAN of class XII-A of


ASN Senior Secondary School, Mayur Vihar – I, Delhi
has successfully completed IT project on ‘CAB
BOOKING’ under my supervision, during the academic
session 2023-24. He has taken keen interest and has
shown utmost sincerity in completion of this project.

I certify this project is up to my expectation & as per


guidelines issued by Central Board of Secondary
Education, New Delhi.

___________________________ _____________________________
Internal Examiner External Examiner

______________
School Stamp
ACKNOWLEDGMENT

I would like to express my sincere gratitude to our


Principal Ms. Swarnima Luthra and my teacher Ms.
Suneeta Jena who gave me this golden opportunity to
do this project which also helped me in doing a lot of
research work. Their constructive advice and constant
motivation have been responsible for the successful
completion of this project. I am grateful to them for
their continuous guidance and encouragement.

I would also like to thank my parents and friends who


helped me a lot in finalising this project within the
given time frame.

Aryan Chauhan

XII – A
INTRODUCTION

 To make this project, we need an in-depth knowledge of the programming


language JAVA and DBMS (Database Management System) MySQL. The
main idea of this project is to relate Python programs with corresponding
tables so as show how certain organisations work digitally.
 For instance, the topic chosen is ‘CAB BOOKING’. So basically, the aim is
to highlight that how Database Management Systems work in tandem to
take us from one destination to another.
 In the following project, we have covered the events leading up to your
ride in any of the companies offering cab bookings- from logging in to
your registered account to rating the driver.
 The chronological order of events that happen during this duration are
written below:-

Logging in Options to choose from:-


to your
Booking a ride/Deleting account/Updating Account
account
etc.

Once you reach your


In case you choose booking a
location, you may
ride, entering pickup and drop
want to give a rating
location etc.
to the driver.

 All of this user interaction is happening because of Python. However, it is


the MySQL database that retrieves your data stored on the server.
HARDWARE AND SOFTWARE
REQUIREMENTS

HARDWARE:-

1. WINDOWS OPERATING SYSTEM COMPATIBLE


2. MYSQL PACKAGE SIZE - 1,600 MB
3. JAVA SUITE SIZE – 100 MB

SOFTWARE:-

1. NETBEANS IDE 6.5.1


2. MYSQL (DATABASE MANAGEMENT SYSTEM)
RELATIONS (TABLES) USED

BOOKING TABLE DESCRIPTION DRIVER DESCRIPTION TABLE

TABLES AVAILABLE IN DATABASE USER DESCRIPTION TABLE

CODING
Code 1:- admin.py

import mysql.connector

mydb = mysql.connector.connect(

host="localhost",

user="root",

password="12121974",

database="cab"

myc=mydb.cursor()

def new(w):

sql="insert into driver(name,veh_no) values(%s,%s)"

nam=input("Enter name of driver: ")

veh=input("Enter Vehicle Number: ")

myc.execute(sql,(nam,veh.upper()))

print("Data inserted","\n","="*79)

mydb.commit()

z=int(input("Enter:\n 1--> Move Back \n2--> To add more"))

if z==1:

return(0)

elif z==2:

new(w)

def up(w):

d_id=int(input("Enter Driver ID: "))

myc.execute("Select * from driver where d_id=%s",(d_id,))

You might also like