Algorithms, loops and bugs
Name ______________ Date ____________
Computer Science Education Week is held in December. People learn how computers follow steps. A set of steps that solves a problem is called an algorithm. A loop repeats steps. A bug is a mistake in the steps. You can test steps on paper.
Answer from the reading.
- A set of steps that solves a problem is called what?a) bugb) algorithmc) pattern
- A loop repeats steps.TrueFalse
- Which word means do steps again and again?
- What comes next? 5, 10, 15, 20, ___
- Repeat 4 times: draw 3 dots. How many dots in all?
- What comes next? A, B, B, A, B, B, A, ___a) Bb) Ac) C
- Steps to make toast: 1. Eat the toast. 2. Put bread in the toaster. 3. Wait for it to pop up. Which step number is out of order?
Write three steps to wash your hands. Check that they are in the right order.