0% found this document useful (0 votes)
7 views3 pages

Programming_Assignment_Advanced_1_2024

Programming

Uploaded by

karankumar71038
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Programming_Assignment_Advanced_1_2024

Programming

Uploaded by

karankumar71038
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming Assignment Advanced 1 - 2024

Our client has several vacation parks located across the country. Each park consists of several

streets

and houses that are rented out for vacation stays. In each park, various facilities are available, such

as

a swimming pool, mini-golf, restaurant, playgrounds, etc. Currently, there are already 20,000

customers,

8 parks, and approximately 250 houses distributed across the various parks. Our task is to provide

the

necessary software to manage all the rental agreements.

A park is characterized by a unique numerical identifier, a name, and a location. Each house also

has

a unique numerical identifier and an address within the park (street name and number). If a house

requires

maintenance, we must ensure that no rental agreements can be made for that house. Only when

the house is

fully functional again can it be rented out.

Note: There might already be reservations made for that house. In such cases, the "problematic

reservations"

must be listed so that alternative proposals can be made to the renters.

For a rental contract, we always mention the start and end date of the rental, the customer for whom

the
contract is made, and the house. Each rental contract also has a unique identifier.

A significant amount of data is already available, provided to us in text files:

- A list of the different parks: parken.txt (id, name, and location).

- The various facilities: faciliteiten.txt (id and description).

- An overview of facilities per park: parken_faciliteiten.txt (park_id and facility_id).

- A list of the different houses: huizen.txt (id, street, number, true if the house is active, and false if

the

house is under maintenance, and finally the number of people the house can accommodate).

- An overview of which houses belong to each park: park_huizen.txt (park_id and house_id).

- An overview of reservations (both past reservations and future reservations): reservaties.txt

(reservation_id, start date, end date, and customer number).

- An overview of the reservations per house: huis_reservaties.txt (house_id and reservation_id).

- A list of all customers: klanten_park.txt (customer_id, name, and address).

Assignment

The task is to import the existing data into a database. Additionally, an application must be created

that offers

the following functionality:

- Creating Reservations:

- It must be possible to create a reservation for a customer.

- The customer must be able to easily and user-friendly select a park. Options such as choosing

based on location

or available facilities should be offered.

- Once the customer selects a park, they must specify the number of people and the desired rental
period.

- The application will then display the available houses in the park, after which the customer makes

their choice,

and the reservation is saved.

- Searching Reservations:

- It must be possible to search for reservations based on the customer (name) or based on a period

and park.

- Placing a House Under Maintenance:

- Before placing a house under maintenance, the reservations that may need to be adjusted must

first be displayed.

- These reservations must be saved so that each customer can be offered a new proposal.

Adding customers, parks, and houses is not required at this stage.

Good luck!

You might also like