project document.doc

Upload: mahi

Post on 07-Aug-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/20/2019 project document.doc

    1/51

    1

  • 8/20/2019 project document.doc

    2/51

    INDEX

    CONTENTS

    1 Objective…………………………………..… 51.1 Aim & Goal to be achieved…………………………... 5

    2 Scope………………………………………..... 6

    2.2 Backgroud………………………….... 6

    ! Aal"#i#……………………………………….. $

    !.1 %euiremet Aal"#i#…………………. $!.2 'coomic (ea#ibilit"…………………... $

    !.! Operatioal (ea#ibilit"……………...…. $

    !.) *echical (ea#ibilit"…………………… $

    ) *echolog" +#ed…………………………..….. ,

    ).1 .-et…………………………………….. ,

    ).2 Sl Server………………………………

    ).! Object Orieted /e#ig………………... 10

    5 Sotare & 3ardare %euiremet………... ….11

      5.1 Sotare %euiremet…………………. 11

    5.2 3ardare %euiremet………………… 11

    6 'tit" %elatio#hip /iagram………………….. 12

    $ /ata (lo /iagram……………………………. 1!

    $.1/etailed /(/……………………………. 1)

    , Gatt 4hart……………………………………. 15  ert 4hart……………………………………. .. 16

    10 odulari7atio……………………………….. 1$

    10.18ogi……………………………………..1$

    10.23otel %e#ervatio…………………………1,

    2

  • 8/20/2019 project document.doc

    3/51

    10.!*icket……………………………………...1,

    10.) 4acellatio……………………………….1

    10.)*ool#……………………………………….1

    10.5%eport……………………………………...111 /ata /ictioar"…………………………………..21

    12 *e#tig………………………………………..…..25

    12.1+it *e#tig………………………………..25

    12.2Black9Bo: *e#tig…………………………25

    12.!;hite9Bo: *e#tig…………………………26

    12.) Alpha *e#tig……………………………...26

    12.5Beta *e#tig……………………………......26

    1! 8imitatio o the roject……………………….....26

    !

  • 8/20/2019 project document.doc

    4/51

    ACKNOWLEDGEMENT

    I would like to thank my project guide Mr. Aditya Kumar

    who will be guiding me throughout the making of the proposal.

    I would also like to thank all my friends and Mr. Ravi who has

    helped me at any time when I needed them; and will continue

    to help me in future.

    )

  • 8/20/2019 project document.doc

    5/51

    OBJECTIVE

    *he mai objective o the propo#ed #"#tem< Bu# %e#ervatio S"#tem< i# to elimiate

    the maual re#ervatio #"#tem. akig the re#ervatio #"#tem= a#t= u#er riedl"

    avoid the uece##ar" dela" i re#ervatio. *he e #"#tem eed# to develop that ca

    hadle lot# o record# ad report# eicietl". Searchig iormatio about re#ervatio

    date etc. ill pre#et ol" o oe click.

    *he #"#tematic approach i ruig make# the #"#tem to ork more eicietl".

    >ariou# t"pe# o co#trait# ca be ell iteroperated to maitai the databa#eco#i#tec".

    A" report accordig to the reuiremet# ca get ea#il".

    %e#po#e time i# ver" le## comparative to maual #"#tem.

    AIM AND GOALS TO BE ACHIEVED• rovide Accurac"

    • %educe %edudac" o data

    • 4o#erve data #ael"

    • %educe time i tra#actio#.

    • *o provide compute ba#ed #"#tem to overcome #hortall# i curret maual

    #"#tem.

    • 4reatig a logi mechai#m or all #tudet# ad admii#trator= hich #hould be

     ba#ed o the role o the u#er i orgai7atio.

    • (acilitatig the admii#trator to vie the approved ? uapproved ? rejected

    reue#t li#t.

    • Add or delete the cu#tomer?bu# li#t.

    • +pdate the re#erver@# iormatio.

    • 4acellatio o the re#erved room or bu# #eat#.

    5

  • 8/20/2019 project document.doc

    6/51

    SCOPE OF THE PROJECT

    *he #cope o the thi# project i# ide i the comig recet "ear# becau#e the#e da"#

    ol" oe route bu# i# re#erved hich i# ruig betee /elhi & 8ahore. *he other

    log route bu#e# ad the touri#t bu#e# re#ervatio ma" be #tart alog ith the hotel

    room bookig. *he propo#ed #"#tem ca pla" a vital role ad it ca be olie a#%aila" or Airlie re#ervatio #"#tem i the comig time.

    BACKGROUND

    *he#e da"# Bu# %e#ervatio< i# doe b" the mauall" hich i# take a lot o time or

    oe re#ervatio becau#e the oicer #hould check the ure#erved #eat# mauall". *oko about

    the detail# o pa#t re#erved #eat# take# a lot o time. But ater implemetig thi#

    #"#tem all thi# ork ill be doe ol" o oe click. *oda" the *ime i# moe"< o

    oe ha# time to a#te i ueue to re#erve the ticket or bu# or the hotel bookig

    mail" at the time o childre #chool holida"#. %egi#ter#= pe#= #tore room# or etr"

    #tatioar" ill ot be eeded.

    6

  • 8/20/2019 project document.doc

    7/51

    ANALYSIS

    REQUIREMENT ANALYSIS

    A reuiremet i# a eature o that mu#t be icluded i the #"#tem. Beore the actual

    de#ig ad implemeted i# o prime importace.

    *he mai empha#i# #hould be o the output o the #"#tem the output e:pected rom

    the #"#tem the people ivolved i the orkig o the #"#tem the volume o data iput#

    ad the amout o iormatio output# that ill be ivolvedC.

    ;ith re#pect to the #"#tem it#el= the olloig act# #hould be take ito

    co#ideratio. *he major proce##e# ivolved the mai poit# o applicatio the proce##ig rule or the collected data the e:ceptio# that ma" be pre#et the check#

    that #hould be i place# i order to avoid rog etrie#

     Economic F!"i#i$i%&

    *he propo#ed project i# ecoomic ea#ible. *he e#timated co#t o the projectdevelopmet i# ,000.

    oitor co#t#D *rackig the co#t# o labour= good# ad overhead i# e##etial todetermie hether a irm i# perormig i lie ith e:pectatio#9 ithi budget.

    %educe co#t#D +#ig computig capabilit" to proce## data at a loer co#t tha po##ible

    ith other method#= hile maitaiig accurac" ad perormace level#.

    O'(!%ion!$ F!"i#i$i%&

    Operatioall" the project i# ea#ible. Et i# graphical u#er iterace. Ol" the .-et

    rameork i# eed or i#tallig the propo#ed project i the #"#tem. ;orkig o the

     project ill be ver" #imple. A o proe##ioal ca be ork eicietl" o the propo#ed project.

    Tc)nic!$ *!"i#i$i%&

    $

  • 8/20/2019 project document.doc

    8/51

    *echicall" the project i# ea#ible. Becau#e /ot -et techolog" i# u#ed i the project.

    *he /ot -et techolog" i# ull object9orieted. Et i# reliable techolog". *he /ot -et

    techolog" ork# a#ter tha the ormer techologie#.

    TECHNOLOGY USED

    + N%>i#ual Ba#ic /ot -et i# icro#ot@# late#t icaratio o the eormou#l" popular

    >i#ual Ba#ic laguage. >i#ual Ba#ic /ot -et i# o more capable tha ever= ad it#

    eature# ad uctioalit" are o par ith 3EG3'% 8'>'8 8A-G+AG'S< #uch a#

    4FF oe re#ult o thi# e oud poer i# added comple:it".

    ;ritig a applicatio u#ig the .-'* rameork mea# ritig code u#ig

    a" o the laguage# that #upport the (rameorkC u#ig the .-'* code librar". >S i# a poerul= itegrated developmet eviromet that #upport# 4= >B. *he advatage

    o thi# eviromet i# the ea#e ith hich .-'* eature# ca be itegrated ito "our

    code. *he code that "ou ill create ill be etirel" >B but ill u#e the .-'*

    (rameork throughout= ad make u#e o the additioal tool# i >S here ece##ar".

    E the .-'* he "ou compile code that u#e# the .-'* (rameork librar"= "ou

    do@t immediatel" create operatig #"#tem9#peciic ative code. E#tead= "ou compile

    "our code ito icro#ot Etermediate 8aguage SE8C code. *hi# code i#@t

    #peciic to a" operatig #"#tem ad i#@t #peciic to >B. Other .-'* laguage#9or

    e:ample= 4 .-'*9al#o compile to thi# laguage a# a ir#t #tage. *hi# compilatio #tep

    i# carried out b" >S he "ou u#e it to develop >B applicatio#.Obviou#l"= to e:ecute a applicatio more ork i# ece##ar". *hi# i# the job o

    a Hu#t9i9*ime HE*C compiler= hich compile# SE8 ito ative code that i# #peciic

    to the OS ad machie architecture beig targated. Ol" at thi# poit ca the OS

    e:ecute the applicatio. *he ju#t9i9time part o the ame here relect# the act that

    SE8 code i# ol" compiled a# ad he it i# eeded.

    E the pa#t= it a# ote ece##ar" to compile "our code ito #everal

    applicatio#= each o hich targeted a #peciic operatig #"#tem ad 4+ architecture.

    Ote= thi# a# a orm o optimi7atio but at time# it a# critical. *hi# i# o

    uece##ar"= becau#e HE* compiler# u#e SE8 code= hich i# idepedet o the

    machie= operatig #"#tem= ad 4+. Several HE* compiler# e:i#t= each targetig adieret architecture= ad the appropriate oe ill be u#ed to create the ative code

    reuired.

     

    ,

  • 8/20/2019 project document.doc

    9/51

    SQL SERVER 

     Sl #erver i# a multithread= multiu#er= SI8 databa#e maagemet #"#tem /BSC

    hich ha#= accordig to SI8 S'%>'%= more tha 10 millio i#tallatio#. *he

     ba#ic program ru# a# a #erver providig multiu#er acce## to a umber o

    databa#e#.

     SI8 S'%>'% i# oed ad #po#ored b" a #igle or proit irm= the

    Sedi#h compa" SI8 S'%>'%= hich hold# the cop"right to mo#t o the

    codeba#e. *hi# i# #imilar to the HBOSS model. Et i# di##imilar to the Apache

     project= here the #otare i# developed b" a public commuit"= ad the cop"rightto the 4odeba#e i# oed b" it# idividual author# SI8 S'%>'% i# popular or

    eb applicatio# ad act# a# the databa#e compoet o the 8A= A ad

    ;A platorm# ad or ope #ource bug trackig tool# like Bug7illa. Et#

     popularit" or u#e ith eb applicatio i# clo#el" tied to the popularit" o 3 =

    hich i# ote combied ith SI8 S'%>'%. SI8 S'%>'% are e##etial

    compoet# or ruig popular. 4otet aagemet S"#tem# #uch a# ;ordpre##

    ad /rupal bloggig platorm# ilkipedia ru# o edia iki #otare= hich ca

    al#o u#e hp ad a "#l databa#e.

    • atabases are an e!cient way to store large amounts of rawdata. "hey don#t process the data; that#s left to theapplication that uses the data.

    • atabases make sharing data easier than do other means$

    such as te%t &les$ spreadsheets$ or other documents. "heyalso allow secure data sharing and allow you to de&ne thelevels of user access. 'ou can limit what you let others do toyour database#s data.

    • Relational databases contain tables and &elds and provide

    ways of relating data in di(erent tables and ways of ensuringthat any data entered is valid and doesn#t corrupt thedatabase.

    • atabases are part of a larger software application called a

    database management system )*M+,.

  • 8/20/2019 project document.doc

    10/51

    • +- is a declarative programming language$ that is$ you use

    it to specify the answers you want and leave the *M+ towork out how to get them.

    OBJECT,ORIENTED DESIGN

    Object9orieted OOC approache# or #otare developmet have become

    e:tremel" popular i recet "ear#. uch o the e developmet i# o beig doe

    u#ig OO techiue# ad laguage#. *here are ma" advatage# that OO #"#tem#

    oer. A OO model clo#el" repre#et# the problem domai= hich make# it ea#ier to

     produce ad uder#tad de#ig#. A# reuiremet# chage= the object# i a #"#tem are

    le## immue to the#e chage#= thereb" permittig chage# more ea#il". Eheritace

    ad clo#e a##ociatio o object# i de#ig to problem domai etitie# ecourage more

    reu#e= that i#= e applicatio# ca u#e e:i#tig module# more eectivel"= thereb"

    reducig developmet co#t ad c"cle time. Object Jorieted approache# are believed

    to be more atural ad provide richer #tructure# or thikig ad ab#tractio. 4ommo

    de#ig patter# have al#o bee ucovered that allo reu#abilit" at a higher level.

    *he object# Jorieted de#ig approach i# udametall" dieret rom the

    uctio9orieted de#ig approache# primaril" due to the dieret ab#tractio that i#

    u#ed. Et reuire# a dieret a" o thikig ad partitioig. Et ca be #aid that

    thikig i object9 orieted term# i# mo#t importat or producig trul" object9

    orieted de#ig#.

    10

  • 8/20/2019 project document.doc

    11/51

    Our ocu# i# o hat i# called the module vie i architecture. *hat i#= the goal

    i# to ideti" the module# that the #"#tem #hould have= ad their iterace# ad

    relatio#hip#. E OO/= e are thereore ideti"ig the cla##e# that #hould e:i#t i the

    #otare ad the relatio#hip betee the#e cla##e#. /urig architecture de#ig= thecompoet ad coector vie i# t"picall" i:ed. A goal o de#ig i# to e#ure that the

    architecture i# pre#erved= ad the relatio#hip betee the compoet# ad module# i#

    clear.

     

    SOFTWARE AND HARDWARE REQUIREMENTS

    *ool# platorm ad hardare the applicatio i# meat to ork o ido# ba#ed

     platorm. *he variou# #otare ad hardare coiguratio or the applicatio are a#

    olloig.

    SOFTWARE REQUIREMENTSD

     *ool# platorm ad hardare the applicatio i# meat to ork o ido# ba#ed

     platorm. *he variou# #otare ad hardare coiguratio or the applicatio are a#

    olloig.

    OPERATING SYSTEM-E4%OSO(* ;E-/O;S K= >ES*A A-/ 8E-+K

    FRONT END-

    >ES+A8 BASE4 .-'*

    BACK END-S9SI8 S'%>'% 

    HARDWARE REQURIMENT-

    RAM-

    11

  • 8/20/2019 project document.doc

    12/51

    //%2 512B

    HARD DISK-

     )0GB

    PROCESSOR- 2.,G3L

     

    En%i%& R$!%ion")i' Di!.(!m

     

    12

      Bu#

    *icket

    a"met

      3otel

    8ogi

    4u#tomer 

    3av

    e

    a"#

    Serve#

    %e#erve

    Boo

     -eed#

    3ire

     -e

    ed

    E##ue

  • 8/20/2019 project document.doc

    13/51

    DATA FLOW DIAGRAM

    Lero 8evel /(/

    1!

    4u#tomer 4u#tomer  

    Bu#%e#ervatio

    S"#tem

     4 u# to me r 

     i  1 o r ma t io 

    4acellatio %eport

    % o o m i 1 o r ma t i o 

    * i c k e t 

    4acellatioo

       * i c k  e t i 

    g

  • 8/20/2019 project document.doc

    14/51

    DETAILED DFD

    1)

    %oom4u#tomer 

    Bu#Ma#ter 

    *icket4acellati

    9o

    roce##

    %oom

    Bookigroce##

    4u#tomer  Bu#%e#ervatio

    roce##

    /ail" Bu#

    %eportroce##

    %eportGeeratio

    roce##

    4u#tomer 

    Bu#

    %eport

  • 8/20/2019 project document.doc

    15/51

    GA-** 43A%*

    15

    /ail"

    a##eger 

    %eport

    roce##

    /ail"

    4u#tomer %eport

    roce##

    a##eger %eport

    4u#tomer %eport

  • 8/20/2019 project document.doc

    16/51

    '%* 43A%*

    16

  • 8/20/2019 project document.doc

    17/51

    MODULARI/ATION

    Belo are the dieret module# u#ed i the project. Et cotai# dieret eature# a

     particular module #upport. All the#e module# are idepedetl" developed ad are

    1$

      4odig

    /ata Gatherig

      Aal"#i#

    /e#igig

      *e#tig

    Emplemetatio

    !0 da"#

    65 da"#

    5 da"#

    120 da"#

    1!5 da"#

    1)5 da"#

    !5  d a  " # 

    ! 0  d a  " # 

     2  5 

     d  a " # 

      1  5  d a  " #

    10 da "#

  • 8/20/2019 project document.doc

    18/51

    itegrated later. Admii#trator role# are developed ater all the orm# are developed

    #o that back ed ord ca be #ee ea#il" variou# module# u#ed areD

    *here are ive module# i the #"#tem#

    1. 8ogi

    2. 3otel %e#ervatio!. *icket

    ). *ool#

    5. %eport

    0+ Lo.in

    *hi# module cotai# to #ub module#.

    8ogi

    /e#criptioD *hi# #ubmodule i# u#ed to loggig i the project. ;ithout logi e ca@t

    u#e the u#e the acilitie# o the #otare. *he e:i#tig ca u#ig thi# #"#tem b"

    eterig u#erame ad pa##ord. 'ach u#er ha# uiue logi id ad pa##ord

     provided. *he" ca ol" ideti" ith the#e value# o logi module.

    Eput#D Admii#trator id ad pa##ord ad other iput# are accordig to the ta#k

     perormed.

    Output#D *he orm i# validated ad optio# or perormig variou# ta#k# are

    di#pla"ed.>alidatio#D -o reuired ield #hould be let empt".

    AttributeD Admii#trator id = a##ord

    ':it

    *hi# optio i# u#ed or e:it rom the #"#tem.

    1+ HOTEL RESERVATION

     *hi# module cotai# to #ub module#

    1,

  • 8/20/2019 project document.doc

    19/51

    2.1 3otel 8i#t

    /e#criptioD *hi# #ubmodule i# u#ed to #ho the 3otel ame# ad the room#

    are o oe da" or 2) hour# i +S /ollar#.OutputD Sho# the li#t o hotel# ad are or the room#.

    2.2 3otel Bookig

    /e#criptioD *hi# #ub9module i# u#ed or bookig the 3otel. Et take# all the

    detail# about a cu#tomer. '.g9-ame o cu#tomer= '9mail= 3otel ame= -umber

    o Gue#t# etc.

    EputD -ame o the re#erver= 3otel -ame= -umber o room# i# to be re#erved=umber o member#.

    OutputD *he orm #ho# optio# or perormig ma" ta#k#.

    >alidatioD -ame ield o the cu#tomer ad 3otel -ame ield caot be let

    empt".

    Attribute#D -ame= '9mail= 3otel= -o o Gue#t#.

    !. TICKET*hi# module cotai# three #ubmodule#.

    !.1 %e#ervatio

    /e#criptioD *hi# #ubmodule i# u#ed or the re#ervatio o bu#. Et cotai# the

    *icket o.= Bu# -ame= Bu# -umber= are ad all the per#oal detail o the

    cu#tomer.

    EputD Bu# ame= %euired #eat#= (are ad er#oal iormatio o the Bu#

    %e#erver e.g. -ame= Age= Addre##

    OutputD /i#pla"# optio# or i#ertig the Bu# /e#criptio= 4u#tomer

    er#oal Eormatio.>alidatioD -o *icket -umber= Bu# -ame= %euired Seat= (are ad -ame=

    Addre## o 4u#tomer (ield #hould let empt".

    Attribute#D *icket umber= Bu# -ame= Bu# -umber= (are= -ame o

    4u#tomer= Addre##.

    1

  • 8/20/2019 project document.doc

    20/51

    !.2 4acellatio

    /e#criptioD *hi# #ubmodule i# u#ed or the cacellatio o the re#erved bu#

    ticket#. Et cotai# the *icket o= Bu# ame= joure" date ad the per#oal detail

    o the cu#tomer.EputD *icket umber= Houre" /ate= Bu# -ame= 4u#tomer# er#oal

    Eormatio ad Optio# or perormig variou# ta#k i# di#pla"ed.

    OutputD /i#pla" optio# reuired or 4acellatio o a re#erved *icket e.g9

    *icket -umber= Bu# -ame= -ame o 4u#tomer#= Addre## o 4u#tomer.

    >alidatio#D -o *icket -umber= Houre" /ate= Bu# -ame= -ame o 4u#tomer

    ield# #hould let empt".

    Attribute#D *icket -umber= Bu# -ame= Bu# -umber= (are= -ame o 4u#tomer=

    Addre##.

     2+ TOOLS

    *hi# module cotai# oe #ubmodule.

    ).1 Add?%emove Bu#/e#criptioD *hi# Submodule i# u#ed or Addig= -e Bu#= /eletig the

    e:i#tig bu#= modi" the /etail# about the e:i#tig Bu# etc.

    EputD Bu# -umber= Bu# -ame= /e#tiatio ad other Eput# are accordig

    to the ta#k perormed.

    OutputD *hi# orm di#pla"# optio# or Addig= odi"ig or /elete the Bu#

    rom the li#t.>alidatioD -o (ield Bu# -umber ad Bu# -ame #hould let empt".

    3+ REPORT*hi# module cotai# our #ubmodule#.

    5.1 Bu# Statu#/e#criptioD E a" cu#tomer at# to book a bu#= he ca vie the detail# o bu#

    that the bu# i# available at that particular date or ot. Ater vieig the #tatu# o bu# cu#tomer# ca make ea#" deci#io# about the bu# re#ervatio.

    5.2 a##eger %eport/e#criptioD *hi# #ubmodule i# u#ed or #hoig the a##eger# li#t that ha#

    re#erved their #eat# i the bu#.

    20

  • 8/20/2019 project document.doc

    21/51

    OutputD /i#pla"# the li#t o the pa##eger# ho ha# re#erved the Bu#.

    >alidatio#D /i#pla"# ol" the li#t o re#erved pa##eger li#t.

    5.!3i#tor" %eport

    /e#criptioD *hi# #ubmodule i# u#ed or #hoig the pa##eger# li#t ho#eticket# are cacelled.

    OutputD /i#pla"# the li#t o the pa##eger# ho ha# cacelled the Bu#

    re#ervatio.

    >alidatio#D /i#pla"# the li#t o cu#tomer ho cacelled the re#ervatio.

    5.)3otel 4u#tomer 8i#t/e#criptioD *hi# #ubmodule i# u#ed or #hoig the li#t o the cu#tomer# ho

    ha# re#erved their room# i the hotel.

    OutputD /i#pla"# the li#t o the pa##eger# ho ha# re#erved the 3otel %oom.

    DATA DICTIONARY

    21

  • 8/20/2019 project document.doc

    22/51

    In this project we handle /ive databases through using the

    concept of Relational database

    (ir#t Oe i# 8OGE- *ableD -

    Fi$4 N!m S%o(!. T&' Ln.%) Con"%(!in%

      +#erame varchar 25  primar" ke"

      a##ord varchar 20   9

    Secod i# 3otel Bookig *able: -

    Fi$4 N!m S%o(!. T&' Ln.%) Con"%(!in% -ame varchar 9 9

    '9mail varchar 9 9

    3otel varchar 9 9

    ArrivalM/ate date 9 9

    /epartureM/ate date 9 9

     -umberMgue#t# iteger 10 9

    Adult iteger 10 9

    %oom# iteger 10 9

    4ommet# varchar 100 9

    *hird i# %e#ervatio*able: -

    22

  • 8/20/2019 project document.doc

    23/51

     Fi$4 N!m S%o(!. T&' Ln.%) Con"%(!in%

    *icketMo iteger 10 primar" ke"

    Houre"Mdate date 9 9

    (romMo varchar 9 9

    *oMo varchar 9 9

    Bu#Mame varchar 9 9

    %euiredM#eat# iteger , 9

    Bu#Mo varchar 9 ot ull

    Bu#Mair iteger 5 9

    *otalMamout iteger , 9

     -ame varchar 9 9

    Age iteger 9 9

    artialM#tatu# varchar 9 9

    Se: varchar 9 9SeatMo varchar 9 9

    Addre## varchar 100 9

    StreetMo varchar 9 9

    4it"Mo varchar 9 9

    StateMo varchar 9 9

    4outr"Mo varchar 9 9

    iMo iteger 10 9

    hoeMo iteger 10 9

    'mailMo varchar 9 9

    (ourth i# 4acellatio *ableD -

    2!

  • 8/20/2019 project document.doc

    24/51

     

    Fi$4 N!m S%o(!. T&' Ln.%) Con"%(!in%

    *icketMo iteger 10 primar" ke"

    Houre"Mdate date 9 9

    (romMo varchar 9 9

    *oMo varchar 9 9

    Bu#Mame varchar 9 9

    Bu#Mo varchar 9 ot ull

     -ame varchar 9 9

    Age iteger 9 9

    artialM#tatu# varchar 9 9

    Se: varchar 9 9

    SeatMo varchar 9 9

    Addre## varchar 100 9StreetMo varchar 9 9

    4it"Mo varchar 9 9

    StateMo varchar 9 9

    4outr"Mo varchar 9 9

    iMo iteger 10 9

    hoeMo iteger 10 9

    'mail varchar 9 9

    (ith i# Bu# 'tr" *ableD -

    Fi$4 N!m S%o(!. T&' Ln.%) Con"%(!in%

    Bu#Mo varchar 9 ot ull

    Bu#Mame varchar 9 9

    Bu#Mair iteger 5 9

    /e#tiatio varchar 100 9

    %emark# varchar 100 9

    SQL STATEMENT TO CREATE DATABASE

    2)

  • 8/20/2019 project document.doc

    25/51

    4reate *able logi

    4reate *able logi u#erame varchar primar" ke"= pa##ord varchar 20CCN

    4reate *able 3otel Bookig

    4reate *able hotelbookig ame varchar= e9mail varchar= hotel varchar=

    arrivalMdate date= departure date= umberMgue#t# iteger10C= adult iteger10C=

    room# iteger10C= commet# varchar100CCN

    4reate *able %e#ervatio

    4reate *able re#ervatio *icketMo iteger10C primar" ke"= joure"Mdate date=

    romMo varchar= toMo varchar= Bu#Mame varchar= %euiredM#eat# iteger=Bu#Mo

    varchar= Bu#Mair iteger5C= *otalMamout iteger,C= -ame varchar= Age iteger=

    artialM#tatu# varchar= Se: varchar= Seat#Mo varchar= Addre## varchar100C=

    StreetMo varchar= 4it"Mo varchar= StateMo varchar= 4outr"Mo varchar= iMo

    iteger10C= hoeMo iteger10C= 'mailMo varcharCN

    4reate *able 4acellatio

    4reate *able cacellatio *icketMo iteger 10C primar" ke"= joure"Mdate date=

    (romMo varchar= *oMo varchar= Bu#Mame varchar= Bu#Mo varchar ot ull=

     -ame varchar= Age iteger= artialM#tatu# varchar= Se: varchar= SeatMo varchar=

    Addre## varchar 100C= StreetMo varchar= 4it"Mo varchar= StateMo varchar=

    4outr"Mo varchar= iMo iteger 10C= hoeMo iteger 10C= 'mail varcharCN

    4reate *able Bu# 'tr"

    4reate *able bu#etr" Bu#Mo varchar ot ull= Bu#Mame varchar= Bu#Mair

    iteger 5C= /e#tiatio varchar 100C= %emark# varchar 100CCN

    TESTING

    25

  • 8/20/2019 project document.doc

    26/51

    *e#tig i# the activit" here the error# remaiig rom all the previou# pha#e# mu#t be

    detected. *e#tig perorm# a ver" critical role or e#urig ualit". /urig te#tig= the

    #otare to be te#ted i# e:ecuted ith a #et o te#t ca#e#= ad the behaviour o the

    #"#tem or the te#t ca#e# i# evaluated to determie i the #"#tem i# perormig a#

    e:pected.

    UNIT TESTING

    +it te#tig i# aother approach or veri"ig the code that a programmer i#

    ritte. +it te#tig i# like regular te#tig here program# are e:ecuted ith #ome

    te#t ca#e# e:pect that the ocu# i# o te#tig #maller program# or module# called

    uit#. A uit ma" be a uctio= a #mall collectio or uctio#= a cla##= or a #mall

    collectio o cla##e#. o#t ote= it i# the uit a programmer i# ritig code or=

    ad hece uit te#tig i# mo#t ote doe b" a programmer to te#t the code that heor #he ha# ritte. *e#tig= hoever i# a geeral techiue that ca al#o be u#ed or 

    validatig complete #"#tem#.

    B$!c5,Bo6 T"%in.

    E black9bo: te#tig the #tructure o the program i# ot co#idered. *e#t ca#e# are

    decided #olel" o the ba#i# o the reuiremet# or #peciicatio# o the program or

    module= ad the iteral# o the module or the program are ot co#idered or

    #electio te#t ca#e#. E black9 bo: te#tig= the te#ter ol" ko# the iput# that ca be

    give to the #"#tem ad hat output the #"#tem #hould give. E other ord#= the ba#i#

    or decidig te#t ca#e# i uctioal te#tig i# the reuiremet# or #peciicatio# o the

    #"#tem or module. *hi# orm o te#tig i# al#o called uctioal or behavioral te#tig.

    W)i%,Bo6 T"%in.

    26

  • 8/20/2019 project document.doc

    27/51

    *he black9bo: te#tig i# cocered ith uctioalit" rather tha implemetatio

    o the program. ;hite9bo: te#tig= o the other had i# cocered ith te#tig the

    implemetatio o the program. *he itet o thi# te#tig i# ot to e:erci#e all the

    dieret iput or output coditio# but to e:erci#e the dieret programmig

    #tructure# ad data #tructure# u#ed i the program. ;hite9bo: te#tig i# al#o called

    #tructural te#tig ad e ill u#e the to term# iterchageabl". *o te#t the

    #tructure o a program= hite9bo: te#tig aim# to achieve te#t ca#e# that ill orce

    the de#ired coverage o dieret #tructure#. >ariou# criteria have bee propo#ed or 

    thi#. +like the criteria or uctioal te#tig= hich are reuetl" impreci#e= the

    criteria or hite9bo: te#tig are geerall" uite preci#e a# the" are ba#ed o

     program #tructure#= hich are ormal ad preci#e.

    ALPHA TESTING

    *he ir#t te#t o el" developed hardare or #otare i a laborator" #ettig.;he the ir#t roud o bug# ha# bee i:ed= the product goe# ito beta te#t ith

    actual u#er#. (or cu#tom #otare= the cu#tomer ma" be ivited ito the vedor#

    acilitie# or a alpha te#t to e#ure the cliet# vi#io ha# bee iterpreted properl"

     b" the developer.

    BETA TESTING

    A te#t o e or revi#ed hardare or #otare that i# perormed b" u#er# at theiracilitie# uder ormal operatig coditio#. Beta te#tig ollo# alpha te#tig.

    >edor# o packaged #otare ote oer their cu#tomer# the opportuit" o beta

    te#tig e relea#e# or ver#io#= ad the beta te#tig o elaborate product# #uch a#

    operatig #"#tem take moth#.

    LIMITATION OF THE PROJECT

    1. Et i# ot o9lie project.2. Et #ho# all the etrie#= it doe#@t #ho the oe da"

    etrie# #eparatel".

    2$

  • 8/20/2019 project document.doc

    28/51

    2,

  • 8/20/2019 project document.doc

    29/51

    2

  • 8/20/2019 project document.doc

    30/51

    !0

  • 8/20/2019 project document.doc

    31/51

    !1

  • 8/20/2019 project document.doc

    32/51

    !2

  • 8/20/2019 project document.doc

    33/51

    !!

  • 8/20/2019 project document.doc

    34/51

    !)

  • 8/20/2019 project document.doc

    35/51

    !5

  • 8/20/2019 project document.doc

    36/51

    !6

  • 8/20/2019 project document.doc

    37/51

    !$

  • 8/20/2019 project document.doc

    38/51

    !,

  • 8/20/2019 project document.doc

    39/51

    !

  • 8/20/2019 project document.doc

    40/51

    )0

  • 8/20/2019 project document.doc

    41/51

    )1

  • 8/20/2019 project document.doc

    42/51

    )2

  • 8/20/2019 project document.doc

    43/51

    )!

  • 8/20/2019 project document.doc

    44/51

    ))

  • 8/20/2019 project document.doc

    45/51

    )5

  • 8/20/2019 project document.doc

    46/51

    )6

  • 8/20/2019 project document.doc

    47/51

    )$

  • 8/20/2019 project document.doc

    48/51

    ),

  • 8/20/2019 project document.doc

    49/51

    )

  • 8/20/2019 project document.doc

    50/51

    50

  • 8/20/2019 project document.doc

    51/51