Programming for Children
Primary 4 · Science and Elementary Technology
Programming for Children
Lesson 1 of 5
14 min
Let's begin
Gatete watches a little turtle on the laptop screen. Every time he snaps a block into place and clicks it, the turtle crawls forward and leaves a coloured line behind it. "I'm not drawing," Gatete says. "I'm telling the turtle what to draw!"
Telling a computer exactly what to do, step by step, is called programming.
Turtle Blocks (also called Turtle Art) is a program where you snap coloured blocks together to give instructions to a turtle. As the turtle moves, it draws lines. A group of blocks joined together is a program (or a stack).
On a Sugar laptop, go to the Home view and click the Turtle Blocks icon (a turtle). If you cannot see it, type "Turtle" in the search box.
Give your project a clear title in the Activity toolbar. Click Stop to close Turtle Blocks. Like all Sugar activities, your project is kept in the Journal, so you can open it again later and carry on.
Tip
Drag, snap, run
Drag a block from a palette, snap it onto your stack, then run it. Use the snail when you want to see each step slowly.
Try each one first, then tap Show answer to check.
What do we call a group of blocks joined together that tells the turtle what to do?
Answer: A program (or stack).
Keza wants to watch her program one step at a time. Which button should she click?
Answer: The snail (run slowly).
How do you delete a block you do not need?
Answer: Drag it back onto the palette.
Where can you find your Turtle Blocks project tomorrow?
Answer: In the Journal.
What you learned today
Sources and credits
The exercises (Try it yourself and the practice questions) are written by Ganzaa. Turtle Blocks is free software from Sugar Labs.
Quick check