Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.41 KB

File metadata and controls

37 lines (27 loc) · 1.41 KB

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

Question 02

In the car rental agency, a customer can reserve and return vehicles. The rental agent manages the fleet of cars and processes rental agreements. Customers can search for available cars by type or location. Each vehicle has a unique registration number and a rental rate that determines the daily cost. The system tracks vehicle maintenance schedules and generates invoices for completed rentals.

  1. Write down all the nouns identified from the 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 what rule you use to remove the 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