You are on page 1of 54

RM Hotel Reservation Systems

CURRENT SYSTEM The name of the company that I am discussing about its system is Raffles Marina. All the system running in various departments are computerized except that of the Front Office hich needs to do some revamping in its system. !veryday the counter ill handle the chec"ing in and out of the guests and that includes issuing of statement account to the guests# doing daily room sales report and ma"ing reservation of rooms for the guests. The ma$or disadvantage about their system is the room reservation. %urrently# the receptionists are using the paper room reservation chart to ta"e do n room reservations for the guest. For example# guest on hen the guest ants to boo" a room# the receptionist ill shade the respective column in pencil indicating that the room has been bloc"ed for the hich date and departing on hich date. This is extremely inconvenient and prone to errors. Firstly# all the boo"ings are mar"ed in pencils# they could be accidentally erased by other staffs. &econdly# the boo"ing might be done incorrectly# for example the room must be bloc"ed on the ''th ho ever the staff might accidentally mar" it on the '( th # problems ill arise hen all the rooms are fully boo"ed on the ''th as the guest hich dates ill turn up on the ''th for his room. The reservation chart hich rooms are available on boo"ing# the staff ill loo" untidy and unclear for reference as to ith all the shadings here and there the the ants to cancel the room

chances of rooms overboo"ed are high. )hen the guest or"able as constant erasure ill cause the paper to tear.

ill have to erase the room bloc"ed for him# this is extremely not

Diploma In Computer Studies -1-

RM Hotel Reservation Systems

PROPOSED NEW SYSTEM Right no # e ill have to go into ho e can improve the room reservation

system. *asically# the company has only (+ standard rooms as it is a club. )e can convert the chart into a computerized system so that it is more readable# tidier# easier to do the erasure of the boo"ing and the chances of rooms being overboo"ed are minimal or even none. The computerized room reservation system as to hich rooms are available on ill proved to be efficient hen chec"ing for the availability of rooms for the guest. At one glance# the staffs ill be clear hich dates and $ust by choosing the &earch ,ist options# the user can vie The user the list of the names of the guests and other details of the

guests. The program consist of -modules# namely Add# &earch# ,ist# .elete and /uit. ill select the respective choice for the input of the data or choose /uit to exit the program. The Add module in the program is used to enter a ne boo"ing from the guest. )hen the Add module is selected# the screen under the add module ill prompt the users to enter ants # upon pressing the chec"0in# departure dates and the number of rooms the guest

the enter "ey# the system ill chec" for the availability of rooms in the re1uested range of dates and hether the range of dates has got the number of rooms the guest ants. )hen there are rooms available# the system hether the room 234 is entered# the system ill pop up a message to confirm ith the user ill be bloc"ed. If it is confirmed# then enter 234 othe ise enter 254. If ill prompt the user to enter the name if the guest# passport hich ill be further explained later as to hat are the

number and the flight details

things to enter in the flight details. If the user chooses 254# then the user ill have to enter the particulars again. After all particulars have been entered# then upon hitting the !nter "ey# a message pops up again to as" the user to the main menu columns# the system hether to save the entry for the guest4s ill go bac" particulars. If entered 234# the entry is saved# else if entered 254# the system

here the user can choose other options. The room is automatically ill display a room number at the bottom of the module. The range

bloc"ed for the guest according to the range of dates entered by shading the ro s and of room numbers is from ' 6 (+.
Diploma In Computer Studies -2-

RM Hotel Reservation Systems

The Search module is for editing purposes li"e changing of the particulars of the guests and also for the reference to the staffs as they ould li"e to chec" for the flight details of the guests. )hen the search module is selected# the screen the name of the guest# the system the system ill pop up a message to as" the user ill prompt the user to enter ill locate that boo"ing. After the boo"ing is located# hether to change the information. If

enter 234# the user ill have to reenter the particulars. If it is entered 254# then the system ill return to the main menu. After reentering all the particulars of the guest# the screen confirm ill pop up a message to

hether to replace the information. If entered 234# the information is replaced

and saved. If entered 254# the system ill return to the main menu. The List module is helpful for the user if he7she ants to vie the names of guests# the ill sho a list of ants to exit to the main

chec"0in and out dates. )hen the ,ist module is selected# the screen the above mentioned data. The user can hit the !nter "ey if he menu.

The Delete module is meant for any cancellation of boo"ings. )hen the delete module is selected# the system ill prompt the user to enter the name of the guest. After the boo"ing is located# the system ill pop up a message to confirm ith the user hether he ants to delete the boo"ing. If it is confirmed to delete the boo"ing# the user other ise enter 254. If the latter is chosen# it options. ill enter 234 ill return to the main menu for other

Diploma In Computer Studies -3-

RM Hotel Reservation Systems

Specification- Processing and Validations 1 Dates The range of dates to be entered is from +' 6 8'# the range of months to be entered is from +' 6 '( and the range of years to be entered is from (+++ 6 (-++# the format entry is dd7mm7yyyy# e.g.+'7+(7(+++. The entry for the year is 9 characters. If the entry does not fulfil the above mentioned# then error messages ill pop up: I II III I& 2 Choices The acceptable entry for the choices is from ' 6 -. If entry is not a#ain % 3 *ame o$ the #uest The acceptable entry for the name is purely alphabets;a 6 z and A 6 <=. Other ise display error message !Accept only letters o$ alpha.ets % The maximum number of characters entered is (+. If the entry exceeds (+ characters# then display error message !"/ceeds ma/imum characters % 0 -assport num.er The maximum number of characters to be entered is '-# therefore if the user enters more than '- characters# then the system !"/ceeds ma/imum characters % The entry for this data item can be anything.
Diploma In Computer Studies -0-

!"nter day ran#e $rom 1 to 31 only % !"nter month ran#e $rom 1 to 12 only % !Invalid day entered $or the month % !"nter year ran#e $rom 2''' ( 2)'' %

ithin the

range# then error message pops up !*ot +ithin the ran#e, -lease enter

ill sho

error message

RM Hotel Reservation Systems

1ime The format entry for the time is from ++++ 6 (9++ and the number of characters to be entered is 9. If the entry does not fulfil the format# then display error message ! Invalid entry % As the entry for the time involves only numbers# therefore if the user enters any letters then# error message pops up !Accept only num.ers,%

3li#ht num.er The entry for the flight number can be anything and the maximum number of characters to be entered is >. If the user4s entry exceeds more than > characters# error message up !"/ceeds ma/imum characters % ill pop

*um.er o$ rooms The acceptable range of entry for this data item is from ' 6 (+. The number of characters to be entered is (. If the entry is not ithin the range# error message !Invalid entry,% ill be displayed.

Messages used in t e progra! Add module %onfirm to reserve the rooms ;375=? @ &ave the data ;375=? @ Search module %hange the current data ;375=? @ Replace the data ;375=? @
Diploma In Computer Studies -)-

RM Hotel Reservation Systems

)hen the name entered is not found in the file# the system proceed% List module

ill sho

error

messages !Record does not e/ist% follo ed by !-ress any 5ey to

After vie ing the information under the ,ist module# the system the message !-ress any 5ey to proceed % Delete module .elete the boo"ing ;375=? @

ill have

As "eying in the name of the guest retrieves the record to be deleted# therefore if the record is not found in the file# then error message pops up !Record does not e/ist %

Diploma In Computer Studies -2-

RM Hotel Reservation Systems

Specification " #ile Specification *o '. (. 8. 9. -. >. B. D. E. '+. ''. Item *ame ..@In MM@In 33@In ..@Out MM@In 5ame Cass F,@5o TM@F, !&@AR 5o@RM Description Auest chec" in day Auest chec" in month Auest chec" in year Auest chec" out day Auest chec" out month Auest name Auest passport number Auest filght number Auest time of flight !stimated time arrival 5umber of rooms Data 1ype Int Int Int Int Int %har %har %har %har %har Int Si6e 0 0 0 0 0 8+ ''+ 0 Ran#e ' 0 8' ' 6 '( 0 ' 0 8' ' 6 '( A6< 0 0 0 0 ' 0 EE

Diploma In Computer Studies -4-

RM Hotel Reservation Systems

Specification " Screen Design


M!5F '. Add (. &earch 8. ,ist 9. .elete -. /uit 5e Reservation %hec"0in0date;dd7mm7yyyy=: EE7EE7EEEE %hec"0out0date;dd7mm7yyyy=: EE7EE7EEEE 5umber of rooms;'0(+=: EE 5ame of guest ;max(+=: Cassport number ;max'-=: Flight number ;max>=: Time of flight;++++0(9++=: !stimated time arrival: !dit Reservation %hec"0in0date;dd7mm7yyyy=: EE7EE7EEEE %hec"0out0date;dd7mm7yyyy=: EE7EE7EEEE 5umber of rooms;'0(+=: EE 5ame of guest ;max(+=: Cassport number ;max'-=: Flight number ;max>=: Time of flight;++++0(9++=: !stimated time arrival: xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxx EEEE EEEE .elete Reservation %hec"0in0date;dd7mm7yyyy=: EE7EE7EEEE %hec"0out0date;dd7mm7yyyy=: EE7EE7EEEE 5umber of rooms;'0(+=: EE 5ame of guest ;max(+=: Cassport number ;max'-=: Flight number ;max>=: Time of flight;++++0(9++=: !stimated time arrival: xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxx EEEE EEEE xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxx EEEE EEEE

'.5ame (.Cassport number 8.Flight number 9.Time of flight

-.Arrival time >.5umber of rooms +./uit %hange the current data;375=? @

,isting of Auests4 names 5ame of guest xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx Cassport number xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx %hec"0in0date %hec"0out0date EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE EE7EE7EEEE

Diploma In Computer Studies -7-

RM Hotel Reservation Systems

Testing " Test Plan 1est Cases %ase ' %ase ( %ase 8 %ase 9 %ase %ase > %ase B %ase D %ase E %ase '+ %ase '' %ase '( %ase '8 %ase '9 %ase '%ase '> %ase 'B %ase 'D %ase 'E %ase (+ %ase (' %ase (( %ase (8 %ase (9 8.9ectives To chec" for the correct entry range of the options in the main menu. To chec" that the range of entry for the number of rooms is from ' 6 (+. To chec" that only alphabets are accepted hen entry the name of guest. To chec" that the number of characters entered for the name does not exceed (+. To chec" that the number of characters entered for the passport number does not exceed '-. To chec" that the number of characters entered for the flight number does not exceed >. To chec" that only numbers are accepted for time. To chec" that the number of characters entered for time is 9. 5o more or less than 9. To chec" that the range of entry for days is from ' to 8'. To chec" that the entry for the month is from ' to '(. To chec" that the range of entry for the year is from (+++0(-++. To chec" for the validity of the entry for days in a particular month. To ensure that the program prompt the user hen the name "eyed in is not found in the file. To chec" that hen the user enters ' in the main menu# it goes to the 25e Reservation4 screen. To chec" that hen the user enters ( in the main menu# it goes to the 2!dit Reservation4 screen. To chec" that hen the user enters 8 in the main menu# it goes to the 2,isting4 screen. To chec" that hen the user enters 9 in the main menu# it goes to the 2.eleting Reservation4 screen. To chec" that the program displays the details of a record hen it is found under the &earch screen. To chec" that under the ,ist module# the program prompts the user to press any "ey to proceed. In the Add module# to chec" that after entering the chec"0in and out dates and the number of rooms# the program prompts the user of the confirmation to reserve the room. To chec" that after the entry of the data# the program ill prompt the user hether to save the data. In the &earch module# to chec" that the program prompts the user hether to ma"e any changes to the data hen it is displayed on the screen. In the &earch module# to chec" that the program prompts the user to replace the data after amendments. In the .elete module# to chec" that hen the targeted record is found# the program ill prompt the user hether to delete the record. Testing " Test Plan 1est cases %ase (%ase (> %ase (B %ase (D %ase (E %ase 8+ 8.9ectives To chec" that the cursor moves to the 25ame of guest4 hen option ' is chosen. To chec" that the cursor moves to the 2Cassport number4 hen option ( is chosen. To chec" that the cursor moves to the 2Flight number4 hen option 8 is chosen. To chec" that the cursor moves to the 2Time of flight4 hen option 9 is chosen. To chec" that the cursor moves to the 2!stimated time arrival hen option - is chosen. To chec" that the cursor moves to the 5umber of rooms hen option > is chosen.

Diploma In Computer Studies -:-

RM Hotel Reservation Systems

Testing " Test cases Test case Ob$ectives Test .ata :' : To chec" for the correct entry of the options in the main menu. : !nter the number > to test. therefore the screen ill display error message G5ot ithin the rangeH Cls. enter again.I Actual Test Result %onclusion : As belo . : &ucceeded. !rror message as displayed hen the test data as entered.

!xpected Test Result : If the number > is entered# as it is not ithin the range of ' to -#

Diploma In Computer Studies - 1' -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata Actual Test Result %onclusion

:( : To chec" that the range of entry for the number of rooms is from ' to (+. : (' : As belo . : &ucceeded. .isplays error message hen the test data is entered.

!xpected Test Result : To sho the error message GInvalid entryHI

Diploma In Computer Studies - 11 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata Actual Test Result %onclusion

: 8 : To chec" that only alphabets are accepted name of the guest. : (+ : As sho n belo . : &ucceeded. !rror message as displayed on the screen. hen entering the

!xpected Test Result : To sho the error message GAccept only letters of alphabets I

Diploma In Computer Studies - 12 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: 9 : To chec" that the number of characters entered for the name does not exceed (+. : Fsing (' 2A4s. charactersHI

!xpected Test Result : The screen should sho error message G!xceeds maximum Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as sho n on the screen.

Diploma In Computer Studies - 13 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: : To chec" that the number of characters entered for the Cassport number does not exceed '-. : '> characters. D 2*4s and D 2E4s. charactersHI

!xpected Test Result : The screen should sho error message G!xceeds maximum Actual Test Result %onclusion : As sho n belo : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 10 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: > : To chec" that the number of characters entered for the flight number does not exceed >. : 8 2A4s and 9 2'4s. charactersHI hen the test data is entered.

!xpected Test Result : The screen should sho the error message G!xceeds maximum Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 1) -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: B : To chec" that only numbers are accepted for time. : """". numbersHI hen the test data is entered.

!xpected Test Result : The screen should sho the error message GAccept only Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 12 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: D : To chec" that the number of characters entered for time is only 9 characters# no more than 9 or less than 9 characters. : ((+++. the test data is entered.

!xpected Test Result : The screen should sho the error message GInvalid entryHI hen Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 14 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: E : To chec" that the range of entry for days is from ' to 8' only. : 8(. from ' to 8' onlyI hen the test data is entered.

!xpected Test Result : The screen should sho the error message G!nter date range Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 17 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: '+ : To chec" that the range of entry for month is from ' to '( only. : '8. from ' to '( onlyI hen the test data is entered.

!xpected Test Result : The screen should sho the error message G!nter month range Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 1: -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: '' : To chec" that the range of entry for year is from (+++ to (-++. : (-+'. from (+++ to (-++ onlyI hen the test data is entered.

!xpected Test Result : The screen should sho the error message G!nter year range Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 2' -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: '( : To chec" for the validity of the entry of days in a particular month. : (E. for the monthI hen the test data is entered.

!xpected Test Result : The screen should sho the error message GInvalid day entered Actual Test Result %onclusion : As sho n belo . : &ucceeded. The error message as displayed on the screen as expected.

Diploma In Computer Studies - 21 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: '8 : To ensure that the program prompt the user hen the name "eyed in is not found in the file. : JJJ. hen the test data is entered.

!xpected Test Result : The screen should sho the message GRecord does not existHI Actual Test Result %onclusion : As sho n belo . : &ucceeded. The message as displayed on the screen as expected.

Diploma In Computer Studies - 22 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: '9 : To chec" that hen the user enters ' in the main menu# it goes to the 25e Reservation4 screen . : '. the data items on the screen.

!xpected Test Result : The screen should sho the 25e Reservation4 screen ith all Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 23 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: ': To chec" that hen the user enters ( in the main menu# it goes to the 2!dit Reservation4 screen . : (. the data items on the screen.

!xpected Test Result : The screen should sho the 2!dit Reservation4 screen ith all Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 20 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata Actual Test Result %onclusion

: '> : To chec" that hen the user enters 8 in the main menu# it goes to the 2,isting of Auests4 names4 screen . : 8. : As sho n belo . : &ucceeded. The screen has displayed the expected result.

!xpected Test Result : The screen should sho the 2,isting of Auests4 names4 screen.

Diploma In Computer Studies - 2) -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata Actual Test Result %onclusion

: 'B : To chec" that hen the user enters 9 in the main menu# it goes to the 2.eleting Reservation4 screen . : 9. : As sho n belo . : &ucceeded. The screen has displayed the expected result.

!xpected Test Result : The screen should sho the 2.eleting Reservation4 screen.

Diploma In Computer Studies - 22 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: 'D : To chec" that the program displays the details of a record hen it is found under the &earch screen. : %A5.3 %K!!. and saved in the Add screen and displays it in the &earch screen hen the test data is entered

!xpected Test Result : The screen should sho the details of all data that as entered

Actual Test Result %onclusion

: As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 24 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: 'E : To chec" that the program prompts the user to press any "ey to proceed under the ,ist screen. : 8. proceed...I

!xpected Test Result : The screen should sho the message GCress any "ey to Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 27 -

RM Hotel Reservation Systems

Test case Ob$ectives

: (+ : In the Add module# to chec" that after entering the %hec"0in and out dates and the number of rooms# the program ill prompt the user of the confirmation to reserve the room.

Test .ata

: +87+87(+++# +97+87(+++ and (. room;375=? @I

!xpected Test Result : The screen should sho the message G%onfirm to reserve the Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 2: -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (' : In the Add module# to chec" that after the entry of all the data # the program ill prompt the user hether to save the data : +87+87(+++# +97+87(+++# (# %A5.3 %K!!# D'+>DEE*# '(89-># +88+ and +-8+.

!xpected Test Result : The screen should sho the message G&ave the data;375=? @I Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 3' -

RM Hotel Reservation Systems

Test case Ob$ectives

: (( : In the &earch module# to chec" that the program prompts the user hether to ma"e any changes to the data hen it is displayed on the screen

Test .ata

: %A5.3 %K!! data;375=?@I

!xpected Test Result : The screen should sho the message G%hange the current Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 31 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata Actual Test Result %onclusion

: (8 : In the &earch module# to chec" that the program prompts the user hether to replace the data after amendments : : As sho n belo . : &ucceeded. The screen has displayed the expected result.

!xpected Test Result : The screen should sho the message GReplace the data;375=?@I

Diploma In Computer Studies - 32 -

RM Hotel Reservation Systems

Test case Ob$ectives

: (9 : In the .elete module# to chec" that hen the target record is found# the program ill prompt the user hether to delete the record.

Test .ata

: %A5.3 %K!! @I

!xpected Test Result : The screen should sho the message G.elete the boo"ing;375=? Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 33 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (: To chec" that the cursor moves to the 25ame of guest4 hen option ' is chosen.. : ' guest 2 hen ' is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 25ame of Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 30 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (> : To chec" that the cursor moves to the 2Cassport number4 hen option ( is chosen.. : ( number 2 hen ( is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 2Cassport Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 3) -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (B : To chec" that the cursor moves to the 2Flight number4 hen option 8 is chosen.. : 8 number 2 hen 8 is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 2Flight Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 32 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (D : To chec" that the cursor moves to the 2Time of flight4 hen option 9 is chosen.. : 9 flight4 hen 9 is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 2Time of Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 34 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: (E : To chec" that the cursor moves to the 2!stimated time arrival4 hen option - is chosen.. : time arrival4 hen - is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 2!stimated Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 37 -

RM Hotel Reservation Systems

Test case Ob$ectives Test .ata

: 8+ : To chec" that the cursor moves to the 25umber of rooms4 hen option > is chosen.. : > of rooms4 hen > is chosen

!xpected Test Result : The cursor under the &earch module ill move to the 25umber Actual Test Result %onclusion : As sho n belo . : &ucceeded. The screen has displayed the expected result.

Diploma In Computer Studies - 3: -

RM Hotel Reservation Systems

Testing " Test $og 1est Cases %ase ' %ase ( %ase 8 %ase 9 %ase %ase > %ase B %ase D %ase E %ase '+ %ase '' %ase '( %ase '8 %ase '9 %ase '%ase '> %ase 'B %ase 'D %ase 'E %ase (+ %ase (' %ase (( %ase (8 %ase (9 %ase (%ase (> %ase (B Testing " Test $og 1est Cases %ase (D %ase (E %ase 8+ Status Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul Success$ul

Status &uccessful &uccessful &uccessful

Diploma In Computer Studies - 0' -

RM Hotel Reservation Systems

-ro#ram Listin#

5ote: This part contain the print out of source program.

Diploma In Computer Studies - 01 -

RM Hotel Reservation Systems

%!ple!entation " &ard'are and Soft'are Configuration Hard+are Con$i#uration; 5ormal Centium machine ith the follo ing re1uirements: Minimum 9 M* RAM Minimum '+M* of hard dis" free space %onnected .ot Matrix printer

So$t+are Con$i#uration; )indo s ED *orland %LL version 8.+ ;.O&=

Diploma In Computer Studies - 02 -

RM Hotel Reservation Systems

%!ple!entation " User Manual

The captured screen sho n above sho s the menu# hich displays - options for the user to choose from. They are the Add# &earch# ,ist# .elete and /uit. Add option allo s the user to add in a ne reservation# to choose this option# type '. Search option allo s the user to search a particular boo"ing through name and then to edit the boo"ing if necessary# to choose this option# type (. List option allo s the user to vie the names# passport number and the chec"0in and out rong dates of all guests# to choose this option# type 8. Delete option allo s the user to delete any cancellation of boo"ings or any boo"ings done by the staffs# to choose this option# type 9. If the user ould li"e to exit out of the program execution# choose ) to e/it out. *ear in mind that the acceptable range of options that the user can choose from is ' 6 -# other ise the screen ill display error message. If the user should ma"e any mista"e hen ma"ing the selection# $ust press on any "ey to reenter the choice.
Diploma In Computer Studies - 03 -

RM Hotel Reservation Systems

Fpon pressing 1 in the main menu# the user

ill come to the screen as sho n above. The ill sho a

user is re1uired to enter the data for the data items sho n on the screen. )hen the data for the first three data items is entered# upon pressing enter# the screen message as sho n on the next page. The acceptable range of entry for the date is from ' to 8'# ' to '( for the month and (+++ to (-++ for the year# if numbers entered are not ithin the range# error messages ill be displayed respectively. *ear in mind that only numbers are accepted in the entry of the chec"0in and chec"0out dates. The same goes for the entry of the number of rooms# only numbers are acceptable and the range of entry for it is from ' to (+. If the number entered is not error message ill be displayed on the screen. ithin the range# then

Diploma In Computer Studies - 00 -

RM Hotel Reservation Systems

If 254 is entered# the user

ill reenter again. If the user enters 234# it means that the

rooms have been bloc"ed and the user is re1uired to enter the particular of the guest. The first one to be entered is the name of the guest# this program only allo s maximum (+ characters to be entered# if the entry exceeds (+ characters# then the screen error message# $ust press on any "ey to reenter. The second data to be entered is the passport number of the guest# the entry of this data item is alphanumeric hich means that the user can enter anything# ho ever the user is restricted to enter maximum '- characters only# if the entry exceeds '- characters# the screen ill display error messageM. The third one ill be the flight number# the entry for the flight number can be anything ill display

but it is restricted to maximum > characters. If the entry exceeds > characters# then error message ill be displayed on the screenM

Diploma In Computer Studies - 0) -

RM Hotel Reservation Systems

The entry for the fourth and the fifth data items is the time# the time mode is based on (9++hrs. The range of numbers to be entered is from ++++ 6 (9++. The number of characters to be entered is minimum and maximum 9. If the user enters more than or less than 9 characters# then error message ill sho M. Ta"e note that the entry for the time is ill prompt the user hether to save the only numbers# therefore if any letters or symbols are entered# error message ill sho M. After all data have been entered# the program data ;as sho n belo =. If enter 234# then the data are saved# if enter 254# then the data are not saved and the screen ill go bac" to the main menu.

Diploma In Computer Studies - 02 -

RM Hotel Reservation Systems

)hen the user enters 2 in the main menu# then the user

ill come to the screen as sho n

above. This is the screen here the user can do the editing part. *ut firstly# to retrieve the desired record from the file# the user record as sho n on the next page and the user data. ill be prompted ill have to enter the ill display the hether to change the

name of the guest to retrieve the record. After pressing enter# the screen

Diploma In Computer Studies - 04 -

RM Hotel Reservation Systems

If the user enters 254# the screen ill go bac" to the main menu. If 234 is entered# then the screen ill further display some options as on the next page. These options are actually hether hich part of the record does he ant to edit. %hoose ' if for the user to choose

he ants to edit the name# choose ( if he ants to edit the passport number# choose 8 if to edit the flight number# choose 9 if to edit the time of flight# choose - if to edit the arrival time# choose > to edit the number of rooms or choose + if he does not anything. The range of entry is from ' to > and + to 1uit# if the entry is not range# the screen ill display error messageM. ant to edit ithin the

Diploma In Computer Studies - 07 -

RM Hotel Reservation Systems

After editing the necessary information# the user can choose + to exit out of the editing and the program belo = ill prompt the user hether to replace the current data. ;as sho n

Diploma In Computer Studies - 0: -

RM Hotel Reservation Systems

If 234 is entered# the data is replaced. If 254 is entered# the screen ill go bac" to the main menu# no data is replaced. )hen the user enters 3 in the main menu# he ill come to the listing screen hich enable him to vie all the names of the guests in the file and their passport number chec"0in and out dates. The listing screen is sho n belo .

After vie ing the data of the desired record# the program ill prompt the user to press on any "ey to proceed# that is to return to the main menu.

Diploma In Computer Studies - )' -

RM Hotel Reservation Systems

)hen the user enters 0 in the main menu# he ill go to the screen as sho n belo .

To retrieve the record to be deleted# the user

ill have to "ey in the name of the guest.

After "eying in# the desired record ill be displayed on the screen as sho n belo .

Diploma In Computer Studies - )1 -

RM Hotel Reservation Systems

The user

ill be prompted as to

hether he

ants to delete the record. If the user enters

254# the screen

ill go bac" to the main menu and no record or data is deleted. *ut if the

user enters 234# them the record is deleted from the file. If the user ould li"e to terminate the program# $ust enter ) . M In any case hen the user ma"e a mista"e in choosing the options or enters data hich

are invalid# the user can $ust press on any "ey to reenter.

Diploma In Computer Studies - )2 -

RM Hotel Reservation Systems

Conclusion " Progra! Strengt s ,astly for my conclusion# I ould li"e to pass some comments about my program. ill *asically# my program is made up of - options to choose from. These - options

prove to be efficient to the user as $ust by entering the name of the guest# the user can easily retrieve the record that is to be deleted or edited. )hen entering the dates# the program can actually detect invalid date entered for the month# and the user re1uired to enter again. In the program# the format for the time entry is based on (9++ hours mode and the standard entry for the time is only 9 characters# thus no confusion more than or less than 9 numbers as error message ridiculous entry by the user. To improve the efficiency of the user at or"# the user can actually chec" the chec"0in hen the user enters ill pop up to tell the user that the ill be

standard entry for time consist of 9 numbers only. This is to prevent any acceptance of

and out dates of all guests under the listing menu. Nust by choosing the list option# the screen ill sho the information as to hich guest ill be chec"ing in on hich date and chec"ing out on hich date etc.

Diploma In Computer Studies - )3 -

RM Hotel Reservation Systems

Conclusion " Progra! Wea(ness .ue to time constraint# I have failed to do the source program for the chart. This chart is used in the Add module. )hen the user enters the chec"0in O out dates and the number of rooms# this chart is supposed to chec" for the number of available rooms unable to bloc" the rooms in the chart. I have not done the validation chec" for the entry of the time. That is the standard entry range of time based on the (9++ hour mode is from ++++ 6 (9++. Ko ever# the user can enter any number that he ants# so long as it is 9 numbers. This is not logical as ho can the entry of time be (9+' or (-++. Conclusion " Progra! En ance!ents In the near future# some enhancements can be made to the program. A print function can be added to the program so that the user can print out a particular record or print out all the information that is displayed on the ,isting module. A calculation function can also be added to the program. It is to "eep trac" of the number of days the guest is staying. The program ill do the totaling up of the amount that the guest has to pay based on the number of days that the program has "ept trac"ed of. Then a computerized billing invoice is issued to the guest upon chec"0out. ithin the range of dates entered. )ithout this function# the program is unable to locate the availability of rooms and also

Diploma In Computer Studies - )0 -

You might also like