Lesson 1 of 8
Blocks written as words
Show on a big screenBlocks are pictures of steps. Pseudocode is the same steps written in plain words. An indent is a line pushed in from the left edge.
Step 1 of 4
- Three blocks for a chalk border.
- Each block becomes one line.
- The dot is inside the repeat. Its line is indented.
- The new line is not inside. It is not indented.
The rule
Each block becomes one line of plain words. The lines keep the block order. An indent shows what is inside a repeat.
In this plan, only the indented line runs three times.
| Block | Line | Inside the repeat? |
|---|---|---|
| Repeat 3 times | Repeat 3 times: | No |
| Draw a dot | Draw a dot. | Yes |
| Start a new line | Start a new line. | No |
The border is 3 dots on one line, then a new line.
Match the blocks to their words.
Loading lab…
Try the lab to finish this lesson.