Question: [ Logic 3 ] Define a red - light waiCng sequence ( do not include the other light states ) with a request to walk

[Logic 3] Define a red-light waiCng sequence (do not include the other light states) with a
request to walk bu^on and a car sensor. Determine the red light duraCon if the following
duraCons are applied to the other light states: Green=50 sec., Amber=20 sec. write a pseudo code . Request-To-Walk Bu0on
A bu^on is provided for pedestrians to press to alert the system a person needs to cross. This is
only effecCve when the lights are in a red-light state. This request will reduce the remaining
wait Cme of the red-light state to 10seconds.
Car Sensor
There is a sensor mounted on the light fixtures that monitors the number of waiCng cars when
in a red-light state. When the number of cars waiCng reaches 5or more, the sensor will trigger
the system to reduce the remaining wait Cme of the red-light state to 10seconds.

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!