Coding Tutorial for Kids
Learn how to turn a flowchart plan into real Scratch code, step by step!
A flowchart is like a map for your program! Before you write any code in Scratch, you draw out your plan using shapes and arrows. Each shape means something different โ just like road signs!
Every flowchart uses the same set of shapes. Once you know what each one means, you can read ANY flowchart โ and convert it to Scratch!
Marks where the program starts or ends. Every flowchart has these!
An action that happens: move, say something, change a score!
Input = get info in. Output = show info to the user!
A YES or NO question. The program branches two ways!
| Shape | Name | Meansโฆ | Example |
|---|---|---|---|
|
Oval
|
Terminal | Start or End | Start, Stop, Begin |
|
Rectangle
|
Process | Do an action | Move 10 steps, Play sound |
|
Slanted
|
I/O | Input or Output | Ask question, Say answer |
|
Diamond
|
Decision | Yes/No branch | If score > 10, If touching? |
Every flowchart shape matches a type of Scratch block! Once you spot the shape, you know which block to use. Let's go through each one:
Here's a complete example! On the LEFT is the flowchart plan. On the RIGHT is the Scratch code it converts to. See how every shape becomes a block!
You finished the quiz!