Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Lesson 1 of 8

Blocks written as words

Show on a big screen

6 min

Text size

Blocks are pictures of steps. Pseudocode is the same steps written in plain words. An indent is a line pushed in from the left edge.

Three blocks for a chalk border.
Step 1 of 4
  1. Three blocks for a chalk border.
  2. Each block becomes one line.
  3. The dot is inside the repeat. Its line is indented.
  4. 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.

Three blocks, three lines
BlockLineInside the repeat?
Repeat 3 timesRepeat 3 times:No
Draw a dotDraw a dot.Yes
Start a new lineStart 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.