Professional Documents
Culture Documents
SENG 211 Midterm Study Question
SENG 211 Midterm Study Question
• The vehicles will be shown with their type, id and number plate properties.
• The vehicles will be shown with their type, id and cost properties.
• Customer and vehicle IDs are needed to rent a vehicle. Renting rules must be handled. For
instance, A Person can rent only vehicles that are available for Person, a Person cannot rent a
Car if he/she doesn't have a B type driving license, a Company can rent only vehicles that are
available for Company, etc.
You are not supposed to develop the whole system. Input data is in files, and another developer will
be responsible to read input from files. However, it is your responsibility to design an interface
containing the methods you need. The other developer will implement your interface to read input
from files, and return to your part of the program.
Generate the class diagram to design your system, put necessary properties and methods, and
implement the critical parts only. You are not supposed to develop a complete, running program. Do
not try to code each requirement in detail!