Buttons and what they do

Computer Science · Early Years · The School

One button, one job

A doorbell does one job. It rings. A light switch does one job. It turns the light on or off. A toy's "on" button does one job too. It turns the toy on. Every time you press it, the same thing happens. Nothing surprising ever pops out.

Testing it

Press a button gently. See what happens. Press the very same button hard. See what happens this time. Press it quickly. Press it slowly. For most simple buttons, the result is exactly the same, every single time you try. Try it on three different toys and check.

Why this matters

Because a button always does the same job, you can trust it. You do not need to wonder what will happen this time. You already know. That is what makes buttons so easy and safe to use, even for something brand new. A new toy still follows this same rule.

Find a toy with just one button. Press it gently. It makes a sound. Press it hard. The exact same sound. Press it quickly, then let go fast. Same sound again. Press it and hold it a little longer. Still the same sound. Press it one more time, just to be sure. Same sound, a fifth time. Five different presses. One single result, every time.

The School — all subjects · Knowledge map