PM SHRI KENDRIYA VIDYALAYA NO.
2, COLABA
MUMBAI- 400005
INFORMATIC PRACTICES
2024-25
PROJECT FILE ON:
TRAVEL EXPENSE PLANNER [RIDE ADVISOR]
SUBMITTED BY : TAANISH R. YADAV
CLASS 12 – ‘COMMERCE’’
UNDER THE GUIDANCE OF- MS. PRIYANKA NEGI
1
2
CERTIFICATE
This is to certify that ‘TAANISH R.
YADAV’ student of class 12th 'C' has
successfully completed her project
file under my supervision. She has
taken proper care and sincerity in
completion of this project. I certify
that this project is up to my
expectation and as per the CBSE
guidelines.
TEACHER’S SIGNATURE PRINCIPAL’S SIGNATURE
EXTERNAL EXAMINER’S SIGNATURE
3
ACKNOWLEDGEMENT
I would like to take this opportunity to extend my thanks
to the respected principal madam, MRS. SAVITA YADAV,
for providing the resources and environment necessary
for this project.
I want to express my deep gratitude to MS. PRIYANKA NEGI,
our dedicated subject teacher for the guidance, expertise,
and unwavering support that I received. Your help was
instrumental in shaping my project and enhancing my
understanding of the subject.
I want to acknowledge my FAMILY MEMBERS for their
constant encouragement and understanding. Your belief
in my abilities motivated me to excel.
4
INTRODUCTION
Introduction of Ride Advisor
In today’s fast-paced world, traveling has become an essential
part of both personal and professional life. Whether for
leisure, work, or education, planning a trip can be
overwhelming, especially when it comes to managing expenses.
A ride advisor Planner serves as a vital tool for travellers,
helping them budget and optimize their means of travel while
minimizing costs.
This project focuses on creating a user-friendly interface that
interacts with users to gather essential information about their
travel preferences. Based on the input, the planner suggests the
best and most economical transport means, allowing users to
make informed decisions that align with their budgets.
By simplifying the travel planning process, the Ride Advisor
Planner aims to reduce financial stress, enabling travellers to
enjoy their journey without worrying about unexpected
expenses.
Overall, the Ride Advisor Planner is designed to empower
users by providing them with tailored solutions that enhance
their travel experiences while being mindful of their financial
resources.
5
AIM
To develop a user-friendly Ride Advisor Planner that assists
travellers in planning their trips efficiently while minimizing
costs and maximizing value.
OBJECTIVES
1. User Interaction: Create an intuitive interface that
engages users and gathers relevant travel information,
such as destinations, preferences, and budget constraints.
2. Cost Analysis: Implement algorithms that analyse
various travel options, including transportation modes
and food availability areas, to identify the most
economical choices.
3. Expense Tracking: Provide tools for users to track their
travel expenses in real-time, allowing them to stay within
their budgets.
4. User Feedback: Incorporate a feedback mechanism for
users to share their experiences and suggest
improvements, enhancing the overall functionality of the
planner.
5. Data Security: Ensure that user data is handled securely,
maintaining privacy and confidentiality throughout the
planning process.
6
SYSTEM REQUIREMENTS AND SPECIFICATIONS
Hardware Requirements:
Processor: 11th Gen Intel(R) Core(TM)
i5-1135G7 @ 2.40GHz
RAM: 8.00 GB (7.74 GB usable)
Software Requirements:
Operating System: Windows 11
Python: IDLE (Python 3.11 32-bit)
Libraries:
o Pandas: For data manipulation and analysis
o Matplotlib: For data visualization
Database: MySQL (5.5 command line client)
Text Editor: Notepad
Spreadsheet Software: Microsoft Excel (for CSV
file handling)
7
THEORY
1. OVERVIEW OF PYTHON
Python is an interpreted, object-oriented, high-
level programming language with dynamic
semantics. Its high-level built in data structures,
combined with dynamic typing and dynamic
binding, make it very attractive for rapid
application development, as well as for use as a
scripting or glue language to connect existing
components together. Python's simple, easy to
learn syntax emphasizes readability and
therefore reduces the cost of program
maintenance. Python supports modules and
packages, which encourages program
modularity and code reuse. The Python
interpreter and the extensive standard library is
available in source or binary form without
charge for all major platforms, and can be
freely distributed.
8
FEATURES OF PYTHON
1. Open Source
Python is an open-source language. It can be freely modified,
used, and distributed. This open-source nature of Python has
made it popular among developers.
2.Large Standard Library
Python comes with a comprehensive standard library. It includes
modules for performing a wide range of tasks. This library
contains modules for web development, database interaction, file
manipulation, data analysis.
3. Object-Oriented Programming Language
Python is a powerful object-oriented programming language that
supports OOPs concepts like inheritance, polymorphism, and
encapsulation. It allows users to create reusable and modular
code, making it easier to manage large codebases. Examples:
NumPy,
matplotlib, Django, and Panda.
4.Platform Independent
It is a platform-independent programming language that can run
on different operating systems and hardware architectures without
modification.
5.High-Level Language
Python is a high-level language, meaning the code is closer to
human language than machine language. This makes it easier to
read and understand.
9
MY SQL
Relational database organizes data into one or more data tables in
which data may be related to each other; these relations help
structure the data. SQL is a language that programmers use to
create, modify and extract data from the relational database, as
well as control user access to the database. In addition to
relational databases and SQL, an RDBMS like MySQL works
with an operating system to implement a relational database
in a computer's storage system, manages users, allows for network
access and facilitates testing database integrity and creation of
backups.
FEATURES OF MY SQL
1.Easy to use
MySQL is easy to use. We have to get only the basic knowledge
of SQL. We can build and interact with MySQL by using only a
few simple SQL statements.
2.It is secure
MySQL consists of a solid data security layer that protects
sensitive data from intruders. Also, passwords are encrypted in
MySQL.
3.It is scalable
MySQL supports multi-threading that makes it easily scalable. It
can handle almost any amount of data, up to as much as 50
million rows or more. The default file size limit is about 4 GB.
However, we can increase this number to a theoretical limit of 8
TB of data.
10
PANDAS
Pandas is a Python library used for working with data sets.
It has functions for analyzing, cleaning, exploring, and
manipulating data. The name "Pandas" has a reference to both
"Panel Data", and "Python Data Analysis" and was created by Wes
McKinney in 2008.Pandas allows
us to analyze big data and make conclusions based on statistical
theories. Pandas can clean messy data sets, and make them
readable and relevant. Relevant data is very important in data
science.
FEATURES OF PANDAS
1. Handling of data
The Pandas library provides a really fast and efficient way to manage and
explore data. It does that by providing us with Series and DataFrames,
which help us not only to represent data efficiently but also manipulate it in
various ways
2. Alignment and indexing
Having data is useless if you don’t know where it belongs and what it tells
us about. Therefore, labeling of data is of utmost importance.
3. Handling missing data
it is pertinent to handle the missing values properly so that they do not
adulterate our study results. Some Pandas features have you covered on
this end because handling missing values is integrated within the library.
4.Visualize
Visualizing the data is an important part of data science. It is what make the
results of the study understandable by human eyes. Pandas have an in-built
ability to help you plot your data and see the various kinds of graphs
formed.
11
MATPLOTLIB
Matplotlib is a powerful plotting library in Python used for
creating static, animated, and interactive visualizations.
Matplotlib’s primary purpose is to provide users with the
tools and functionality to represent data graphically,
making it easier to analyze and understand. It was
originally developed by John D. Hunter in 2003 and is
now maintained by a large community of
developers.
FEATURES OF MATPLOTLIB
1.Versatility:
Matplotlib can generate a wide range of plots, including
line plots, scatter plots, bar plots, histograms, pie charts,
and more.
2.Customization:
It offers extensive customization options to control every
aspect of the plot, such as line styles, colors, markers,
labels, and annotations.
3.Integration with NumPy:
Matplotlib integrates seamlessly with NumPy,
making it easy to plot data arrays directly.
12
CSV file
comma-separated values (CSV) file is a delimited text file that
uses a comma to separate values. Each line of the file is a data
record. Each record consists of one or more fields, separated by
commas. The use of the comma as a field separator is the source
of the name for this file format. A CSV file typically stores tabular
data (numbers and text) in plain text, in which case each line has
the same number of fields. The CSV file format is not fully
standardized. Other characters can be used as column delimiters.
Fields may or may not be surrounded to escape special
characters.
FEATURES OF CSV FILE
1.Data Import and Export:
One of the most common use cases for CSV files is data import
and export. Given their simplicity and compatibility, CSV files are
often used to transfer data between different types of software,
applications, and databases.
2.Data Analysis:
CSV files are a popular choice in data analysis due to their
compatibility with various data analysis tools and languages, such
as Python, and SQL.
3.Data Migration: When migrating data from one system to
another, CSV files are often used due to their simplicity and
compatibility
13
CODES OF ALL THE MODULES
14
15
OUTPUT OF PROGRAM
16
17
PROGRAM DISPLAYED IN MYSQL
MODIFYING DATA
INSERTING VALUES
18
ADDING DATA
UPDATE COMMAND
19
CREATING CSV
READING CSV FILE
WRITING CSV FILE
20
USING MATPLOTLIB
21
22
Conclusion
The Ride Advisor Planner stands as a testament to the
power of technology in enhancing the travel experience.
By offering a comprehensive solution that addresses key
aspects of travel planning, from cost analysis to expense
tracking, it provides users with the confidence and clarity
they need to make informed decisions.
As we move forward, the Ride Advisor Planner will
continue to evolve, adapting to new technologies and user
needs. Its ultimate goal remains to simplify travel
planning, reduce financial stress, and ensure that every
journey is as enjoyable and efficient as possible.
By empowering travellers with tailored solutions, the
Ride Advisor Planner not only enhances individual travel
experiences but also contributes to a more connected
and mobile world.
23
Bibliography
GeeksforGeeks. (n.d.). Python Programming Language. Retrieved
from https://www.geeksforgeeks.org/python-programming-language/
GeeksforGeeks. (n.d.). Pandas Tutorial. Retrieved from
https://www.geeksforgeeks.org/pandas-tutorial/
GeeksforGeeks. (n.d.). Matplotlib Tutorial. Retrieved from
https://www.geeksforgeeks.org/matplotlib-tutorial/
GeeksforGeeks. (n.d.). Working with CSV Files in Python.
Retrieved from https://www.geeksforgeeks.org/working-csv-files-python/
GeeksforGeeks. (n.d.). MySQL Tutorial. Retrieved from
https://www.geeksforgeeks.org/mysql-tutorial/
Wikipedia
BOOK REFERENCE
Sumita Arora
Preeti Arora
24
THANK YOU
25