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

Final

Uploaded by

aryanudiya
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 (0 votes)
5 views

Final

Uploaded by

aryanudiya
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/ 24

Shri Agrasen vidyalaya

CBSE affiliation.: 1030675


41-51, Sneh Nagar, Indore

Session: - 2024-25
Subject: - Computer Science
Project Topic: - Train Reservation System

Guided by: - Submitted by: -


Mrs. Sadhana Raikwar Aryan UDIYA
Dhawal Sharma
Index

➢ Certificate
➢ Acknowledgement
➢ Introduction To Python
➢ Hardware & Software
Requirements
➢ RDBMS Terminology

➢ Python Coding
➢ Output
➢ MySQL
➢ Bibliography
Acknowledgement

It is a moment of a great pleasure to express our deepest sense of


gratitude to our esteemed guide Mrs. Sadhana Raikwar
for her keen interest, precious and inspiring guidance,
constructive criticism, constant encouragement and everlasting
affection during completion of the project report.
I am also grateful to our Principal Mrs. Mridula Patni Ma’am
and the management of our school for providing all the facilities
to carry out the project work.

Date: ____________ Submitted By:


Aryan Udiya
Dhawal Sharma
Place: Indore
Introduction to Python Programming language
Python is developed by Guido van Rossum. Guido van Rossum started implementing
Python in 1989. Python is a very simple programming language so even if you are new to
programming, you can learn python without facing any issues.

Features of Python programming language

1. Readable: Python is a very readable language.

2. Easy to Learn: Learning python is easy as this is a expressive and high level
programming language, which means it is easy to understand the language and thus
easy to learn.

3. Cross platform: Python is available and can run on various operating systems
such as Mac, Windows, Linux, Unix etc. This makes it a cross platform and portable
language.

4. Open Source: Python is a open source programming language.


5. Large standard library: Python comes with a large standard library that has
some handy codes and functions which we can use while writing code in Python.

6. Free: Python is free to download and use. This means you can download it for
free and use it in your application. See: Open Source Python License. Python is an
example of a FLOSS (Free/Libre Open-Source Software), which means you can
freely distribute copies of this software, read its source code and modify it.

7. Supports exception handling: If you are new, you may wonder what is an
exception? An exception is an event that can occur during program exception and
can disrupt the normal flow of program. Python supports exception handling which
means we can write less error prone code and can test various scenarios that can
cause an exception later on.

8. Advanced features: Supports generators and list comprehensions. We will cover


these features later.

9. Automatic memory management: Python supports automatic memory


management which means the memory is cleared and freed automatically. You do
not have to bother clearing the memory.

What Can You Do with Python?

You may be wondering what all are the applications of Python. There are so many
applications of Python, here are some of the them.

1. Web development – Web framework like Django and Flask are based on Python.
They help you write server-side code which helps you manage database, write
backend programming logic, mapping URLs etc.

2. Machine learning – There are many machine learning applications written in


Python. Machine learning is a way to write a logic so that a machine can learn and
solve a particular problem on its own. For example, products recommendation in
websites like Amazon, Flipkart, eBay etc. is a machine learning algorithm that
recognizes user’s interest. Face recognition and Voice recognition in your phone is
another example of machine learning.
3. Data Analysis – Data analysis and data visualization in form of charts can also be
developed using Python.

4. Scripting – Scripting is writing small programs to automate simple tasks such as


sending automated response emails etc. Such type of applications can also be written
in Python programming language.

5. Game development – You can develop games using Python.

6. You can develop Embedded applications in Python.

7. Desktop applications – You can develop desktop application in Python using


library like TKinter or QT.

How to Install Python

You can install Python on any operating system such as Windows, Mac OS X,
Linux/Unix and others.

To install the Python on your operating system, go to this


link: https://www.python.org/downloads/. You will see a screen like this.

If you are using Mac OS X then you may notice that Python is already installed in
your system, however it would most likely be a Python 2 so you can download the
latest Python 3 version from here and install it in your system.
What is a Database?
A database is a separate application that stores a collection of data. Each database
has one or more distinct APIs for creating, accessing, managing, searching and
replicating the data it holds.
Other kinds of data stores can also be used, such as files on the file system or large
hash tables in memory but data fetching and writing would not be so fast and easy
with those type of systems.
Nowadays, we use relational database management systems (RDBMS) to store and
manage huge volume of data. This is called relational database because all the data
is stored into different tables and relations are established using primary keys or
other keys known as Foreign Keys.

A Relational Database Management System (RDBMS) is a software that −


• Enables you to implement a database with tables, columns and indexes.
• Guarantees the Referential Integrity between rows of various tables.
• Updates the indexes automatically.
• Interprets an SQL query and combines information from various tables.
RDBMS Terminology

Before we proceed to explain the MySQL database system, let us revise a few
definitions related to the database.
• Database − A database is a collection of tables, with related data.
• Table − A table is a matrix with data. A table in a database looks like a simple
spreadsheet.
• Column − One column (data element) contains data of one and the same
kind, for example the column postcode.
• Row − A row (= tuple, entry or record) is a group of related data, for example
the data of one subscription.
• Redundancy − Storing data twice, redundantly to make the system faster.
• Primary Key − A primary key is unique. A key value cannot occur twice in
one table. With a key, you can only find one row.
• Foreign Key − A foreign key is the linking pin between two tables.
• Compound Key − A compound key (composite key) is a key that consists of
multiple columns, because one column is not sufficiently unique.
• Index − An index in a database resembles an index at the back of a book.
• Referential Integrity − Referential Integrity makes sure that a foreign key
value always points to an existing row.
Hardware & Software
Requirements
Minimum Hardware Requirements

Processor: i3 6th generation or above

Main Memory: 4 GB

Hard Disk: 512 GB

Software Requirements

Platform: Windows 7 / 8 / 10

Front End: Python 3.7

Back End: MySQL

Database Connectivity: Python with MySQL Internet connection also


required for download Python module or libraries.
# MySQL Database Connection
# Reserving a Seat
# User Login
# Passenger Panel

# Admin Panel
# Train Adding
# View Train

# Main Menu
# User Login
# Admin Login
# Bookings Table
# Train_Shabule Table
# User Table
BIBLIOGRAPHY

• COMPUTER SCIENCE BY PREETI ARORA, SULTAN


CHAND PUBLICATION.

• https://www.irctc.co.in/

• https://en.wikipedia.org/

• https://www.cbse.gov.in/

• https://www.google.co.in/

• https://www.python.org/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy