ACADEMIC YEAR: 2024-2025
PROJECT REPORT ON
RAILWAY MANAGEMENT SYSYTEM
ACADEMIC YEAR: 2024-2025
PROJECT REPORT ON
RAILWAY MANAGEMENT SYSYTEM
RAILWAY MANAGEMENT
Name: DHRUV GUPTA
RAILWAY
Class :12th Commerce
MANAGEMENT
Subject: Informatics Practices
Sub Code: 065
SYSYTEM
Project Guide: Kaushal Mam
FOR CBSE 2024-2025 EXAM
PROJECT
PROJECT NAME: RAILWAY MANAGEMENT SYSYTEM
SCHOOL NAME: SANJEEVANI PUBLIC SCHOOL
YEAR/CLASS: 2024-2025/12TH COMMERCE
TEACHER NAME: KAUSHAL MAM
TEAM MEMBERS NAME
NAME: DHRUV GUPTA, KARAN BABANI, KUSH YADAV
CERTIFICATE
This is to certify that the Project / Dissertation
entitled RAILWAY MANAGEMENT SYSYTEM is a
bona fide work done“DHRUV GUPTA”
by DHRUV GUPTA of class
XII Session 2024-25 in partial fulfilment of CBSE’s
Examination 2025 and has been carried out
under my direct supervision and guidance. This
report or a similar report on the topic has not
2024-2025
been submitted for any other examination and
does not form a part of any other course
undergone by FOR the BOARD EXAMINATION
candidate.
………………………………………..
Signature of Teacher/Guide
Name: Kaushal mam
ACKNOWLEDGEMENT
I DHRUV GUPTA undertook this Project work, as the part of my
XIIInformatics Practices course (065). I had tried to apply my
best of knowledge and experience, gained during the study
and class work experience. However, developing software
system is generally a quite complex and time-consuming
process. It requires a systematic study, insight vision and
professional approach during the design and development.
Moreover, the developer always feels the need, the help and
good wishes of the people near you, who have considerable
experience and idea.
I would like to extend my sincere thanks and gratitude to my
teacher
Ms. Kaushal MA’AM, for giving valuable time and moral support
to develop this software.
NAME: DHRUV
GUPTA
CLASS: XII – Commerce
➢ AIM
➢ INTRODUCTION
➢ THEORETICAL BACKGROUND
➢ CODING AND OUTPUT OF PROJECT
➢ ADVANTAGES
➢ DISADVANTAGES
➢ CONCLUSION ➢ BIBLIOGRAPHY
The main objective of the RAILWAY
MANAGEMENT SYSYTEM is to manage the
details of books, issued books, fine etc. It
manages all the information about. The
project is totally built at administrative end
and thus only the administrator is
guaranteed the access. The purpose of the
project is to build an application program to
reduce the manual work for managing the
Books, simplify the workflow. It tracks all the
details about the Books.
The project, RAILWAY MANAGEMENT SYSYTEM is a web-
based application that allows the hotel manager to
handle all hotel activities online. Interactive GUI and
the ability to manage various hotel bookings and rooms
make this system very flexible and convenient. The
hotel manager is a very busy person and does not have
the time to sit and manage the entire activities
manually on paper. This application gives him the
power and flexibility to manage the entire system from
a single online system. Hotel management project
provides room booking, staff management and other
necessary hotel management features. The system
allows the manager to post available rooms in the
system. Customers can view and book room online.
Admin has the power of either approving or
disapproving the customer’s booking request. Other
hotel services can also be viewed by the customers
and can book them too. The system is hence useful for
both customers and managers to portable manage the
hotel activities.
• WHAT IS PYTHON?
Python is an interpreter, 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 are
available in source or binary form without charge for all major platforms, and
can be freely distributed.
Often, programmers fall in love with Python because of the increased
productivity it provides. Debugging Python programs is easy: a bug or bad input
will never cause a segmentation fault. Instead, when the interpreter discovers
an error, it raises an exception. A source level debugger allows inspection of
local and global variables, evaluation of arbitrary expressions, setting
breakpoints, stepping through the code a line at a time, and so on.
The debugger is written in Python itself, testifying to Python's introspective
power. On the other hand, often the quickest way to debug a program is to add
a few print statements to the source: the fast edit-test-debug cycle makes this
simple approach very effective
. • What is Pandas? Pandas is Python’s library for data analysis. Pandas has
derived its name from “Panel Data System” and it has become very popular
choice for data analysis. Data Analysis refers to process of evaluating big data
sets using analytical and statistical tools so as to discover useful information
and conclusions to support business decision making. While working with
Pandas, it is required to import Pandas and NumPy both by writing
: import pandas as pd import NumPy as np
Pandas is best at handling huge tabular data sets comprising different data
formats.
Pandas provide two data structures for storing data:
a) Series
•Data visualization
Data visualization “A picture is worth a thousand words”. Most of us are familiar
with this expression. Data visualization plays an essential role in the
representation of both small and large-scale data.
It especially applies when trying to explain the analysis of increasingly large
datasets. Data visualization is the discipline of trying to expose the data to
understand it by placing it in a visual context. Its main goal is to distil large
datasets Into visual graphics to allow for easy understanding of complex
relationships within the data. Several data visualization libraries are available in
Python, namely Matplotlib, Seaborn, and Folium etc.
Purpose of Data visualization
•Better analysis
•Quick action
•Identifying patterns
•Finding errors
•Understanding the story
•Exploring business insights
•Grasping the Latest Trends
•What is matplotlib. pyplot?
Matplotlib is the whole python package/ library used to create 2D graphs
and plots by using python scripts. pyplot is a module in matplotlib, which
supports a very wide variety of graphs and plots namely - histogram, bar
charts, power spectra, error charts etc. It is used along with NumPy to
provide an environment for Mat Lab.
Pyplot provides the state-machine interface to the plotting library in
matplotlib. It
means that figures and axes are implicitly and automatically created to
achieve the desired plot. For example, calling plot from pyplot will
automatically create the necessary figure and axes to achieve the desired
plot. Setting a title will then automatically set that title to the current
axes object. The pyplot interface is generally preferred for non-
6
5
4
3
Series 1
2
Series 2
1 Series 3
0
interactive plotting (i.e., scripting).
Category 4
Category 3
Series 3
Series 2
Category 2
Series 1
Category 1
0 2 4 6
import pandas as pd
import numpy as np
import matplotlib. pyplot as plt
def menu ():
print (">>>>>>>>>>>>>>>>> ....................... <<<<<<<<<<<<<<<<<<<<<<")
print (">>>>>>>>>>>>>>>>>HOTEL MANAGEMENT REPORT<<<<<<<<<<<<<<<<<<<<<<")
print (">>>>>>>>>>>>>>>>> ....................... <<<<<<<<<<<<<<<<<<<<<<")
print ("1. Show all customers detail") print ("2. Add new customer detail
print("15. Maximum cost of Game") print("16. Minimum cost of Game")
print("17. Line Plot of game")
print("18. line1 Plot of
customers") print("19. Bar Plot of
file laundry") print("20. Barh Plot
of Roomtype")
print(">>>>>>>>>>>>>>>>>> ........................ <<<<<<<<<<<<<<<<<<<<<")
menu()
def read customers():
print("Reading File Customer") print() print()
df=pd.read_csv("C:\\Users\\Public\\
customers.csv",indexical=1) print(df)
def new_Customer_details ():
print ('Adding new customers in file customer')
df=pd.read_csv("C:\\Users\\Public\\
customers.csv",index_col=0) print(df) a=input("enter
customer name:-") b=input("enter customer address:-")
c=input("enter mobile no.:-") d=input("enter Check in date:-")
e=input("enter check out date:-")
f=input("enter no. of day:-")
df.loc[a]=[b,c,d,e,f]
print(df)
def new_cust():
print("new customer detail using loction") print()
df=pd.read_csv("C:\\Users\\Public\\customers.csv")
df.loc[4,:]=['Rahul','57,ahmedabad',75566748,'23-6-2023','27-6-
2023',4]
print(df)
def sort_customer():
print('SORTING CUSTOMERS NAMES AND DETAILS')
df=pd.read_csv("C:\\Users\\Public\\
customers.csv",index_col=0) df=df.sort_values('Stay')
print(df)
def show_Room_type():
print("SHOW TYPES OF ROOMS AVAILABLE")
df=pd.read_csv("C:\\Users\\Public\\
roomtype.csv",index_col=0) print("without index") print()
print(df)
def room_rent():
print("ROOM AMEMITIES INcLUDE : ! DOUBLE BED, TV, TELEPHONE, Double door cuboard , one
coffee table with 2 sofa, balcony and attach washroom with hot/cold
water") print(" WE HAVE THE FOLLOWING ROOMS FOR YOU:-") print("1.
SINGLE ROOM Rs. 3000")
print()
print("2. DOUBLE ROOM Rs. 4500")
print() print("3. TRIPLE ROOM
Rs. 5000")
print() print("4. KING SIZE ROOM
Rs. 6300")
print()
Room_type=input("YOUR Room type") x=int(input("Enter Your
choice of Room:-")) n=int(input("For HOW MANY NIGHTS DID
YOU WANT TO STAY:-"))
if (x==1):
print("YOU HAVE CHOOSE SINGLE ROOM")
t=3000*n
elif (x==2):
print("YOU HAVE CHOOSE DOUBLE
ROOM") t=4500*n
elif (x==3):
print("YOU HAVE CHOOSE TRIPLE ROOM")
t=5000*n
elif (x==4):
print("YOU HAVE CHOOSE KING SIZE
ROOM") t=6300*n
else:
print("INVALID OPTION")
print("PLEASE CHOOSE A ROOM")
print ("YOUR ROOM RENT IS=",t,"\n")
def room_inc(): print("PREVIOUS
ROOM of RENT")
print() df=pd.read_csv("C:\\Users\\Public\\
roomtype.csv") print(df) print() print('INCREASE
RENT BY Rs. 500') print() df['Rent']+=500
print(df)
def laundry():
df=pd.read_csv("C:\\Users\\Public\\
Laundry.csv",index_col=0) print('Laundry Items charges
without index') print() print(df)
def add_laundry():
print("ADDING NEW ITEM TO BE WASHED IN FILE LAUNDRY")
print() df=pd.read_csv("C:\\Users\\Public\\
Laundry.csv") df.loc[7,:]=['7','jacket','340']
print(df)
def Lbill():
print("WE CHANGE THE FOLLOWING RATE FOR LAUNDRY:-")
print("1. Shirt Rs 35 1 piece")
print("2. Trouser Rs 74 1
piece") print("3. ladies suit Rs.
560 1 set") print("4. Saree Rs.
850 1 piece") print("5. Pants
Rs. 240")
print("6. Hoodie Rs. 750") x=int(input("Enter Your
Choice Of Cloth Please:>")) n=int(input("How many
piece or set do you want:>")) if(x==1):
print("You want to get Shirt
washed") l=35*n elif(x==2):
print("You want to get Trouser
washed") l=74*n elif(x==3):
print("You want to get Ladies Suit washed")
l=560*n
elif(x==4):
print("You want to get Saree washed")
l=850*n
elif(x==5):
print("You want to get Pants washed")
l=240*n
elif(x==6):
print("You want to get Hoodie washed")
l=750*n
else:
rint("Please choose a piece of cloth") print("Your
Laundry Charges are Rs.=",l,"\n") def delete_col():
print('Delete column address from customer')
print() df=pd.read_csv("C:\\Users\\Public\\
customers.csv") print(df) print() print() del
df['Address'] print(df)
def add_game():
print('Adding New Game in file game') print()
df=pd.read_csv("C:\\Users\\Public\\
games.csv") print(df) print() print("show new
Games List") df.loc[5,:]=['6','Swimming',100]
print(df)
def show_game():
print("All Games available") print()
df=pd.read_csv("C:\\Users\\Public\\
games.csv") print(df)
def gamebill():
print(">>>>>>>>>>>>>>>>>GAMES
MENU<<<<<<<<<<<<<<<<<<<<<") df=pd.read_csv("C:\\Users\\
Public\\games.csv") print(df) =int(input("Enter your choice of
game :")) if (g==1): h=int(input("No. of Hours:")) a=570*h
elif (g==2): h=int(input("No.
of Hours:")) a=460*h
elif (g==3): h=int(input("No.
of Hours:")) a=540*h
elif (g==4):
h=int(input("No. of Hours:"))
a=340*h
elif (g==5): h=int(input("No.
of Hours:")) a=430*h
else:
print("Please choose your fav games")
print("total game bill=Rs",a,"\n")
def maxchargegame():
df=pd.read_csv("C:\\Users\\Public\\
games.csv") print(df) print() print("maximum
cost game is") print(df.Charges.max()
def minchargegame():
df=pd.read_csv("C:\\Users\\Public\\
games.csv") print(df) print() print("minimum
cost game is") print(df.Charges.min())
def line_plot(): print('LINE PLOT') df=pd.read_csv("C:\\Users\\
Public\\customers.csv") print(df) x1=df['Name'] y1=df['Stay']
plt.xlabel('NAME OF THE CUSTOMERS') plt.ylabel('NO. OF DAYS
THEY STAY')
plt.plot(x1,y1,color='b',linewidth=5,marker='o',markerfacecolor
='r') plt.title("CUSTOMERS NAME AND THE NO. OF DAYS THEY
STAY")
plt.show()
def line1_plot(): print('LINE1 PLOT')
df=pd.read_csv("C:\\Users\\Public\\
Restaurant.csv") print(df)
plt.plot(df['Items'],df['Rate'],marker='*',color="cya
n") plt.title("ITEMS AND THEIR RATE")
plt.xlabel("Items") plt.ylabel("Rate")
plt.xticks(rotation=90) plt.legend() plt.grid(True)
plt.show()
def bar_plot(): print("BAR PLOT")
df=pd.read_csv("C:\\Users\\Public\\
Laundry.csv") print(df) x=df['Item name']
y=df['Rate'] plt.title("CLOTH AND THEIR RATE")
plt.xlabel("Items name") plt.ylabel("Rate")
plt.bar(x,y,color=['b','k'],edgecolor='r',width=0.
4) plt.show()
def barh_plot(): print("BARH PLOT") df=pd.read_csv("C:\\Users\\Public\\roomtype.csv") print(df)
x=df['Type'] y=df['Rent'] plt.title("ROOMS TYPES AND THEIR Rent") plt.xlabel("TYPES OF ROOMS")
plt.ylabel("RENt")
plt.barh(x,y,color=['b','r','pink','purple'],edgecolor='r')
plt.show()
opt="" opt=int(input("Enter Your Choice :- ")) if opt==1: read_customers() elif opt==2:
new_Customer_details() elif opt==3:
new_cust()
elif opt==4:
sort_customer()
elif opt==5:
show_Room_type()
elif opt==6:
room_rent()
elif opt==7:
room_inc() elif
opt==8:
laundry()
elif opt==9:
add_laundry()
elif opt==10:
Lbill()
elif opt==11:
delete_col() elif
opt==12:
add_game() elif
opt==13:
show_game()
elif opt==14:
gamebill() elif
opt==15:
maxchargegame()
elif opt==16:
minchargegame(
Advantages
• Save time in admin task
• Develop strong relationship with your
guest
• Increase your online visibility
• Manage distribution function
• Increase bookings
• Prevent double bookings and manual
errors
Disadvantages
• Reduce conection between staffs and
guest
• Rely to internet conection for cloud
based software
• High risk of cyber crimessss
The conclusion of this project is A RAILWAY MANAGEMENT
SYSYTEM is a computerized management system. This system
keeps the records of hardware assets besides software of this
organization.
The proposed system will keep a track of Workers, Recidents,
Accounts and generation of report regarding the present status.
This project has GUI based software that will help in storing,
updating and retrieving the information through various
userfriendly menu-driven modules.The project “RAILWAY
MANAGEMENT SYSYTEM” is aimed to develop to maintain the
day-to-day state of admission/Vacation of Residents, List of
Workers , payment details etc. Main objective of this project is to
provide solution for hotel to manage most there work using
computerized process. This software application will help admin
to handle customers information, room allocation details,
payment details, billing information.etc. Detailed explanation
about modules and design are provided in project documentation.
The existing system is a manually maintained system. All the
Hotel records are to be maintained for the details of each
customers, Fee details, Room Allocation , Attendance etc. All
these details are entered and retrieved manually,because of this
there are many disadvantages like Time Consuming ,updating
process, inaccuracy of data.For avoiding this we introduced or
proposed a new system in proposed system the computerized
version of the existing system. provides easy and quick access
over the data.
Sign: