Previous site

Quiz Table: The Answer Is…

Build a quiz table whose light turns on when you press the touch button.

Build a quiz table whose light turns on when you press the touch button.

Quiz Table: The Answer Is…
Finished model

Blocks needed

  • × 1
  • × 1
  • × 12
  • × 17
  • × 1

How to build 22 steps

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
  7. Step 7
  8. Step 8
  9. Step 9
  10. Step 10
  11. Step 11
  12. Step 12
  13. Step 13
  14. Step 14
  15. Step 15
  16. Step 16
  17. Step 17
  18. Step 18
  19. Step 19
  20. Step 20
  21. Step 21
  22. Step 22
1 / 22

Coding mission

Let’s play a quiz show with friends! Press the touch sensor button first to get the red light and win the chance to answer.

Blocks and their jobs

  • Master BlockDisplay light
  • Touch Sensor BlockAnswer button

Let's think

In a conditional statement: Close Block vs Endless Loop Block

Ending with the Close Block

When the code starts, the sensor checks the condition once. If nothing is detected, the code just ends. (Each block runs for 1 second.)

Ending with the Endless Loop Block

When the code starts, the sensor checks the condition. Even if nothing is detected, the code runs again from the start, so the sensor keeps checking.

Show the solution

Don’t know the answer? Don’t press – the Master Block stays blue. Know the answer? Press the button – the Master Block turns red. The endless loop block keeps checking whether the button is pressed.

Mission complete!

Built it and coded it? Tap to save your progress.