Question: Section-A : Class Diagram Draw a class diagram modeling the following: In Kamloops, Snow removal trucks drive on several routes. Each truck is assigned a

Section-A : Class Diagram

  1. Draw a class diagram modeling the following:

In Kamloops, Snow removal trucks drive on several routes. Each truck is assigned a number. There are two types of trucks: dump trucks and snow plows. For dump trucks, there is a name of the type of equipment attached.

Truck goes on the route, which is a made up of several segments.

A segment is made up of several streets, and is defined by the crossing streets that start and end that segment. If the street is a dead-end, the crossing street is NULL.

Draw the class diagram, with classes, associations, multiplicities, attributes, operations, and generalizations.

  1. Draw a UML Class Diagram representing the following elements from the problem domain for a hockey league.
  • A hockey league is made up of at least six hockey teams.
  • Each hockey team is composed of six to twelve players, and one player captains the team. Each team has a name and a record. Players have a number and a position.
  • Games can be played against each other teams. Each game has a score and a location.
  • Teams may be lead by a coach. A coach has a level of accreditation and a number of years of experience, and can coach multiple teams.

Draw a class diagram for this information, and be sure to label all associations with appropriate multiplicities.

Section-B : Sequence Diagram

  1. Interpret the following sequence diagram?

Section-A : Class Diagram Draw a class diagram modeling the following: In

user ATM machine cardReader bankDatabase print 1:startMachine 2. InsertCard seq ifvalid 3: enterPin 4: validate Pin 5: showMenu seg else 6: ejectCard

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!