Question: lease complete the class model and state model using correct UML notations. Submit your work to the blackboard by the deadline. Given a Traffic light

lease complete the class model and state model using correct UML notations. Submit your
work to the blackboard by the deadline.
Given a Traffic light control system
with four driving ways and one lane
on each side, provided safety
considerations. Let D be the safe
distance for a car to press break
pedal, if a car breaks in a shorter
distance that D , there is possibility
to cross the red light. A car needs to
stop before the sign of S2,S4,S6,88
(see the figure below). In the
following figure, the circle with 3
dots represents traffic light. The
dash line splits the road for two driving directions N-S, S-N, and E-W, W-E. Two
fundamental rules:
a. Each car must stop at or before sign of S2,S4,S6, or S8 when red lights.
b. In addition, a car making turn cannot hit or collide any other car(s), no
matter other car is moving or stops.
Your task is to:
Develop a class model of the system using the correct UML notation.
Design a state diagram the system using correct UML notation.
point out weaknesses of the system, and describe how the system could be
improved to be more safe.
lease complete the class model and state model

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 Programming Questions!