← Back to Module 3

Module 3: Step-by-Step Thinking -- Study Guide

Lesson 1: What is Decomposition?

Decomposition means breaking a big task into smaller, easier pieces. Instead of doing one huge thing, you do a bunch of small things, one at a time.

Why Decomposition Helps

Example: "Clean your room" breaks down into: pick up clothes, put books on shelf, put toys in bin, make bed, put dishes in sink, check under bed.
Key idea: Every big task is really just a bunch of small tasks put together.

Lesson 2: Writing Clear Instructions

Sequencing means putting steps in the right order. When you write instructions, you have to think about which step comes first, second, and so on.

Four Rules for Great Instructions

RuleWhat It Means
Start at the beginningDo not skip the first steps
One action per stepEach step tells you to do just one thing
Put steps in orderThink about what needs to happen first
Be specificSay exactly what to do, not a vague description

Common Problems

Key idea: Computers follow instructions exactly. They cannot guess what you meant, so every step must be clear and in the right order.

Lesson 3: Recipes and Directions

Three Ways to Show Steps

FormatWhat It IsBest For
Numbered listSteps written as 1, 2, 3...Simple instructions
RecipeIngredients plus numbered stepsCooking, crafts, experiments
FlowchartBoxes and arrows showing orderSeeing the whole plan at a glance
Flowchart -- A diagram that shows steps in order. It uses boxes to hold each step and arrows to connect them. You read it by following the arrows from start to finish.
Key idea: Coders often draw flowcharts to plan their programs before writing any code.

Lesson 4: Sequencing in Scratch

Sequence (in coding) -- A set of instructions that run in order, one after the other, from top to bottom.

Important Scratch Blocks

BlockWhat It Does
when green flag clickedStarts the program when you click the green flag
say [text] for (2) secondsMakes the sprite show a speech bubble with text
wait (1) secondsPauses the program for a moment
move (10) stepsMoves the sprite forward
turn right (15) degreesTurns the sprite to the right
pen downMakes the sprite draw a line as it moves
pen upStops the sprite from drawing
switch costumeChanges how the sprite looks

Drawing Shapes

ShapeSidesTurn Degrees
Triangle3120
Square490
Pentagon572
Hexagon660
Key idea: A stack of Scratch blocks is just a set of clear, ordered instructions -- the same skill you have been practicing all module!

Big Ideas to Remember

  1. Decomposition = breaking big things into small steps
  2. Sequencing = putting steps in the right order
  3. Clear instructions = one action per step, specific, complete
  4. Flowcharts = pictures that show steps with boxes and arrows
  5. Scratch sequences = blocks snapped together, running top to bottom
  6. Order matters in recipes, directions, flowcharts, and code