1.

Design a traffic control system.

Answer»

Generally, in a traffic CONTROL system, we see that the LIGHTS TRANSITION from RED To GREEN, GREEN to ORANGE and then to RED.

  • What are some of the Required Features?
    • Transition traffic lights based on the conventions.
  • What are some of the common problems encountered?
    • Determine the time interval for which the state of the traffic lights has to change.
    • What happens in worst-case scenarios where the state is wrongly shown?
  • POSSIBLE tips for consideration:
    • Make use of state design patterns and scheduling algorithms for the transition of the state from one COLOUR to another.


Discussion

No Comment Found