GeekInterview.com
Series: Subject: Topic:
Question: 101 of 307

Write Test cases for Traffic Signal

Asked by: Interview Candidate | Asked on: Aug 13th, 2007

Editorial / Best Answer

Answered by: sarvesh4u

View all answers by sarvesh4u

Member Since Apr-2008 | Answered On : May 12th, 2010

Test cases on the Traffc Signal

1- There should be three signal light (Red,Yellow,Green) also there should be provision to have a left and right arrow signal.
2- At a time only one stright and aadjacent left direction should have green signal on.
3- There should be duration of 5 second after completation of Green signal.
4- At the time of Green signal the Zebra cross signal should be red.
5- There should a provision when all the signal should be closed and only zebra crossing is allowed.
6- To make sure the visibility of the signal the height of the signal pole should be grater than 10 feet.
7- There should be provision to allow maual control if it is not a digitally controled.
8- Each and every signal should have time meter in the decreasing order.
9- There should be power backup provided to the signal.
10- The intensity of the signal light should be brighter and should not be dull.

Showing Answers 1 - 5 of 5 Answers
gettoknow

Answered On : Nov 30th, 2007

View all answers by gettoknow

Verify if the traffic lights are having three lights(green,yellow,red)verify that the lights turn on in a sequenceverify that lights turn on in a sequence based on time specified(greenlight-1min,yellowlight10sec,redlight 1 min)verify that only one light glows at a timeverify if the speed of the Traffic light can be accelerated as time specified based on the trafficverify if the traffic lights in some spots are sensor activated.

Yes  1 User has rated as useful.
  
Login to rate this answer.
deep_pinu

Answered On : Jan 31st, 2008

View all answers by deep_pinu

Here it is:-1. verify that signal has 3 coloured-red,green,yellow light2. Power suppy is proper to it3. Three lights work On n Off properly4. Lights glow n dim in standard sequence5. lights glow for specified time interval - red 1min, yello 10 sec n green 1 min6. only one green light is On at a time on signal.I think these would be suffice to test.Cheers

  
Login to rate this answer.
saravanan123

Answered On : Aug 29th, 2009

View all answers by saravanan123

Test cases for Traffic Signal1.Check whether the traffic board has 3 colour of lights2.Check whether in the 3 set of light it should be red,green,orange colour lights3.Check whether at a time only one light is to be glown4.Check whether the light is visible on the day time also5.Check whether the orange light should be displayed after 10pm to morning 6 am

  
Login to rate this answer.
sarvesh4u

Answered On : May 12th, 2010

View all answers by sarvesh4u

Test cases on the Traffc Signal1- There should be three signal light (Red,Yellow,Green) also there should be provision to have a left and right arrow signal.2- At a time only one stright and aadjacent left direction should have green signal on.3- There should be duration of 5 second after completation of Green signal.4- At the time of Green signal the Zebra cross signal should be red.5- There should a provision when all the signal should be closed and only zebra crossing is allowed.6- To make sure the visibility of the signal the height of the signal pole should be grater than 10 feet.7- There should be provision to allow maual control if it is not a digitally controled.8- Each and every signal should have time meter in the decreasing order.9- There should be power backup provided to the signal.10- The intensity of the signal light should be brighter and should not be dull.

  
Login to rate this answer.

Test cases for T-Signal1. Ensure that T-signal is working fine on Power.2. Ensure that all 3 colors are glowing at frequent time.3. Ensure Red light should glow after the yellow light off.4. Ensure that yellow light should glow for 5 sec(specification) at peak hours.5. Ensure that Green light should glow after the Red light off.6. Check the time settings for each color lights.7. Ensure that no 2 color(Green, Red), (REd,Yellow), (Green, Yellow) lights or 3 color (Red,Green,Yellow)lights should not glow at same time.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.