A bug is a mistake in your algorithm. Debugging means finding and fixing it!
Getting Ready for School
1. Wake up โ 2. Put on shoes โ 3. Get dressed โ 4. Eat breakfast โ 5. Walk to school
๐ Which step is in the wrong place? ___ The correct order is:
Planting a Seed
1. Dig a hole โ 2. Water the plant โ 3. Put the seed in โ 4. Cover with dirt โ 5. Wait for it to grow
๐ Which step should come after covering with dirt? ___ The correct order is:
Washing Your Hands
1. Turn on water โ 2. Dry your hands โ 3. Add soap โ 4. Scrub for 20 seconds โ 5. Rinse
๐ Which step is in the wrong place? ___ The correct order is:
Computers are great at patterns! What comes next?
Computers use IF-THEN rules. Finish each one:
IF it is raining THEN I will _______________
IF I am hungry THEN I will _______________
IF my friend is sad THEN I will _______________
IF _______________ THEN _______________ (write your own!)