You are on page 1of 17

RAILWAY RESERVATION SYSTEM

Submitted in the partial fulfillment of the Degree of a!helor of Te!hnolog" #Integrated$M A% In &omputer S!ien!e and Engineering S' MITTED Y($ Name *+AMES, Regd/ NO$01210203 Rollno R453A14 )'IDED Y( Mi-- Su.hdilpreet +aur

S' MITTED TO
Department of &omputer S!ien!e and Engineering Lo6el" 7rofe--ional 'ni6er-it" 7hag8ara

ACKNOWLEDGEMENT
I ta.e thi- opportunit" to pre-ent m" 6ote- of than.- to all tho-e guidepo-t 8ho reall" a!ted a- lightening pillar- to enlighten our 8a" throughout thi- pro9e!t that ha- led to -u!!e--ful and -ati-fa!tor" !ompletion of thi- -tud"/ We are reall" grateful to our ,OD Mr/ Rohit Dhand for pro6iding u8ith an opportunit" to underta.e thi- pro9e!t in thi- uni6er-it" and pro6iding u- 8ith all the fa!ilitie-/ We are highl" than.ful to Mi-Su.hdilpreet +aur for her a!ti6e -upport: 6aluable time and ad6i!e: 8hole$hearted guidan!e: -in!ere !ooperation and pain-$ta.ing in6ol6ement during the -tud" and in !ompleting the a--ignment of preparing the -aid pro9e!t 8ithin the time -tipulated/ La-tl": We are than.ful to all tho-e: parti!ularl" the 6ariou- friend- : 8ho ha6e been in-trumental in !reating proper: health" and !ondu!ti6e en6ironment and in!luding ne8 and fre-h inno6ati6e idea- for u- during the pro9e!t: their help: it 8ould ha6e been e;tremel" diffi!ult for u- to prepare the pro9e!t in a time bound frame8or./

Name *+AMES, S,ARMA Regd/No$01210203: Rollno/R453A14

TABLE OF CONTENTS
0/ 4/ Introdu!tion 7ropo-ed -"-tem i/ De-!ription ii/ S"-tem re<uirement=/ Re<uirement Anal"-i5/ S"-tem De-ign >/ Sour!e !ode 3/ Te-ting ?/ @uture -!ope of pro9e!t

INTRODUCTION
In the e;i-ting -"-tem: mo-t of the re!ord- are maintained on paper/ It be!ome- 6er" in!on6enient to modif" the data/ In the e;i-ting -"-tem: here i- a po--ibilit" that the -ame data in different regi-ter- ma" ha6e different 6alue- 8hi!h mean- the entrie- of the -ame data do not mat!h/ Thiin!on-i-tent -tate doe- not -uppl" the !on!rete information 8hi!h po-e- a problem in the !a-e information related to parti!ular -ear!h re!ord/ Our pro9e!t i- 6er" u-eful/ '-er i- no longer re<uired to !he!. hi- regi-ter in -ear!h of re!ord-: a- no8 it !an be -ear!hed o6er the -oft8are b" !hoo-ing -ome option-/ The u-er need not to t"pe in mo-t of the information/ ,eA-he i- 9u-t re<uired to enter the de-ired option-/ On the 8hole it liberate- the u-er from .eeping length" manual re!ord-/ In a nut-hell: it abate- the 8or. load of an organiBation/ In toda"C- 8orld: no one li.e- to perform !al!ulation- on !al!ulator or manuall" 8hen !omputer i- there/ E6er" one 8ant- hi-Aher 8or. to be done b" !omputer automati!all" and di-pla"ing the re-ult for further manipulation-/

PROPOSED SYSTEM

The follo8ing do!umentation i- a pro9e!t the DRAILWAY RESERVATION SYSTEME/ It i- a detailed -ummar" of all the dra8ba!.- of the old -"-tem and ho8 the ne8 propo-ed -"-tem o6er!ome- the-e -hort!oming-/ The ne8 -"-tem ta.e- into a!!ount the 6ariou- fa!tor- 8hile de-igning a ne8 -"-tem/ It .eep- into the a!!ount the E!onomi!al band8idth a6ailable for the ne8 -"-tem/ The foremo-t thing that i- ta.en !are of i- the Need and Re<uirement- of the '-er/

DESCRIPTION
efore de6eloping -oft8are 8e .eep follo8ing thing- in mind that 8e !an de6elop po8erful and <ualit" -oft8are 7RO LEM STATEMENT o 7roblem -tatement 8a- to de-ign a module( o Whi!h i- u-er friendl" o Whi!h 8ill re-tri!t the u-er from a!!e--ing other u-erC- data/ o Whi!h 8ill help u-er in 6ie8ing hi- data and pri6ilege-/ o Whi!h 8ill help the admini-trator to handle all the !hange-/

@'N&TIONS TO E 7ROVIDED(
The -"-tem 8ill be u-er friendl" and !ompletel" menu dri6en -o that the u-er- -hall ha6e no problem in u-ing all option-/ o The -"-tem 8ill be effi!ient and fa-t in re-pon-e/ o The -"-tem 8ill be !u-tomiBed a!!ording to need-/ FFWrite a!!ording to "ou pro9e!t o #Vie8 o Add o Delete o Modif"%

SYSTEM REQUIRMENTS
Operating -"-tem( MS Windo8- G7 or Windo8- Vi-ta Language( & Language 7ro!e--or( 7entium IV 7ro!e--or RAM( >04 M ,ard di-.( > )

REQUIREMENT ANALYSIS
Thi- pro!e-- i- adopted 8hen management of the -"-tem de6elopment: 7er-onnel de!ide that the parti!ular -"-tem need- impro6ement/ The -"-tem de6elopment life !"!le i- the -et of a!ti6itie-: !arried out b" the anal"-t: de-igner- and u-er- to de6elop and implement a -"-tem/ The -"-tem- that are pre-ent in the nature follo8 !ommon life !"!le pattern/ @or e;ample !on-ider the raining -"-tem/ Initiall" the rain fall- into the ri6er: ri6er flo8into -ea: the -ea 8ater e6aporate- to form 6apor-: the 6apor- form !loud8hi!h again bring rain/ Similarl" !on-ider a man made -"-tem initiall" a -"-tem i- anal"Bed: de-igned and made operational b" the effort- of -"-tem anal"-i-/ After -u!!e--ful operation or a number of u-er-: the -"-tem be!ome- le-- and le-- effe!ti6e b" !hange in the en6ironment/ So the-e !hange- ha6e to be in!orporated in to the -"-tem b" minor modifi!ation-/ So the general a!ti6itie- from the life !"!le of the -"-tem are gi6en belo8( Sele!t ion and identifi!ation of the -"-tem to be -tudied 7reliminar" -tud" Defining the -"-tem De-ign and de6elopment of the -"-tem Implementation of the -"-tem

SYSTEM DESIGN
Then 8e began 8ith the de-ign pha-e of the -"-tem/ S"-tem de-ign i- a -olution: a D,OW TOE approa!h to the !reation of a ne8 -"-tem/ It tran-late- -"-tem re<uirement- into 8a"- b" 8hi!h the" !an be made operational/ It i- a tran-lational from a u-er oriented do!ument to a do!ument oriented programmer-/ @or that: it pro6ide- the under-tanding and pro!edural detail- ne!e--ar" for the implementation/ ,ere 8e u-e @lo8!hart to -upplement the 8or.ing of the ne8 -"-tem/ The -"-tem thu- made -hould be reliable: durable and abo6e all -hould ha6e lea-t po--ible maintenan!e !o-t-/ It -hould o6er!ome all the dra8ba!.- of the Old e;i-ting -"-tem and mo-t important of all meet the u-er re<uirement-/
START

WEL&OME TO RAILWAY RESERVATION SYSTEM

Enter "our

!hoi!e H

0/VIEW ALL TRAIN

RESERVE A SEAT

&AN&EL A SEAT

EGIT

Do "ou 8ant to !ontinueH NO

STO7

SOURCE CODE
Iin!lude J-tdio/hK Iin!lude J!onio/hK Iin!ludeJ-tring/hK -tru!t air L !har nameM41NO int phnoO !har addre--M>1NO int ti!.etnoO P-O 6oid 6ie8#%O 6oid re-er6e#%O 6oid !an!el#%O 6oid form#%O 6oid menu#% L int !hO !lr-!r#%O printf#QRtRAILWAY RESERVATION SYSTEMQ%O printf#QRnRn0/VIEW ALL TRAINSQ%O printf#QRnRn4/RESERVE A TI&+ETQ%O printf#QRnRn=/&AN&EL A TI&+ETQ%O printf#QRnRn5/e;it Q%O printf#QRnEnter "our !hoi!e#0:4:=or5%Q%O -!anf#QSdQ:T!h%O -8it!h#!h% L !a-e 0( 6ie8#%O get!h#%O menu#%O brea.O !a-e 4( re-er6e#%O get!h#%O menu#%O brea.O !a-e =( !an!el#%O get!h#%O menu#%O brea.O

!a-e 5(e;it#%O brea.O default(printf#QRnenter a 6alid !hoi!eQ%O PP 6oid 6ie8#% L !lr-!r#%O printf#Q&ODE RO'TE TIMIN)S printf#QRn0140 Delhi to Mumbai 13(=1 printf#QRn0145 Delhi to .ol.ata 04(11 printf#QRn01U2 Delhi to Amrit-ar 05(=1 printf#QRn0U2? Delhi to anglore 02(11 printf#QRn0>?3 Delhi to !hennai 41(11 get!h#%O P

Q%O Q%O Q%O Q%O Q%O Q%O

6oid form#% L printf#QRnEnter the nameQ%O -!anf#QS-Q:T-/name%O printf#QRnEnter the phone numberQ%O -!anf#QSdQ:T-/phno%O printf#QRn Enter the addre--Q%O -!anf#QS-Q:T-/addre--%O printf#QRnREnter the -eat noQ%O -!anf#QSdQ:T-/ti!.etno%O printf#QYour ti!.et i- !onfirmedQ%O get!h#%O P 6oid re-er6e#% L int !ode:totalV-eat-W011:re-er6edW1:!la--O !lr-!r#%O if#re-er6edJtotalV-eat-% L re-er6edXXO printf#QEnter the train !odeQ%O -!anf#QSdQ:T!ode%O if#!odeWW0140YY!odeWW0145YY!odeWW01U2YY!odeWW0U2?YY!odeWW0>?3% L !lr-!r#%O printf#QRn 0/fir-t !la--#fare R-0>11 %Q%O

printf#QRn 4/-e!ond !la--#fare R-211%Q%O printf#QRn =/-leeper !la--#fare R->11%Q%O -!anf#QSdQ:T!la--%O if#!la--WW0% L!lr-!r#%O printf#QYour fare i- R-/0>11Q%O form#%O menu#%O P el-e if#!la--WW4% L!lr-!r#%O printf#QRnYour fare i- R-/211Q%O form#%O menu#%O P el-e if#!la--WW=% L!lr-!r#%O printf#QRn Your fare i- R-/>11Q%O form#%O menu#%O P el-e L !lr-!r#%O printf#QEnter 6ali !hoi!e#0:4or =%Q%O menu#%O P get!h#%O P el-e printf#QWARNIN)ZYO' ,AVE ENTERED T,E WRON) &ODEQ%O P P 6oid !an!el#% Lint ti!.etO !har !hO !lr-!r#%O printf#Qenter the ti!.et noQ%O -!anf#QSdQ:Tti!.et%O

if#ti!.etWW-/ti!.etno% L printf#Q"our ti!.et i- !an!elledQ%O get!h#%O P el-e Lprintf#Qti!.et no i- in6alidQ%O get!h#%O menu#%O PP 6oid main#% L !lr-!r#%O printf#QRn WEL&OME TO RAILWAY RESERVATION SYSTEMQ%O get!h#%O menu#%O Png of "our pro9e!t

TESTING
Te-ting i- the ma9or !ontrol mea-ure u-ed during -oft8are de6elopment/ Itba-i! fun!tion i- to dete!t error- in the -oft8are/ During re<uirement anal"-i- and de-ign: the output i- a do!ument that i- u-uall" te;tual and no e;e!utable/ After the !oding pha-e: !omputer program- are a6ailable that !an be e;e!uted for te-ting purpo-e/ Thi- implie- that te-ting not onl": ha- to un!o6er error- introdu!ed during !oding: but al-o error- introdu!ed during pre6iou- pha-e/ Thu- the goal of te-ting i- to un!o6er the re<uirement-: de-ign and !oding error- in the program-/ So after te-ting the output- of m" pro9e!t are a- follo8-( WEL&OME TO T,E RAILWAY RESERVATION SYSTEM RAILWAY RESERVATION SYSTEM 0/VIEW ALL TRAINS 4/RESERVE A TI&+ET =/&AN&EL A TI&+ET 5/EGIT ENTER YO'R &,OI&E#0:4:=OR5%0

&ODE TIMIN)S 0140 13(=1 0145 04(11 01U2 05(=1 0U2? 02(11 0>?3 41(11

RO'TE DEL,I TO M'M AI DEL,I TO +OL+ATA DEL,I TO AMRITSAR DEL,I TO AN)LORE DEL,I TO &,ENNAI

RAILWAY RESERVATION SYSTEM 0/VIEW ALL TRAINS 4/RESERVE A TI&+ET =/&AN&EL A TI&+ET 5/EGIT ENTER YO'R &,OI&E#0:4:=OR5%4 ENTER T,E TRAIN &ODE0U2? 0/@IRST &LASS #@ARE RS0>11% 4/SE&OND &LASS #@ARE RS 211% =/SLEE7ER &LASS#@ARE RS >11%0 YO'R @ARE IS RS/0>11/ ENTER T,E NAME ENTER T,E 7,ONE N'M ER ENTER T,E ADDRESS ENTER T,E SEAT NO/ YO'R TI&+ET IS &ON@IRMED/ +AMES, U222U05?=? L/7/'/ 4=

RAILWAY RESERVATION SYSTEM 0/VIEW ALL TRAINS 4/RESERVE A TI&+ET =/&AN&EL A TI&+ET 5/EGIT ENTER YO'R &,OI&E#0:4:=OR5%= ENTER T,E TI&+ET NO/ 4= YO'R TI&+RT IS &AN&ELLED/

RAILWAY RESERVATION SYSTEM 0/VIEW ALL TRAINS 4/RESERVE A TI&+ET =/&AN&EL A TI&+ET 5/EGIT ENTER YO'R &,OI&E#0:4:=OR5% 5

FUTURE SCOPE OF THE PROJECT


Our pro9e!t 8ill be able to implement in future after ma.ing -ome !hangeand modifi!ation- a- 8e ma.e our pro9e!t at a 6er" lo8 le6el/ So the modifi!ation- that !an be done in our pro9e!t are( FF 8rite do8n the modifi!ation- that !an be made in "our pro9e!t With the help of thi- pro9e!t 8e are not able to !al!ulate number of re-er6ed and unre-er6ed -eat-/-o 8e ha6e to ma.e a pro9e!t to !al!ulate number- of -eat-/

You might also like