Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.3 KB

File metadata and controls

37 lines (27 loc) · 1.3 KB

⬅️ Previous | 1 | 2 | 3 | 4 | 5-A | 5-B | ➡️ Next

Question 02

A hotel management system allows guests to book rooms, request room service, and check out. The receptionist manages room availability, processes payments, and handles guest check-ins and check-outs. Housekeeping staff are notified when a room needs cleaning after a guest leaves.

  1. List all the nouns you can identify from this description.
  2. Using the following rules, remove unnecessary nouns from your list: (Redundant nouns, Events or operations, Nouns outside the scope of the system, Meta-language terms, Attributes of other entities) Write down which rule you use to remove each noun.
  3. Create CRC (Class, Responsibility, Collaboration) cards for the classes. Include the following information on the card:
    • Class Name
    • Responsibilities
    • Collaborators

Example CRC Card Format:

Class: Car
Responsibilities:
- Add car details
- Rent car to customer
- Return car and update availability
Collaborators:
- Customer
- RentalAgent

⬅️ Previous | 1 | 2 | 3 | 4 | 5-A | 5-B | ➡️ Next