Be on the lookout

Students may carry over their experience with Sensor Watcher, expecting the Stack Decision Makers to act on input whenever it comes.

 

What you can do: Use Transparency #6A to help guide a discussion about time-dependent input. Especially help students understand that the On AC block in the  program NoChance2 doesn’t “buy” any time. It takes practically no time to execute. Therefore, a bright light shining at the sensor a fraction of a second after the Run button had been pressed is coming in too late for the Decision Makers to consider it as input.

 

Close Window