Documente Academic
Documente Profesional
Documente Cultură
PROJECT REPORT
ON
Govt. Collage for Girls, Secter 14, Gurugram Class: M.Sc (Comp.Sci)
1
CERTIFICATE
2
DECLARATION
I hereby declare that the project work entitled “RALWAY RESIRVATION
SYSTEM” is an authenticated work carried out by me at Govt. Collage
for Girls, Secter-14 Gurugram for the partial fulfillment of the award of
the degree of M.Sc. (Computer Science).and this work has not been
submitted for similar purpose anywhere else.
3
ACKNOWLEDGEMENT
4
INDEX
1 Introduction 8
3 Feasibility study 20
4 System Analysis 24
5 System Design 38
6 Coding 43
7 System Testing 61
8 Implementation 66
9 Conclusion 70
11 Scope 74
12 Bibliography 76
5
6
CHAPTER – 1
INTRODUCTION:
PROJECT INTRODUCTION:
7
• Comply with contractual requirements.
PRODUCT FUNCTIONS:
TRAIN DETAILS:
RESERVATION:
After checking the number of seats available the customers reserve the
tickets.
BILLING:
After reserving the required amount of tickets, the customer paid the
amount.
CANCELLATION:
8
If the customers want to cancel the ticket, then half of the
amount paid by the customer will be refunded to him. For
Canceling Reservation OR Booking, it necessary that before 10days
from journey date passenger can cancel ticket. For Cancel Ticket take
the PNR No from the User/Passenger, check PNR No is valid or
not. If not valid then display appropriate message to user else display
the details of that PNR No and ask sure user want to cancel ticket if yes
then cancel the reservation of that PNR No.
• In case, the ticket has the both coach and berth number, it is
regarded as “confirmed”.
9
• Reservations made for sight-seeing trips or pilgrimages are
permissible in all classes with a condition that the journey starts and
ends at the same station
COUNTER BOOKING:
• To get the fare, click on “Get Fare button. The fare appearing is for a
single adult Passenger excluding the service charges charged by IRCTC
and by the Bank (Credit Card/Direct Debit).
• If you wish to select other train, click on “Select Other Train” button
10
OBJECTIVE
The main idea of developing this project is to simplify the work procedure
of customers and also for swift processing of their working operations.
Following are the few objectives of this system:
2. Provides very much user friendly input forms, on which most of the
work is done only at the clicks of the mouse.
11
INTRODUTION OF C++:
It is an object oriented language that object oriented programming
languages are playing and in seriously important role in the computing
industry important role another computing industry visit the gradual
decline in hardware costs the cost of computer system is largely
dominated by software more powerful tools operating system and
programming languages are evolving to keep up with the pace of
hardware development software for different applications need to be
developed under these environments which is a complex process as a
result the relative cost of software( both development and
maintenance) internet is increasing substantially when compared to the
cost of the hardware of the computing system the software
maintenance is the process of modifying or vending the capabilities of
the existing software it requires mastery over the understanding and
modifying the existing software and finally revalidating the modifying or
extending the capabilities of extending software
The software crisis right from the beginning is providing and impetus
for the development of software engineering principals’, tools and
better programming paradigms to build more reliable and reusable
system the state of the earth solution to overcome software crisis is the
object Oriented paradigm.
12
BEGNING WITH C++
Proposed System :
The proposed system is based on C++ language and would automate the
organization. Time saving and least efforts would be implied and maintain
accuracy.
13
Limitations of existing system:
High speed
Less time consuming
Less error
High security
14
SYSTEM
REQUIREMENT
SPECIFICATION
15
CHAPTER – 2
INTRODUCTION:
The system Requirements specification document forms the basic for the
design and development of the student data management. The purpose
of document is to be defined all the purpose involved in the function of
student data management.
Information description:
The development of this system assists in the maintenance of the
information and to fulfill the complete software of this package.
Functional description:
A processing narrative is provided for each function design constraints are
stated and justified, performances are stated and diagram is included.
16
SOFTWARE:
RAM : 256 MB
HARDWARE:
Hardware is a term given to machine itself and to various piece of
equipment. It refers to physical devices of a computer system, thus the
input, storage, processing and control and output devices are hardware
17
Tool(s)/Language(s) to be used:
Front End:
The Graphical Interface (Front End) of the application is prepared by
the usage of C++ Coding for the validation is provided through of the
use of C++.
Back End:
The back end of the application is maintained in Microsoft Access the
Information Source is Management Information System
18
FEASIBILITY
STUDY
19
CHAPTER – 3
FEASIBILITY STUDY
Details of findings.
20
Technical Feasibility:
21
Operational Feasibility:
This application is capable in handling the data of 5000 Customers. Now it
does not mean that after this limit this application will not work, it will
work in the same manner but with some slower speed.
Economical Feasibility:
This application is economical feasible because this does not require to
bring new operators in light. The application can be handled by persons
who even have not worked with system
22
SYSTEM
ANALYSIS
23
CHAPTER – 4
SYSTEM ANAIYSIS
Objective:
System analysis is conducted with the following objectives:
24
This system is basically concerned with the reservation and
cancellation of railway tickets to the passengers. The need of this
system arose because as is the known fact that India has the largest
rail way network in the whole of the world and to handle it
manually is quite a tough job. By computerizing it, we will be
able to overcome many of its limitations and will be able to make
it more efficient. The handling of data and records for such a vast
system is a very complex task if done manually but it can be made
much easier if the system is computerized. To be more specific,
our system is limited in such a way that a train starting from a
particular source will have a single destination. The basic
functions being performed by our system are reservation
and cancellation. These functions will be handled with the help
of following sub functions:
It reserves and cancels seats for the passenger.
FUNCTIONAL REQUIREMENTS:
25
PRODUCT FUNCTIONS:
TRAIN DETAILS:
Customers may view the train timing at a date their name and
number of tickets.
RESERVATION;
26
BILLING:
CANCELLATION:
If the customers want to cancel the ticket, then half of the amount
paid by the customer will be refunded to him.
Data flow diagrams (DFD) are commonly used in problem analysis. DFD
are quite general and are not limited to problem analysis for software
requirement specification. DFD are very useful in understanding a system
and can be effectively used for partitioning during analysis.DFD shows the
flow of data through a system. The system may be an organization, a
manual procedure, a software system or any combination of these. DFD
shows the movement of data through different transformation or process
in the system.
Label each arrow with proper data elements. Input and output of
each transforms should be carefully identified
Advantages of DFD:
of DFD
First they force analyst to communicate their understanding of a
system to end user.
28
Symbols used in DFD:
Data flow
Transform Process
Data store
29
E-R DI AGRAM
30
31
32
33
34
35
36
37
SYSTEM
DESIGN
38
CHAPTER – 5
SYSTEM DESIGN
Cost
Reliability
Accuracy
39
Security
Control
Integration
Expansibility
Availability
Acceptability
Input design:
The goal of designing input data is to make data entry as easy, logical
free from errors as possible. While entering data allocated space for
each field, sequence and the format in which the data is to be entered,
should be known to operator. Input forms are designed so as to
provide an interactive and to use input medium.
Output design:
40
retrieval of information. It is the most important source of information
to the user. It improves the system’s relationship with the user and
helped in decision-making. A major form of the output is a hard copy
from the printer.
41
Form Design:
It serves as a tool for asking data from the people and giving information
of the system.
For example: booking the ticket
Database Design:
It’s a collection of related fields that acts as a single centralized data bank
for various data processing applications. It is designed and built to serve a
specific purpose as needed by a group of users.
For example: Main Menu is
1. RESERVATION
2. CANCELLATION
3. DISPLAY STATUS
4. EXIT
42
CODING
43
CHAPTER – 6
CODING
The major activity of the project work is the writing and testing of the
computer programs, which we call the coding phase. The goal of coding or
programming phase is to translate the design of the system produced
during the design phase into code in a given programming language,
which can be executed by the computer, which performs the computation
specified by the design.
44
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
class Train
Public:
Number = i; seats_1 = j;
Return number;
45
{
Return b seats_1 ;}
Return seats_2;
Return seats_3;
};
Public:
46
bkd_1=bkd_2=bkd_3=0;
};
switch (type)
break;
break;
break;
47
void Reservation :: cancel(char type, int num)
switch(type)
case'1':bkd_1-=num;
break;
case'2':bkd_2-=num;
break;
default:cout<<"wrong class\n";
void Reservation::disp_status(void)
int val;
val=getseats_1();
cout<<"1\t"<<val<<"\t"<<bkd_1<<"\t"<<val-bkd_1<<"\n";
val=getseats_2();
48
cout<<"2\t"<<val<<"\t"<<bkd_2<<"\t"<<val-bkd_2<<"\n";
val=getseats_3();
cout<<"3\t"<<val<<"\t"<<bkd_3<<"\t"<<val-bkd_3<<"\n";
void main()
clrscr();
int num;
cin>>num;
int s1;
cin>>s1;
int s2;
cin>>s2;
49
int s3;
cin>>s3;
Reservation Tr(num,s1,s2,s3);
char cl_type;
int choice,seats;
do
cout<<"1.Reservation\n";
cout<<"2.Cancellation\n";
cout<<"3.Display Status\n";
cout<<"4.Exit\n";
cin>>choice;
cout<<"\n";
switch(choice)
50
cin>>cl_type;
cin>>seats;
cout<<"\n";
Tr.book(cl_type,seats);
break;
cin>>cl_type;
cin>>seats;
cout<<"\n";
Tr.cancel(cl_type,seats);
break;
case 3:Tr.disp_status();
break;
case 4:break;
}; //end of switch
51
}
while(choice>=1&&choice<=3);
getch();
52
53
54
55
56
57
58
59
SYSTEM
TESTING
60
CHAPTER - 7
SYSTEM TESTING
Levels of testing:
Unit Testing
Integration Testing
System Testing
Acceptance Testing
61
Client Testing Acceptance Needs
Unit Testing:
Code Unit Testing`
The first level of testing is called unit testing. In this, different modules are
tested against the specifications produced during design for the modules.
Unit testing is essential forFig:verification of the code produced during the
Levels of Testing
coding phase, and hence the goal is to test the internal logic of the
modules.
62
Integration Testing:
The next level of testing is often called the integration testing. In this,
many tested modules are combined into sub systems, which are then
tested. The goal is to see if the modules can be integrated properly, the
emphasis being on testing interfaces between modules. This testing
activity can be considered as testing design and hence the emphasis on
testing modules interactions.
System Testing:
Acceptance Testing:
Effective testing is a must for any software as it ensures an error free and
efficient system. The software for “Turbo C++” has been completely
tested by me with actual live data.
64
IMPLEMENTATION
65
CHAPTER – 8
IMPLEMENTATION
Back up strategy:
66
Responsibility:
Recovery:
67
CONCLUSION
68
CHAPTER – 9
CONCLUSION
The development of this system has been a great learning and satisfying
experience. It has been a learning experience as it has increased my
knowledge as well as my logical concepts of Visual Basic. It also has
helped me in developing my designing ability of crystal report. It is also
quite satisfying on my part, as I have tried my level best to develop and
design a system, which can be totally of practical use for discovery’s
encyclopedia.
69
LIMITATIONS
OF
PROPOSED
SYSTEM
70
CHAPTER – 10
Business interruptions.
71
SCOPE
72
CHAPTER – 11
SCOPE
73
BIBLIOGRAPHY
74
CHAPTER – 12
BIBLIOGRAPHY
75