2 ModelingPracticeExercises
2 ModelingPracticeExercises
The aim of this project is to design and implement a computerized Car Rental Management
System for a company called Cars.
The company rents two types of cars: standard and luxury cars. A car is identified by a car
identification number (int), a type (string), and a flag that indicates whether the car is currently
available or not.
Q1: Draw a class diagram to model the two different types of cars.
The company distinguishes between two types of customers: regular customers and corporate
customers. A customer is identified by a customer number (int), name (string), address (string),
and a telephone number (string). A corporate customer has the following additional attributes:
The name (string) and address of the customer’s company (string).
Furthermore, the customers have different types of privileges. A regular customer can only rent
standard cars for a maximum period of 20 days. Corporate customers can rent all types of cars
for a maximum period of 35 days.
The company wants also to keep track of the rental and return dates to be able, for example, to
issue warnings for customers for which the rental is overdue or to know when a car is expected
to be returned.
1
Problem 2: COEN6312 Airline Company
The Coen6312 Airline Company is a world class organization that runs flights from many cities
around the world. As part of its strategic business plan, the company has decided to renew its
IT systems. More precisely, the company wants to invest in a new and reliable airline
reservation system. The company believes that a flexible system will reduce its business cycle
times that will ultimately lead to a competitive advantage in the future.
An invitation has been issued to your consulting firm to present your software development
expertise. Should you be successful, you would have access to contracts globally that would
benefit your firm and the world community that you will be serving.
The reservation system keeps track of passengers who will be flying in specific seats on various
flights. The flight is characterized by a flight number, a departure time, an arrival time, a
departure date, and an arrival date. Flights run on a daily basis. The system should also keep
track of the delays to inform the passengers of the lateness of flights (expected departure and
arrival time).
The system should keep track of all airports. In addition, source and destination cities must also
be maintained. During booking, a passenger must present his or her personal information
including passport number, name, address, and telephone to an agent. An airline agent makes
the booking.
In addition, the system can be used by the operations manager to assign crew members to
specific flights. Crew members are employees of the airline company. It is important to
identify who does what and who supervises whom.