Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Seaview Castle Visitor Centre is open seven days a week. It offers a range of facilities and activities including meeting rooms, a permanent fossil exhibition,

Seaview Castle Visitor Centre is open seven days a week. It offers a range of facilities and activities
including meeting rooms, a permanent fossil exhibition, supervised walks along the cliff tops and an
old stone quarry.
There are three meeting rooms, which can each be booked separately. There is one large room
that can be used for a variety of activities such as showing films, holding presentations, displaying
exhibitions or wedding receptions. There are also two smaller meeting rooms. Each room can be
booked by the day according to the following tariff:
Room
Cost per day
large
$295
small 1
$175
small 2
$150
Write and test a program or programs to arrange meeting room bookings:
Your program or programs must include appropriate prompts for the entry of data. Data must be
validated on entry.
All outputs, including error messages, need to be set out clearly and understandably.
All variables, constants and other identifiers must have meaningful names.
You will need to complete these three tasks. Each task must be fully tested.
Task 1- setting up a booking system structure for the meeting rooms
Set up suitable data structures for each of the three meeting rooms to store:
when it is booked during a fixed eight-week period
the client's name (the person making the booking)
a unique booking code
the cost of the booking.
Task 2- booking a meeting room
Extend the program in Task 1 to enable bookings to be made so that the client enters their name,
the meeting room required and the day of the booking. After the data has been entered, the program
should check if the requested day is available for the required meeting room and if not, the client
should be allowed to enter an alternative day or exit the program.
If the requested day is available, the booking details and cost of the booking should be output for
the client to confirm. Once confirmed, a unique booking code should be generated and stored in
both the appropriate meeting room data structure and the unique booking code data structure. The
client's name and cost of the booking should be stored in the appropriate data structures set up in
Task 1.
Bookings of more than one day must be entered as separate single day bookings.
Task 3- using the booking data
Extend the program in Task 1 and Task 2 to make use of the data that is available, to:
select a meeting room and output the days when it is free
total and output the amount of money currently taken for all three meeting rooms
check the bookings for a specific client. Here is a copy of the pre-release material.
DO NOT attempt Tasks 1,2 and 3 now.
Use the pre-release material and your experience from attempting the following tasks before the
examination to answer Question 1.
Pre-release material
Seaview Castle Visitor Centre is open seven days a week. It offers a range of facilities and activities
including meeting rooms, a permanent fossil exhibition, supervised walks along the cliff tops and an
old stone quarry.
There are three meeting rooms, which can each be booked separately. There is one large room
that can be used for a variety of activities such as showing films, holding presentations, displaying
exhibitions or wedding receptions. There are also two smaller meeting rooms. Each room can be
booked by the day according to the following tariff:
Write and test a program or programs to arrange meeting room bookings:
Your program or programs must include appropriate prompts for the entry of data. Data must be
validated on entry.
All outputs, including error messages, need to be set out clearly and understandably.
All variables, constants and other identifiers must have meaningful names.
You will need to complete these three tasks. Each task must be fully tested.
Task 1- setting up a booking system structure for the meeting rooms
Set up suitable data structures for each of the three meeting rooms to store:
when it is booked during a fixed eight-week period
the client's name (the person making the booking)
a unique booking code
the cost of the booking.
Task 2- booking a meeting room
Extend the program in Task 1 to enable bookings to be made so that the client enters their name,
the meeting room required and the day of the booking. After the data has been entered, the program
should check if the requested day is available for the required meeting room and if not, the client
should be allowed to enter an alternative day or exit the program.
If the requested day is available, the booking details and cost of the booking should be output for
the client to confirm. Once confirmed, a unique booking code should be generated and stored in
both the appropriate meeting room data structure and the unique booking code data structure. The
client's name and cost of the booking should be stored in the appropriate data structures set up in
Task 1.
Bookings of more than one day must be entered as separate single day bookings.
Task 3- using the booking data
Extend the program in Task 1 and Task 2 to make use of the data that
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

How should a consultant be selected?

Answered: 1 week ago

Question

Why is a consulting contract needed?

Answered: 1 week ago