IDENTIFY CLASSES, ATTRIBUTES, METHODS, AND RELATIONSHIPS BETWEEN CLASSES. SKETCH A CLASS DIAGRAM FOR THE APPLICATION. C+

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

IDENTIFY CLASSES, ATTRIBUTES, METHODS, AND RELATIONSHIPS BETWEEN CLASSES. SKETCH A CLASS DIAGRAM FOR THE APPLICATION. C+

Post by answerhappygod »

IDENTIFY CLASSES, ATTRIBUTES, METHODS, AND
RELATIONSHIPS BETWEEN CLASSES. SKETCH A CLASS DIAGRAM FOR THE
APPLICATION.
C++ APP FOR VACATION HOUSE EXCHANGE
Assume that you are involved in a start-up that came up with an
idea to make an app for people to exchange their houses on
vacation. The app will allow registered members to use the houses
of other members when they go on vacation. There is an initial
entry fee of $500 (paid to the system) when registering as a
member, which earns the new member 500 credit points. Initial
registrations must capture all the information necessary to be a
member, including his/her personal info (username, full name, phone
number), and the info of his/her house if available (location,
description).
Each member earns credit points when the house is used by
another member (e.g. who travels to other cities) and vice versa,
can use credit points to occupy an available house. The system will
track two separate score ratings which can vary from -10 to
+10.
• The house-rating score will reflect the utility level derived
based on the average ratings of the occupiers who have used the
house in the past.
• The occupier-rating score is derived by averaging the ratings of
all house owners who had let their houses be used by that occupier
(how well that occupier has taken care of the house).
Any member can list his or her house to be used in a particular
period (start – end), consuming points (per day), and with or
without specifying the minimum required occupier rating for
potential occupants. The minimum occupier rating can thus be used
to prevent the house from being rented to poor occupants or those
for which no history is available. Of course, the member can unlist
the house if needed.
Any member can view all available houses in a specified time
(start – end), and city. The showed list should consist of only
those houses for which the member has adequate credit points and
occupier rating. The information should also include the house
rating score of the house. Members should also be given the option
to view the reviews (score and comments) on any of the listed
houses.
Any member can request to occupy any property for which they are
eligible. The house owner can view all requests for his/her house,
including info and rating of the interested occupiers, and may
choose to a request to accept (reject all other requests with
overlapped time). Non-members can view all house details (but not
their reviews and availability), to encourage
non-members to join.
CONSTRAINT
For the initial version of the app, it could have some
limitations as below
1. Each member can only add one house to his/her account.
2. Each member can only occupy one house at a time.
3. Members are not allowed to cancel if the request is already
accepted.
4. The application is early available to users in several cities:
New York, Los Angeles, and Chicago.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply