Professional Documents
Culture Documents
SAMBALPUR
AISSCE
ACADEMIC YEAR: 2023-24
PROJECT REPORT ON
RAILWAY RESERVATION SYSTEM
ROLL NO :
NAME :
CLASS : XII
SUBJECT : COMPUTER SCIENCE
SUB CODE : 083
CERTIFICATE
RESERVATION SYSTEM in the subject Computer Science (083) laid down in the regulations of CBSE
for the purpose of Practical Examination in Class XII to be held in Indian Public School,
Sambalpur on______________.
Signature:
Date
INDEX
1.Certificate
2.Acknowledgements
3.Declaration
4.Aim
6.Requirements
7.Bibliography
ACKNOWLEDGEMENT
Actually, the list can go on and on. This defines the power of
Python as a programming language. Hence it becomes very
important to learn how to write to a file using python and then
read from the same file.
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.
Hence when are you about to handle such situations, the role of
files will come into the picture.
Python too supports file handling and allows users to handle files
i.e., to read and write files, along with many other file handling
options, to operate on files. The concept of file handling has
stretched over various other languages, but the implementation is
either complicated or lengthy, but alike other concepts of Python,
this concept here is also easy and short. Python treats file
differently as text or binary and this is important. Each line of
code includes a sequence of characters and they form text file.
Each line of a file is terminated with a special character, called
the EOL or End of Line characters like comma {,} or newline
character. It ends the current line and tells the interpreter a new
one has begun. Let’s start with Reading and Writing files.
“ r “, for reading.
“ w “, for writing.
“ a “, for appending.
“ r+ “, for both reading and writing
One must keep in mind that the mode argument is not mandatory.
If not passed, then Python will assume it to be “ r ” by default.
There are also various other functions that help to manipulate the
files and its contents. One can explore various other functions in
Python Docs.
ABOUT MODULES
We can define our most used functions in a module and import it,
instead of copying their definitions into different programs.
We can import the definitions inside a module to another module
or the interactive interpreter in Python.
We use the import keyword to do this.
1. Division of development
2. Increases readability of program
3. Programming errors can easily be detected
4. Allows reuse of code
5. Improves manageability
6. Collaboration in projects made efficient and easy.
ABOUT INDIAN RAILWAY
Due to the huge magnitude of the spread of IR, the system cannot
sustain without computers, which have programs built for its
smooth functioning. This project deals with the Indian Railways
and presents a system to digitize the system.
CODING
MODULES USED
MAIN CODE USED
REQUIREMENTS
BIBILIOGRAPHY
# return
print(railsmenu())
31