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
see the figure below In the
following figure, the circle with
dots represents traffic light. The
dash line splits the road for two driving directions NS SN and EW WE Two
fundamental rules:
a Each car must stop at or before sign of or when red lights.
b In addition, a car making turn cannot hit or collide any other cars 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
