0% found this document useful (1 vote)
181 views19 pages

Ip Project2

This document describes an online transport management system project created by students for their AISSCE examination. It includes sections on the system requirements, database design, coding, and output screens. The project allows customers to rent cars online by selecting a vehicle and package, and stores customer and order details in a database. It also includes user login/registration functionality for administrators.

Uploaded by

abhinavdshetty
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 (1 vote)
181 views19 pages

Ip Project2

This document describes an online transport management system project created by students for their AISSCE examination. It includes sections on the system requirements, database design, coding, and output screens. The project allows customers to rent cars online by selecting a vehicle and package, and stores customer and order details in a database. It also includes user login/registration functionality for administrators.

Uploaded by

abhinavdshetty
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/ 19

ONLINE TRANSPORT MANAGEMENT SYSTEM

MARCH 2022

A PROJEC REPORT
ON
ONLINE TRANSPORT MANAGEMENT SYSTEM
FOR
AISSCE 2022 EXAMINATION
As a part of the Informatics Practices Course (065)

SUBMITTED BY:

Name of the Student Hall ticket Number


1) TEJASRI HARSHITA 18610517
2) SANJANA VARADA 18610524
3) LEKHA VR 18611012

Under the guidance of

Mr.SivaPrasad G
PGT in Informatics Practices

DEPARTMENT OF INFORMATICS PRACTICES

SRI CHAITANYA TECHNO SCHOOL


Kothanur Dinne Main Road, Near Bus Stop 8th Phase, JP Nagar, Jumbo Sawari,
Dinne, Bengaluru, Karnataka 560078
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

CERTIFICATE
This is to certify that the Project / Dissertation entitled Project Name
is a bonafide work done by Mr. / Ms.
……………………………………..of class XII in partial fulfillment
of CBSE’s AISSCE Examination 2020-21 and has been carried out
under my direct supervision and guidance. This report or a similar
report on the topic has not been submitted for any other examination
and does not form a part of any other course undergone by the
candidate.

Signature of Student Signature of Teacher/Guide


Name: ……………… Name: SivaPrasad G
Roll No.: …………………… Designation: PGT in IP

Signature of Principal
Name:
Place: JP Nagar

Date:……………..
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

ACKNOWLEDGEMENT

I would like thank the institution for giving the


opportunity to encase and display our talent through
this project.
I would like to thank my Informatics Practices
teacher Mr.SivaPrasad G for having the patience to
guide me at every step in the project
I am also grateful to the CBSE BOARD for
challenging and giving us this project in which we all
were so engrossed.
I would also like to thank my parents and friends who
helped me in getting the right information for this
project.
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

TABLE OF CONTENTS

Sl.no Topic Name Page No


1. Abstract
2. System requirements
3. Database design
4. Coding
5. Output screens
6. Bibliography
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

ABSTRACT

This is a small project for Transport Management.


This system allows the customer to rent a car and
select the package which they would like. We have
designed an interface to store all details of product
and customer in a database using python.
The Transport Management System enables
administrators to create an account by entering
credentials(ex:username and password). By using this
software, the details of car, customer and sold
product can be stored. In addition, we can insert and
select new customer details, existing customer
details. The information regarding payment and
delivery can be accessed .This project will be useful
to those who want to rent a car online
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

SYSTEM REQUIREMENTS

Hardware Components:
1. VGA Monitor

2. Qwerty keyboard

3. 2GB RAM

4. 2.6 GHz Processor

5. Graphics card

Software Components:
1. Windows 7

2. Python 3.7 with suitable modules

3. MySQL Command Client


ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

DATABASE DESIGN

Name of the project: HSR Transport Management

Table created for this project:


1. Admins.

In the following “admins”, we will store the credentials of


database admins.
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

CODING

def transport():
print("welcome to transport management")
print('1.New user')
print('2.Existing user')
ch=int(input('Enter your choice: '))
if(ch==1):
new_user()
elif(ch==2):
existing_user()
else:
print('Inavalid input..')
#for new user
def new_user():
print("code for newuser")
import pymysql

conn=pymysql.connect(host='localhost',user='root',password='root',
database='transport')
a=conn.cursor()
user=input('Enter User name: ')
pwd=input('Enter password: ')
s='insert into users values("'+user+'","'+pwd+'")'
a.execute(s)
print(':::::::user created successfully:::::::')
conn.commit()

#pefor existing user


def existing_user():
print("code for existing_user")
#select_car()
user_login()
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

def user_login():
import pymysql

conn=pymysql.connect(host='localhost',user='root',password='root',
database='transport')
a=conn.cursor()
user=input('Enter User name: ')
pwd=input('Enter password: ')
s='select *from users where un="'+user+'"'
a.execute(s)
r=a.rowcount
if(r==0):
print('Invalid username')
else:
s='select *from users where pwrd="'+pwd+'"'
a.execute(s)
r=a.rowcount
if(r==0):
print('Invalid Password')
else:
print('Valid Password \n')
select_car()

def select_car():
print('Select your car: \n')
print("1.Santro")
print("2.Kodiaq")
print("3.Verna")
print("4.SUV")
ch=int(input('Enter your choice: '))
if(ch==1):
#print("you have selected santro")
calculate_rate('Santro',3500,100,'KA 01 MJ 1234')
elif(ch==2):
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

calculate_rate('Kodiaq',5000,250,'KA 23 KJ 5678')
elif(ch==3):
calculate_rate('Verna',7500,500,'KA 78 DK 7896')
elif(ch==4):
calculate_rate('SUV',10000,1000,'KA 57 DG 8653')
else:
print('Inavalid input..')
def calculate_rate(car,per_day,per_hour,car_no):
print("you have selected ",car)
print('1.per day')
print("2.per hour")
ch=int(input('Enter your choice: '))
if(ch==1):
no_of_hours=0
no_of_days=int(input('Enter number of days: '))
total_cost_days=no_of_days*per_day
print("total cost for using ",car," is ",total_cost_days)
confirm(car,total_cost_days,no_of_days,no_of_hours,car_no)
elif(ch==2):
no_of_days=0
no_of_hours=int(input('Enter number of hours: '))
total_cost_hours=no_of_hours*per_hour
print("total cost for using ",car," is ",total_cost_hours)
confirm(car,total_cost_hours,no_of_days,no_of_hours,car_no)
else:
print('Inavalid input..')

def confirm(car,package,no_of_days,no_of_hours,car_no):
print("do you want to confirm: 1 for yes or 2 for no")
ch=int(input('Enter your choice: '))
if(ch==1):
print("********************")
print("receipt")
print("********************")
print('car: ',car)
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

print("total days: ",no_of_days)


print("total hours: ",no_of_hours)
print("cost: ",package)
print("car_no: ",car_no)
print("********************")
print("thank you!")
print("********************")

else:
select_car()

#program loop starts here


while(True):
print("****************************")
print('HSL transport management')
print("****************************")

print('1.transport')
print('2.Exit')
ch=int(input('Enter your choice: '))
if(ch==1):
transport()
elif(ch==2):
print('Thank you for using HSL Transport Management ')
break
else:
print('Inavalid input..')
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

OUTPUT SCREENS

1.WELCOME SCREEN

2.EXIT

3.ADMIN
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

4.EXISTING USER

5.NEW USER

A)
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

B)

6.SELECT CAR(SANTRO)
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

7.TIME PERIOD

8.

A)1 FOR YES

B)2 FOR NO
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

9. SELECT CAR(KODIAQ)
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

10. SELECT CAR(VERNA)


ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

11. SELECT CAR(SUV)

12. EXIT
ONLINE TRANSPORT MANAGEMENT SYSTEM
MARCH 2022

Bibliography:
www.google.com

www.python.org.

You might also like