Вы находитесь на странице: 1из 16

Table Name : Train.

Description: Used to store train information.


Column Name

Data Type

Size

Attributes

TNO

Number

TNAME
SOURCE
DESTN
DEPT
ARRT
DAYS_OF_DEPT
STATUS

Char
Char
Char
Varchar2
Varchar2
Varchar2
Char

15
15
15
8
8
10
12

Primary
Key,references
Halts table.
Not Null

Table Name : Halts.


Description: Used to store trains halts information.
Column Name

Data Type

Size

Attributes

TNO

Number

Primary Key

H1

Char

12

H2
H3
H4
H5
H6
H7
H8
H9
H10
H11
H12

Char
Char
Char
Char
Char
Char
Char
Char
Char
Char
Char

12
12
12
12
12
12
12
12
12
12
12

Table Name : Station.


Description: Used to retrieve Station name information.
Column Name

Data Type

Size

Attributes

SNO

Number

Primary Key
,references
i_help

SNAME

Char

12

Table Name : I_help.


Description: Used to store immideate help information at particular
.

station.

Column Name

Data Type

Size

Attributes

SNO
HELPLINE
GRP_THANA
HOSPITAL
FIRBRIGADE

Number
Varchar2
Varchar2
Varchar2
Varchar2

5
11
15
15
15

Primary Key

Table Name : Fare .


Description: Used to store fare information according to train
status.

Column Name

Data Type

Size

Attributes

DIST
EXP_FAIR
SUPER_FAIR
PASS_FAIR
RAJ_FAIR
SAD_FAIR

Number
Number
Number
Number
Number
Number

6
6
6
6
6
6

Primary Key

Table Name : Time_table.


Description: Used to store train timing information at each station.
Column Name

Data Type

Size

Attributes

TNO

Number

SNO

Number

REFERENCES
R_BERTH
REFERENCES
R_BERTH

ARRT
DEPT
DAY_OF_DEPT

Varchar2
Varchar2
Varchar2

8
8
10

Table Name : Distance


Description: Used to store distance information between stations.
Column Name

Data Type

Size

SOURCE
DESTINATION
DIST

Char
Char
Number

15
15
6

Attributes

Foreign Key
references fare

Table Name : R_Berth.


Description: Used to store reserved berth of a train at each
particular station .

Column Name

Data Type

Size

Attributes

TNO
SNO
AC_1
AC_2
AC_3
SLEEPER NO

Number
Number
Number
Number
Number
Number

4
4
3
3
3
2

Primary Key
Primary Key

Foreign Key
references
sleeper table

Table Name : Sleeper.


Description: Used to store berth information of sleeper.
Column Name

Data Type

Size

Attributes

SL_NO
S1
S2
S3
S4
S5
S6
S7
S8
S9
S10

Number
Number
Number
Number
Number
Number
Number
Number
Number
Number
Number

2
3
3
3
3
3
3
3
3
3
3

Primary Key

Table Name : Login.


Description: Used to store login name & password information for
.

authority purpose.

Column Name

Data Type

Size

Attributes

LOGIN NAME
PASSWORD
STATUS

Varchar2
Varchar2
Char

12
12
2

Primary Key
Not Null

FUNCTIONAL DEPENDENCIES
Train Table
TNO

TNAME

SOURCE

DESTN

DEPT

ARRT

DAYS_OF_DEPT STATUS

Halts Table
TNO

H1

H2

H3

H4

H5

H6

H7

H8

H9

H10

H11

H12

Station Table
SNO

SNAME

I_Help Table
SNO

HELPLINE

GRP_THANA

HOSPITAL

FIRBRIGADE

Time_table.
TNO

ARRT

SNO

DEPT

DAYS_OF_DEPT

Distance Table
SOURCE

DESTINATION

DIST

Fare Table
DIST

EXP_FARE

SUPER_FARE

PASS_FARE

RAJ_FARE

AC_3

SL_NO

R_Berth
TNO

AC_1

SNO

AC_2

Sleeper Table
SL_NO S1

S2

S3

S4

S5

S6

S7

S8

S9

S10

2. Information System Planning:


2.1 Aim of System Organization:
To provide excellent and better services to the esteemed clients(passenger)
and to maintain well growing relationship with the clients. Also the organization aims
to quantify the number of clients.

2.2 Goal:
To provide excellent services to the clients.
To maintain a better working environment in the system .

2.3 Objective:
To provide an immediate response to the clients about their enquiry and needed
information & help.
To produce an excellent output for the clients with reliability & clarity.
To provide services to the clients within justified time limits.
To collect the references of others from the existing clients for further
enhancement.
To make an easy and comfortable working environment for employees.

2.4 Critical Success Area:


Following are the success area of the Firm.
The zeal and working ability of the employees in the existing system, since with
present system/software, they do not feel themselves frustrated or tired.
Employees of Railways Enquiry system enjoy their work with full co-operation
and responsibility.
They know the value of their work and importance of the customer.

The professional spirit of employees of the firm shows that if they would have a
better system then altogether they can perform better.

Acknowledgement
For us this project does not mean only a formality because as the time goes it
become the part of our life while working on this project, we met with the different
invaluable suggestions, experience and cooperation. We had a wonderful opportunity to
have these things in terms of our project. In addition, this opportunity made us feel the
actual professionalism required in the real world.
We are very thankful to our respected guide for this project Ms. Vandhan Tiwari
Mem. for his valuable, affectionate and enlightening guidance. His wonderful and
motivational teaching style also made us to accomplish this project perfectly.
We are also obliged to & thankful towards Lab In charge Ms. Ruchi Joshi Mem
who has provided each and every resource of Lab Facilities and motivate us for
complete the project work within deadline .
Finally, we are very much thankful to our friends, colleagues, and seniors who
supported us every time in a very positive manner, which provided us the best possible
way for the successful completion of project.
We are grateful to all of them.

From:
RAVINDRA CHOYAL
SHYAM PRAJAPT
MCA IV Semester
SGSITS, INDORE

1.

Introduction

Railways Enquiry System is an information System which is designed


as a generalized package for managing & providing the best possible
and useful information to the passengers about train, stations, time
scheduling, fare , berth information of a train by railways employer .

Objective of Project
The basic and ultimate objective of this project is to provide the
computerized Enquiry mechanism to the railways administrative &
their employer to provide accurate ,reliable and needed query
information to their passenger about trains ,stations and fare etc
information in easy, efficient , less effort and time duration .

Purpose
Unfortunately improvement in maintaining integrity and accuracy of
information in comparison to manual system.
Facility to update information as and when required.
Fast and time saving information through software with no duplicity
faults.

Features:
Following will be the functionality of the
project.
1.Searching Train Information->:
This functionality included the information of a trains source,
destination, days_of_dept, status and show the information of
arrival time And Dept time information of any train.
we are also get halts information of a particular train.

2.Timetable Information :->


This is also important functionality, in this arrival & departure
time at a particular station of any train can easily get.

3. Fare Information :->


In this we simply get fare information of a particular status train
from source, destination enquiry info.

4. Berth Information :->


This shows how many reserved berth & sleeper coach and sets are
available at certain station.

5. Stations Information :->


This gives the additional informations like what are the
immediately help available at any station in case some emergency
& accident .

Specification
a) Software specification :->
1.
2.

Front-end VB.NET.
Back-end - Oracle 9i.

b) Hardware specification :->


1.
2.
3.
4.

Any processor of Pentium or higher version.


RAM of memory 256 MB.
Hard-disk drive of memory 10 GB.
Os windows 98, 2000, XP or higher.

c) Performance specification :->


Efficiency & Response time of our project is quite impressive &
within a second project gives precise & accurate result and time
taken for executing an instruction is also very less.

Requirement Analysis:Requirement of the System :->


The requirement analysis of the project has done
according to the different modules of the project.
1) .Train information like train no., train name, source, destination,
arrival &
` departure time, day of departure and status and
also halts . information of
`
each train
2.) Stations Information like station no , station name, nearly
immediately
help
available at any station in case some
emergency & accident such as helpline no. ,GRP Thana , Hospital
information and fire brigade information etc.
3.) fare information according to status of a train and distance
information retrieve from source and destination distance. .
4). Berth information of a train at each station in which include the
how many AC & sleeper coach and corresponding seats are available.
5). Need the requirement of overall time scheduling of a train at each
station in information included arrival & departure time, day of
departure information of each train

General System Requirement:


After a detailed requirement analysis of the Railways Enquiry System ,
its the require the following feature (related to database system) are desired
to the system:
1). A central database will be required, which contain the complete information about
trains and stations.
2). There must be provision for adding, modifying data in the database in a user-friendly
manner.
3). Since information retrieval is the main activity, the retrieval must be done efficient
and fast retrieval techniques.
4). Design of the system interface should be user-friendly and understandable and also
an option of help should be present for the operator to use the software to be developed.
5). Functionality of the system like adding, modifying data in the database is securable
form means changes done by only authorized person
6).proper constraints must be attached with database.

DDL COMMANDS:1)CREATE TABLE TRAIN(TNO NUMBER(5) PRIMARY KEY,TNAME CHAR(12),SOURCE


CHAR(15),DESTN CHAR(15),ARRT VARCHAR(8), DEPT VARCHAR(8), DAY_OF_DEPT
VARCHAR(10),STATUS CHAR(12),CONSTRAINTS FK FOREIGN KEY(TNO) REFERENCES
HALTS(TNO));
Table created.
2)CREATE TABLE HALTS(TNO NUMBER(5) PRIMARY KEY,H1 CHAR(12), H2 CHAR(12),
H3 CHAR(12), H4 CHAR(12), H5 CHAR(12), H6 CHAR(12), H7 CHAR(12), H8
CHAR(12), H9 CHAR(12), H10 CHAR(12), H11 CHAR(12), H12 CHAR(12));
Table created.

3)CREATE TABLE STATION(SNO NUMBER(5) PRIMARY KEY, SNAME


CHAR(12),CONSTRAINTS FK1 FOREIGN KEY(SNO) REFERENCES I_HELP(SNO));
Table created.
4)CREATE TABLE I_HELP(SNO NUMBER(4) PRIMARY KEY,HELPLINE NUMBER(12),
GRP_THANA CHAR(12),HOSPITAL CHAR(12),FIREBRIGADE CHAR(12));
Table created.
5)CREATE TABLE TIME_TABLE(TNO NUMBER(5),SNO NUMBER(5),AC_1 NUMBER(3),
ARRT VARCHAR(8), DEPT VARCHAR(8), DAY_OF_DEPT (10),CONSTRAINT FK3
FORENGN KEY(TNO,SNO) REFERNCES R_BERTH(TNO,SNO));
Table created
6)CREATE TABLE DISTANCE(SOURCE CHAR(10),DESTINATION CHAR(12),DIST
NUMBER(5)REFERENCES DISTANCE);
Table created.
7)CREATE TABLE FARE(DIST NUMBER(5) PRIMARY KEY,EXP_FARE(6),SUP_FARE(6),
PASS_FARE(6), RAJ_FARE(6), SAD_FARE(6));

Table created.
8)CREATE TABLE R_BIRTH(TNO NUMBER(4),SNO NUMBER(4),AC_1 NUMBER(3),AC_2
NUMBER(3),AC_3 NUMBER(3),SLEEPER NUMBER(2)REFERENCES
SLEEP(SL_N0),PRIMARY KEY(TNO,SNO));
Table created.

9)CREATE TABLE SLEEP(SL_NO NUMBER(3) PRIMARY KEY,S1 NUMBER(2),S2


NUMBER(2),S3 NUMBER(2),S4 NUMBER(2),S5 NUMBER(2),S6 NUMBER(2),S7
NUMBER(2),S8 NUMBER(2),S9 NUMBER(2),S10 NUMBER(3));
Table created.

10)CREATE TABLE login(LOGIN_NAME VARCHAR2(12),PASSWORD


VARCHAR2(12),STATUS CHAR(2));
Table created.

Sheri G.S.I.T.S. College,


Indore
A Project Report
On
RAILWAYS
Solution for your business

ENQUIRY SYSTEM
Dissertation submitted towards the Partial fulfillment for
IV Semester Examination of
Master of Computer Applications
CTA DEPARTMENT

Guided By:
Ms. Vandan Tiwari
Choyal (AB-235)
Ms. Ruchi Joshi

Submitted By:
Ravindra

Shyam Lal Prajapt (AB-246)

Вам также может понравиться