Apply the Object Oriented concepts that you've learned (Abstraction, polymorphism, interfaces, packaging, ...) utilizing Boundary, control and entity concepts as well as SOLID Principles to design a Mountain camping application. This application manages a tent camping space for a configurable maximum number of tents. Each camping space (slot) is defined with a dimension (width and depth). The designed application must handle the following functions: • Each tourist shall be identified by a name, unique passport number, and his own tent dimensions (width and depth). • Each camping slot has a width and depth that describes the slot dimensions as well as slot hourly rent rate. • . Check-in function that marks the arrival time of a tourist to the camping site if there is an available slot. The application shall capture such time automatically from the system. During the check-in function, the application shall pick a free slot based on the active slot configuration. There are two configurations (i) first-come-first served slots i.e. the check-in function will use the first free slot available from the mountain camping slots. (ii) best-fit approach where you need to find the slot with the minimum dimension to accommodate the new tourist's tent. • Slot selection algorithms could be extended in the future version of the application. • Check-out function that marks the departure time of a tourist from the camping site. The application shall capture such time automatically from the system. • Calculate the tourist's stay fees during the check-out based on the time-of-stay with an hourly rate that depends on the selected slot dimension. For example, a slot with width 200 cm and width 150 cm could cost 20 LE per hour. Different dimensions imply different hourly rates. • Calculate the total current income of the camping place at any given point in time. You should use the object-oriented concepts, boundary-control-entity and SOLID principles that you learned, in both the lectures and the labs, as needed. Deliverables (i) One class diagram for the whole application to reflect all the above requirements. (ii) Skeletal code for the built class diagram in either Java or C++. This does not mean full implementation, but only classes, with their relevant attributes and empty operations that reflect the designed class diagram (like the mapping models to code lab)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Apply the Object Oriented concepts that you've learned (Abstraction, polymorphism, interfaces,
packaging, ...) utilizing Boundary, control and entity concepts as well as SOLID Principles to
design a Mountain camping application. This application manages a tent camping space for a
configurable maximum number of tents. Each camping space (slot) is defined with a dimension
(width and depth). The designed application must handle the following functions:
• Each tourist shall be identified by a name, unique passport number, and his own tent
dimensions (width and depth).
•
Each camping slot has a width and depth that describes the slot dimensions as well as slot
hourly rent rate.
•
.
Check-in function that marks the arrival time of a tourist to the camping site if there is an
available slot. The application shall capture such time automatically from the system.
During the check-in function, the application shall pick a free slot based on the active slot
configuration. There are two configurations (i) first-come-first served slots i.e. the check-in
function will use the first free slot available from the mountain camping slots. (ii) best-fit
approach where you need to find the slot with the minimum dimension to accommodate the
new tourist's tent.
•
Slot selection algorithms could be extended in the future version of the application.
• Check-out function that marks the departure time of a tourist from the camping site. The
application shall capture such time automatically from the system.
•
Calculate the tourist's stay fees during the check-out based on the time-of-stay with an hourly
rate that depends on the selected slot dimension. For example, a slot with width 200 cm and
width 150 cm could cost 20 LE per hour. Different dimensions imply different hourly rates.
• Calculate the total current income of the camping place at any given point in time.
You should use the object-oriented concepts, boundary-control-entity and SOLID
principles that you learned, in both the lectures and the labs, as needed.
Deliverables
(i) One class diagram for the whole application to reflect all the above requirements.
(ii) Skeletal code for the built class diagram in either Java or C++. This does not mean full
implementation, but only classes, with their relevant attributes and empty operations that reflect
the designed class diagram (like the mapping models to code lab)
Transcribed Image Text:Apply the Object Oriented concepts that you've learned (Abstraction, polymorphism, interfaces, packaging, ...) utilizing Boundary, control and entity concepts as well as SOLID Principles to design a Mountain camping application. This application manages a tent camping space for a configurable maximum number of tents. Each camping space (slot) is defined with a dimension (width and depth). The designed application must handle the following functions: • Each tourist shall be identified by a name, unique passport number, and his own tent dimensions (width and depth). • Each camping slot has a width and depth that describes the slot dimensions as well as slot hourly rent rate. • . Check-in function that marks the arrival time of a tourist to the camping site if there is an available slot. The application shall capture such time automatically from the system. During the check-in function, the application shall pick a free slot based on the active slot configuration. There are two configurations (i) first-come-first served slots i.e. the check-in function will use the first free slot available from the mountain camping slots. (ii) best-fit approach where you need to find the slot with the minimum dimension to accommodate the new tourist's tent. • Slot selection algorithms could be extended in the future version of the application. • Check-out function that marks the departure time of a tourist from the camping site. The application shall capture such time automatically from the system. • Calculate the tourist's stay fees during the check-out based on the time-of-stay with an hourly rate that depends on the selected slot dimension. For example, a slot with width 200 cm and width 150 cm could cost 20 LE per hour. Different dimensions imply different hourly rates. • Calculate the total current income of the camping place at any given point in time. You should use the object-oriented concepts, boundary-control-entity and SOLID principles that you learned, in both the lectures and the labs, as needed. Deliverables (i) One class diagram for the whole application to reflect all the above requirements. (ii) Skeletal code for the built class diagram in either Java or C++. This does not mean full implementation, but only classes, with their relevant attributes and empty operations that reflect the designed class diagram (like the mapping models to code lab)
Expert Solution
steps

Step by step

Solved in 6 steps

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education