1.
Consider the following incomplete domain class diagram representing a sports team
and its players. Complete the diagram such that the model also represents games
played by players and the performance statistics of each player in each game.
2. Consider the following Domain Class Diagram:
1. A student may be enrolled in more than one course section at a time. True or False? (2 marks)
2. A student must be enrolled in a course. True or False? (2 marks)
3. The model stores information about all grades earned by all students in all sections. True or False? (2 marks)
4. Does this model allow a student to enroll in several sections of the same course and a get a grade for each
enrollment. Yes or No? (2 marks)
3. Explain the concept of level of abstraction and how it applies to models that we use
in systems analysis and design. Give at least one example of a model with a higher
level of abstraction versus a model with a lower level of abstraction.
4. Draw a Domain Class Diagram representing the following classes, their attributes,
and their relationships:
a. Class: Vehicle
i. Attributes: weight
ii. Attributes: topSpeed
b. Class: WheeledVehicle
i. Attributes: numberOfWheels
c. Class: AquaticVehicle
i. Attributes: buoyancy
d. Class: Car
i. Attributes: footPedal
e. Class: Motorcycle
i. Attributes: handClutch
f. Class: Boat
i. Attributes: rudder
g. Class: Driver
i. Attributes: name
h. Class: Passenger
i. Attributes: name
All vehicles can have only one driver
All vehicles can have any number of passengers
All vehicles do not necessarily need to have any drivers or passengers