Introduction to the scenario. The hotel named as Welcome Hotel in Blue-pool-by-the-sea, is the adjustment topographic point for all the tourers who visit the topographic point. This hotel provides the clients with 4 types of suites viz. Family suites, Double suites, Twin suites, and Single suites.

Family suites – Maximum of 4 people can utilize this room. There are 4 household suites available in the hotel.

Double suites – Two people can remain in this room in upper limit with a dual bed. There are 3 dual suites available in the hotel.

Twin suites – There are two individual beds in this room so that two persons could utilize this room. There are 5 similar suites available in the hotel.

Best services for writing your paper according to Trustpilot

Premium Partner
From $18.00 per page
4,8 / 5
4,80
Writers Experience
4,80
Delivery
4,90
Support
4,70
Price
Recommended Service
From $13.90 per page
4,6 / 5
4,70
Writers Experience
4,70
Delivery
4,60
Support
4,60
Price
From $20.00 per page
4,5 / 5
4,80
Writers Experience
4,50
Delivery
4,40
Support
4,10
Price
* All Partners were chosen among 50+ writing services by our Customer Satisfaction Team

Single suites – This room consists of merely a individual bed which could be used for merely a individual person. There are 3 such suites in the hotel.

The clients can book suites in progress, with an progress of 25 % of the entire room charge. The outstanding sum could be paid when the client arrives at the hotel. The clients are expected to pay the progress at least one month in progress or else they would hold to pay the full sum if they are traveling to din less than one month in progress. A booking verification will be sent to the clients who book the room in progress adverting the room figure, room type, figure of darks booked, sum paid in progress, outstanding sum to pay and their day of the month of reaching. The money paid in progress is non refundable.

Undertaking 1

Introduction to task 1

Under the undertaking 1, three studies have to be generated. Using the Jackson structured scheduling ( JSP ) and methodology the demands for all three studies have to be analyzed. Relevant tabular arraies have to be created in order to bring forth the undermentioned studies.

Report 1 – A list of the figure of yearss each room was booked for each for each month in the predating 12 months

Report 2 – a list of all room engagements for any selected month on a twenty-four hours by twenty-four hours footing.

Report 3 – A list of monthly income received for room engagements over the last twelvemonth, demoing the entire income for each month, the entire income for each room for the twelvemonth, and the entire income for all suites together for the twelvemonth.

Consequently three tabular arraies were created viz. , the client tabular array, the room tabular array, and the payments tabular array.

Tables

The client Table

Customer Table

Customer No.

Customer Name

Room No.

Room type

No. of yearss booked

1

Harry

4

Family

1

2

Chris

8

Family

2

3

Frankie

2

Double

1

4

Jesse

2

Twin

1

5

Zac

1

Single

1

6

Bokkos

2

Twin

1

7

Daniel

4

Family

1

8

Justin

3

Twin and Single

2

9

David

2

Twin

1

10

Joe

1

Single

1

The room tabular array

Room Table

Customer No.

Room No.

Room type

Date booked

No. of yearss

01

14

Single

01.01.2009

2

02

13

Single

21.01.2009

1

03

11

Twin

15.01.2009

3

04

01

Family

15.01.2009

4

05

07

Double

31.01.2009

1

06

09

Twin

02.02.2009

2

07

15

Single

05.02.2009

4

08

02

Family

21.02.2009

3

09

06

Double

03.03.2009

5

10

08

Twin

05.04.2009

3

The payment tabular array

Payment tabular array

Customer No

Room No

Charge per twenty-four hours

Entire

01

14

34.00

68.00

02

13

34.00

34.00

03

11

60.00

100.00

04

01

80.00

320.00

05

07

55.00

55.00

06

09

60.00

120.00

07

15

34.00

136.00

08

02

80.00

230.00

09

06

55.00

255.00

10

08

60.00

170.00

Reports

Report 1

Number of yearss each room was booked in each month

Room No

Room type

Calendar month

Entire no of yearss booked

01

Family

January

12

02

Family

January

25

03

Family

January

18

04

Family

January

23

05

Double

January

24

06

Double

January

19

07

Double

January

16

08

Twin

January

17

09

Twin

January

24

10

Twin

January

29

11

Twin

January

21

12

Twin

January

16

13

Single

January

22

14

Single

January

25

15

Single

January

19

This study gives the end product of the entire figure of yearss each room was booked in each month. The above study has generated the entire figure of yearss each room was booked in the month of January in the order. Right after the records of January the records for the month of February will be generated. In that order the records of entire figure of room engagements will be produced for all the 12 months.

Report 2

All room engagements of the month of January

Date

Suites booked

01.01.2009

01,02,03,05,08

02.01.2009

09,05,06,11,13

03.01.2009

15,09,10,11

04.01.2009

03,05,06

05.01.2009

12,15,13,14,06,09,08,02

06.01.2009

09,11,16,14,

07.01.2009

08,15,06,07,08

08.01.2009

06,08,01,02,05,04,15

09.01.2009

13,14,09,07,02

10.01.2009

03,05,06,04,08

11.01.2009

12,02,05,04,09,15

12.01.2009

03,04,06,09,07,15

13.01.2009

04,09,01,11,14

14.01.2009

06,07,01,03,09,15,12

15.01.2009

04,03,06,15,11

16.01.2009

12,05,04,09,08,11

17.01.2009

03,05,04,06,08,09

18.01.2009

11,12,13,01,02,03,04,05,15

19.01.2009

01,02,03,04,05,06,07,15

20.01.2009

09,08,07,05,01,06

21.01.2009

15,14,12,13,10

22.01.2009

10,12,11,13,14,15,01

23.01.2009

11,12,13,14,15,10,01,02

24.01.2009

09,05,01,06,08,04,10

25.01.2009

03,04,09,06,07,11,13

26.01.2009

06,10,13,15,09,07

27.01.2009

01,10,06,09,08

28.01.2009

10,11,12,13

29.01.2009

01,02,03,04,05,06

30.01.2009

08,06,04,02,10,12,15

31.01.2009

09,03,06,04,02,14

The study 2 will be bring forthing the all room engagements for a peculiar month in a twenty-four hours by twenty-four hours footing. The above study is a consequence for all the room engagements for the month of January. From the get downing twenty-four hours to the terminal of the month, the room Numberss which have been booked in that peculiar twenty-four hours will be produced in the study 2.

Report 3

Entire income of each room for each month, entire income for each room in a twelvemonth and the expansive sum

Room no.

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Entire income of the twelvemonth

01

11500

12450

15420

12456

45680

48520

45680

15468

11500

12456

35640

15460

282230

02

12500

23510

35620

15862

65320

35820

65320

12563

12500

15862

15369

15820

326066

03

32100

35210

15460

35421

84520

15460

84520

12548

32100

35421

15468

15200

413428

04

25400

16530

15820

87652

68520

15820

68520

36852

25400

87652

12563

68950

529679

05

12600

12540

15200

35715

48520

15200

48520

16598

12600

35715

12548

15680

281436

06

35200

15630

68950

24865

35820

68950

35820

11500

35200

24865

36852

48520

442172

07

48520

58620

15680

13689

15460

15680

45680

12500

48520

13689

16598

23540

328176

08

35820

19860

35640

54192

15820

48520

65320

32100

35820

54192

23654

12456

433394

09

15460

49850

15369

65425

15200

35820

84520

25400

15460

65425

15468

15862

419259

10

15820

45680

15468

35214

68950

15460

68520

12600

15820

35214

12563

35421

376730

11

15200

65320

12563

26534

15680

15820

48520

35200

15200

26534

12548

87652

376771

12

68950

84520

12548

48950

12600

15200

35820

48520

68950

48950

36852

35715

517575

13

15680

68520

36852

35201

35200

68950

35200

35820

15862

35201

16598

24865

423949

14

48520

48520

16598

25401

12530

15680

12530

15460

35421

25401

11500

13689

281250

15

23540

35820

23654

32504

12540

65320

12540

15820

87652

32504

12548

84520

438962

Grand sum

5871077

The study 3 will be bring forthing the entire income earned during each month by each room and the entire income earned by each room in the twelvemonth. Finally it will expose the expansive sum earned by all the suites for the twelvemonth. The above study displays the entire income of each room for each month individually and eventually it is exposing the entire income for the twelvemonth of that room.

LDSD for the Customer Table

Customer tabular array

Customer No.

Customer Name

Room No.

Room type

No. of yearss booked

LDSD for the Room Table

The Customer Table

No. of yearss booked

Date booked

Customer No.

Room type

Room No.

LDSD for the Payment Table

The payment tabular array

Entire

Charge per twenty-four hours

Room No.

Customer No.

PDSD for Report 1

Report 1

Report heading

Body

Report footer

Number of yearss each room was booked in each month

Room no

Calendar month

Room type

No. of yearss booked

PDSD for Report 2

Report 2

Report heading

Body

Report footer

All the room engagements of the month of January

Date

Suites booked

PDSD for Report 3

Report 3

Report heading

Body

Report footer

Entire income of each room for each month, entire income for each room in a twelvemonth and the expansive sum

Feb

Grand sum

Dec

Oct

Aug

Jun

Apr

Room no

Entire income of the twelvemonth

Nov

Sep

Jul

May

Mar

Jan

Program specification

Report 1

F/L C/L

Start C1. WHILE eof.room = FALSE DO 11, C2

Declare variables

Record room C2. IF x & lt ; =room.date & lt ; =y THEN

eof room C3

month

room_no C3. IF room.month = monthTHEN

OPEN “ Rooms ” C4

DISPLAY “ Enter the month ”

ACCEPT month C4. IF room.room_no = room_no THEN

DISPLAY “ Enter the room No. ” 12

ACCEPT room_no

PRINT Report 1

PRINT “ Number of yearss each room was

booked in each month ”

PRINT “ Room No. “ , “ Room type ” ,

“ Month ” , “ No.of yearss booked ”

11. Read “ Room ” RECORD INTO “ room ”

( eof_room )

tot_day = tot_day + 1

PRINT room.room_no, room.type, room.month,

room.tot_day

Close “ Suites ”

Stop

Report 1

End

Body

Get down

C1

9

7

5

3

1

10

8

6

4

2

Report 2

F/L C/L

start C1. WHILE eof.rooms = FALSE DO

Declare variables 9, C2

Record suites

Month C2. IF rooms.month = month THEN

Open “ Room ” 10

DISPLAY “ Enter the month ”

ACCEPT month

PRINT Report 2

PRINT “ All room engagements of the month of ” , month

PRINT “ day of the month ” , “ suites booked ”

READ “ suites ” RECORD INTO Room

( eof.room )

PRINT rooms.date, rooms.rooms_booked

CLOSE “ room ”

Stop

Undertaking 2

Flow chart for study 1

Start

Tot_day: =1

OPEN “ Rooms ”

DISPLAY “ Enter the month ”

DISPLAY “ Enter room no. ”

WHILE eof.room=false

True

IF 01.01.2009 & lt ; =room.date & lt ; =31.12.2009

False

Bacillus

A

Bacillus

A

IF

Room.month=month

IF room.room_num = room_no

DISPLAY “ room.room_num, room.type, room.month, room.tot_day ”

Stop

Undertaking 3

Undertaking 3.a

Get down

Use variables:

_ _Calling process

Engagements ( )

End Plan

______________________________

PROCEDURE engagements ( )

Use variables: Record room_booking

HAS FIELDS

Date: Date

Room_no: Integer

Type: String

Dayss: Integer

Progress: Real

Balance: Real

Arrival: Date

today OF TYPE Date

eof.room engagement

Open “ Room engagements ”

DISPLAY “ Enter today ‘s day of the month ”

ACCEPT today

WHILE eof.room_booking = FALSE DO

READ “ Room engagements ” RECORD INTO “ room_booking ” ( eof.room_booking )

IF today – room booking.date = 14 THEN

PRINT “ Booking verification ”

PRINT “ Room Number ” , “ Room Type ” , “ No.of darks booked ” , “ Advance payment ” , “ Outstanding sum ” , “ Date of reaching ”

PRINT room_booking.Date, room_booking.Room_no, room_booking.type, room_booking.days, room_booking.advance, room_booking.balance, room_booking.arrival

End IF

End WHILE

End Procedure

Task 3 ) B

Get down

_ _ _ _ _ _ Declaring variables

Use variables: Record room

eof.room

month OF TYPE String

room_no OF TYPE Integer

start_date, end_date OF TYPE Date

tot_day OF TYPE Integer

_ _ _ _ _ _ Assigning values to the variables

start_date = 01.01.2009

end_date = 31.12.2009

_ _ _ _ _ _ Initializing the count variable

tot_day: = 1

_ _ _ _ _ _ Opening the tabular array

Open “ Room ”

_ _ _ _ _ Motivating the user

DISPLAY “ Enter the month ”

_ _ _ _ _ Delegating the user input value to the variable

ACCEPT month

DISPLAY “ Enter the room figure ”

ACCEPT room_no

_ _ Printing the study

PRINT “ Report 1 ”

PRINT “ No. of yearss each room was booked in each month ”

PRINT “ Room No. “ , “ Room type ” , “ Month ” , “ Entire No.of yearss booked ”

_ _ Using a cringle construction

WHILE eof.room = FALSE DO

READ “ Room ” RECORD INTO “ room ” ( eof.room )

IF start_date & lt ; = room.date & lt ; = end_date THEN

IF room.month = month THEN

IF room.rno = room_no THEN

Tot_day = tot_day + 1

PRINT room.rno, room.type, room.month, room.tot_day

End IF

End IF

End IF

End WHILE

CLOSE “ Room ”

End Plan

Task 3 ) degree Celsius

Get down

_ _ _ _ _ _ Declaring variables

Use variables: userchoice OF TYPE Character

_ _ Motivating the user to choose a study type

DISPLAY “ Main Menu ”

DISPLAY “ Select the type of the study ”

DISPLAY “ A-Number of yearss each room was booked in a twelvemonth ”

DISPLAY “ B-List of all engagements in a month ”

DISPLAY “ C-A list of monthly income over the last twelvemonth ”

DISPLAY “ E-Exit ”

_ _ _ _ _ _ Delegating the user input value to the variable

ACCEPT userchoice

_ _ _ _ _ _ Condition

DO CASE OF userchoise

CASE userchoice = ‘A ‘

_ _ Calling process

Report 1 ( )

CASE userchoice = ‘B ‘

DISPLAY Report 2

CASE userchoice = ‘C ‘

DISPLAY Report 3

Otherwise

DISPLAY “ End plan ”

End Case

End Plan

Undertaking 4

Trial program

Faculty to be tested – The pseudocode written to bring forth the study 1 under undertaking 3 ) B.

The nonsubjective – To do certain whether the plan reads the room tabular array and give the relevant end product.

Condition – Assume that the current month is January in the twelvemonth of 2009 and there are merely 10 records in the tabular array.

Test informations – All the relevant records in the room tabular array

Expected consequences –

Report 1

Number of yearss each room was booked in each month

Room No

Room type

Calendar month

Entire no of yearss booked

01

Family

January

12

02

Family

January

25

03

Family

January

18

04

Family

January

23

05

Double

January

24

06

Double

January

19

07

Double

January

16

08

Twin

January

17

09

Twin

January

24

10

Twin

January

29

11

Twin

January

21

12

Twin

January

16

13

Single

January

22

14

Single

January

25

15

Single

January

19

Actual consequences –

Number of yearss each room was booked in each monthReport 1

Room No

Room type

Calendar month

Entire no of yearss booked

01

Family

January

12

02

Family

January

25

03

Family

January

18

04

Family

January

23

05

Double

January

24

06

Double

January

19

07

Double

January

16

08

Twin

January

17

09

Twin

January

24

10

Twin

January

29

11

Twin

January

21

12

Twin

January

16

13

Single

January

22

14

Single

January

25

15

Single

January

19

Both the expected consequences and the existent consequences are so that we can reason that the plan runs absolutely.

Desk cheques

Variable list

Variable name

Data type

Declared

Used

Remarks

Record room

Yes

Yes

Eof.room

Yes

Yes

Calendar month

Stringing

Yes

Yes

To acquire user input value

Room_no

Integer

Yes

Yes

To acquire user input value

Tot_day

Integer

Yes

Yes

To increment the no. of yearss

Start_date

Date

Yes

Yes

Value assigned as a starting day of the month

End_date

Date

Yes

Yes

Value assigned as an stoping day of the month

Constants

There are no invariables

Sub modus operandis and processs

There are no sub modus operandis or processs

Equation

Equation name

Left side informations type

Right side informations type

correct

Remark

Eof.room = FALSE

Boolean

Boolean

Yes

To look into whether the plan has reached the terminal of file

Start_date & lt ; = room.date & lt ; = end_date

Room.month = month

Stringing

Stringing

Yes

To look into whether the value entered is equal to the tabular array informations

Room.rno=room_no

Integer

Integer

Yes

To look into whether the value entered is equal to the tabular array informations

Tot_day = tot_day + 1

Integer

Integer

Yes

Incrementing the value

Dry tally

Calendar month

Room_no

Eof.room

Eof.room = FALSE

Start_date & lt ; =

Room.date & lt ; =

End_date

Room.month = month

Room.rno = room_no

Tot_day= tot_day + 1

Jan

01

Yes

No

Jan

01

Yes

Yes

False

Jan

01

Yes

Yes

True

Jan = Feb

Jan

01

Yes

Yes

True

Jan = Jan

Jan

01

Yes

Yes

True

Jan = Jan

01=01

Tot_day = tot_day + 1

Jan

06

Yes

Yes

True

Jan = Jan

Undertaking 5

High degree category diagram ( Domain analysis ) for the hotel system

Customer

Customer No.

Customer Name

Room No.

Room type

No. of yearss booked

Checking the client No. ( )

Booking the suites ( )

Checking the booked suites ( )

( 5.b ) The top degree USECASE diagram for the Hotel System

Identifying the functionalities

Booking suites

Registering the room engagements

Sending booking verification

Payments

Producing payment faux pass

Keeping the histories

Booking suites

Registering the room engagements

Sending booking verification

Customer

Director

Payments

Producing payment faux pass

Keeping the histories

Teller

Manager ( 5.c ) The USECASE diagram for adding a room engagement to the database

& lt ; & lt ; Include & gt ; & gt ;

& lt ; & lt ; Include & gt ; & gt ;

& lt ; & lt ; Include & gt ; & gt ;

CLOSE the tabular array

Salvage the records in the Database

Insert the information in the relevant Fieldss

OPEN the tabular array

Director

( 5.c ) The USECASE diagram for directing a booking verification to a client

Paying with Credit card

& lt ; & lt ; Include & gt ; & gt ;

Receiving the progress

& lt ; & lt ; Include & gt ; & gt ;

Paying with hard currency

Sending the engagement verification

Producing the faux pas

Registering in the database

Teller

Customer

( 5.c ) The USECASE diagram for publishing a study

PRINT the study

Checks the informations entered

Enter the information

& lt ; & lt ; Include & gt ; & gt ;

& lt ; & lt ; Include & gt ; & gt ;

Director

( 5.d ) Sequence diagram for adding a room engagement to the database

Tables

Director

Customer

Payments

Engagements

Histories

Suites

Giving the payment faux pas

Paying the sum

Giving the faux pas

Adding the room engagement to the database

Calculate the sum

Available

Checking for

handiness

Booking a room

Undertaking 6

Reappraisal of the work done from undertaking 1-5

To: Miss.Mirunaaliny Somasunthara Iyer

From: Miss.Stefanny Fernando

Subject: Reappraisal of undertaking 1-5

Introduction

Under this undertaking a reappraisal of the full work done from the undertaking 1 to task 5 should be written. The mold techniques which had been used and the pseudocode written should be given an importance in this study. The mold techniques which have been used in this study are the of import factors in carry throughing the undertaking assigned.

Information

Undertaking 1 – Tables were created and studies were generated under this undertaking. For each and every study, DSDs, PSDs and a elaborate plan specification was besides created. The studies are an of import tool in an organisation to measure the advancement of their organisation. So by bring forthing these tools the company could acquire an overview of the things that took topographic point in the company.

( 2 ) Undertaking 2 – The flow chart for the studies produced in undertaking 1 should be created under undertaking 2. The flow charts are tools which are used to demo the order in which series of procedures should be performed. It uses three chief concepts viz. , sequence, choice and repeat.

( 3 ) Undertaking 3 – A process had been written, which could look into for clients who should be sent a engagement verification. And the pseudocode for study 1 in undertaking 1 and the studies chief bill of fares were besides written. The pseudocode is a plan designing tool which is used to build the logic of the future plan. The pseudocode has instructions which are really much similar to a programming linguistic communication written codification, that means every instructions, construct, construction available in a structured scheduling linguistic communication is besides available in pseudocode.

( 4 ) Undertaking 4 – the pseudocode written under undertaking 3b ) had to be tested by bring forthing the trial programs, desks cheques and dry tallies. Using these techniques the defects in the plan could be identified. Test program gives an thought of the proving process to be carried out. Under desk checks the variables, constatnts and processs used in the plan have to be listed down. By utilizing this coder could do certain that the declared variables had been truly made usage of. The dry tally is a manner of manually sing the ways in which the plan codification could be executed and the mistakes that could originate.

( 5 ) Undertaking 5 – Below this undertaking a top-level category diagram was drawn to fit the hotel system. After that the usecase diagram was drawn. The usecase diagrams were produced for the undermentioned scenarios,

Adding a room engagement to the database

Sending a booking verification to the client

Printing a study

The sequence diagram for adding a room engagement to the database was besides created. Usecase diagrams are used for deriving a system overview from a user ‘s position. These show the different functional demands or for what users interact with the system. It consists of histrions and usecases and it shows the behavior of the system.

( 6 ) Undertaking 6 – the Task 6 is to look back at all the work done from undertaking 1 to 5 and to bring forth a study.

Suggestions

The most suited technique to be used in mold is Usecase diagram. These diagrams chiefly concentrate on the users ‘ point of position. This is the cardinal advantage of utilizing these diagrams as the developers have to ever believe about the terminal users ‘ point of position in order to develop a successful system.

The pseudocode mechanism is used to compose the codification for the plan. But later this could be written utilizing a modern scheduling linguistic communication such as Java or VB.net. This could do the scheduling easy and effectual.

Decision

A better system which could be developed sing users ‘ point of position can be planned utilizing usecase diagram.

x

Hi!
I'm Niki!

Would you like to get a custom essay? How about receiving a customized one?

Check it out