In operation, questions are read to the contestants. When contestants know the a
ID: 1814626 • Letter: I
Question
In operation, questions are read to the contestants. When contestants know the answer, they must buzz-in by pressing their respective button before answering. The first one to buzz-in, causes the Buzzer output to turn on along with the respective Win lamp for 2 seconds. For example, if player 2 is the first to buzz-in, the Buzzer andWin2 outputs will switch on for 2 seconds indicating that player 2 was first. At the same time, players 1 and 3 will be locked out; i.e. their pushbuttons will be disabled until the previous win times out. If two or more players buzz-in at exactly the same time, it doesn't matter which is chosen as the winner, but only one must win (a tie is not allowed). The outputs will stay on for 2 seconds only, even if any or all pushbuttons remain pressed
Explanation / Answer
Here if the logic
If( player1 = ON)
{
buzzer = ON
Win1=on
Win2=disable
Win3=disable
Wait 2 sec
}
Else if ( player2 = ON)
{
buzzer = ON
Win1= disable
Win2= ON
Win3=disable
Wait 2 sec
}
Else if ( player3 = ON)
{
buzzer = ON
Win1= disable
Win2= disable
Win3= ON
Wait 2 sec
}
Endif
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.