Traffic light control sequence flowchart   A typical traffic light control sequence for a 4 road junction has been described below (for a road system where the vehicles keep to their left  while driving  i.e. Australia, UK, South Africa etc). The light changes as per the sequence listed below: A.      Before switch ON, all 4 roads should  get ‘flashing yellow’ so as to enable them to look around and cross the road junction. B.      When switched ON, Main roads 1 & 3 should get green signals G1/G3 to go straight. This signal remains on for 30 seconds. C.      The above signals should be changed over to go right GR1/GR3  for 15 seconds only if any sensor  S1/S3 of vehicles waiting to turn  right is detected in the right turn lane . This will take place after a brief yellow signals Y1/Y3 in between. D.     In case no vehicle is waiting for right turn, the roads 1 & 3 should be  closed with red signals R1/R3 and interim yellow signals Y1/Y3 for 2 seconds. E.      The above procedure steps B-D should be repeated for side roads 2 & 4. F.       The signalling continues from steps B-E till switched off. G.     The timings for straight or right turns should all be programmable. For all changes from Green to Red, interim Yellow signals should be used. Draw a simple flow chart that describes the process requirement for the Traffic light change over as listed in the problem statement.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section: Chapter Questions
Problem 10PP
icon
Related questions
Question

Traffic light control sequence flowchart

 

A typical traffic light control sequence for a 4 road junction has been described below (for a road system where the vehicles keep to their left  while driving  i.e. Australia, UK, South Africa etc).

The light changes as per the sequence listed below:

A.      Before switch ON, all 4 roads should  get ‘flashing yellow’ so as to enable them to look around and cross the road junction.

B.      When switched ON, Main roads 1 & 3 should get green signals G1/G3 to go straight. This signal remains on for 30 seconds.

C.      The above signals should be changed over to go right GR1/GR3  for 15 seconds only if any sensor  S1/S3 of vehicles waiting to turn  right is detected in the right turn lane . This will take place after a brief yellow signals Y1/Y3 in between.

D.     In case no vehicle is waiting for right turn, the roads 1 & 3 should be  closed with red signals R1/R3 and interim yellow signals Y1/Y3 for 2 seconds.

E.      The above procedure steps B-D should be repeated for side roads 2 & 4.

F.       The signalling continues from steps B-E till switched off.

G.     The timings for straight or right turns should all be programmable. For all changes from Green to Red, interim Yellow signals should be used.

Draw a simple flow chart that describes the process requirement for the Traffic light change over as listed in the problem statement.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
ListBox
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning