Rocket is ready for a test flight. His steps say press launch, put on helmet, then buckle the pack.
Raven holds up a hand. "Wait! What do you notice about the first step?" Rocket reads it again. "Oh no. I launch before my helmet is on!"
Nova blinks. "That is a bug. Bugs are normal. Let's debug together." Rocket fixes the order with a smile. Now let's hunt for a bug in some shoe steps.
ROCKET wrote steps for a test flight. 1) press launch, 2) put on helmet, 3) buckle rocket pack. The helmet and pack must come BEFORE launch. That's a BUG. Rocket needs to gear up first, THEN launch. Let's practice being bug detectives.
Bugs are normal. Every programmer meets them.
A bug detective follows the same plan each time. Test it, find where it goes wrong, fix it, then test again.
| Statement | True or false? |
|---|---|
| Even expert programmers make bugs. | ? |
| A bug means the whole program must be thrown away. | ? |
| Testing again after a fix is a good habit. | ? |
| Reading one step at a time helps you find bugs. | ? |
Read these steps for tying a shoe. Which step is in the WRONG ORDER?