Module 1 Study Guide

What is Thinking Like a Coder?

Think Like a Coder -- Kids Coding Course -- Safaa Dabagh

1. What Computers Actually Do

Computer: A machine that follows a list of instructions very quickly and very accurately. It does exactly what it is told -- nothing more, nothing less.

The Big Idea

Computers do NOT think. They do not guess. They do not have ideas. They just follow instructions that people write for them. If nobody gives a computer instructions, it just sits there doing nothing.

A computer is a machine that follows instructions. People called programmers write those instructions.

Computers Are Everywhere

Computers are not just laptops and phones. They are inside many everyday things:

Fun Fact: A modern car has more than 100 tiny computers inside it! They control the engine, the brakes, the air conditioning, the radio, and much more.

2. Giving Good Instructions

Ambiguity: When something could mean more than one thing. Computers cannot handle ambiguity. Every instruction must have only one clear meaning.

Four Rules for Good Instructions

Rule What It Means Example
One step at a time Each instruction should describe just one action "Open the jar" then "Pick up the knife" (not "Open the jar and get a knife")
Be specific Avoid vague words like "some" or "over there" "Take 3 steps forward" (not "Walk a little")
Right order Steps must happen in the correct sequence Put on socks BEFORE shoes
Do not skip steps Include every step, even obvious ones Do not forget "pick up the toothbrush" before "put toothpaste on it"
Fun Fact: The peanut butter sandwich challenge has been used to teach computer science for over 20 years! Teachers all around the world use it because it shows perfectly how computers interpret instructions.

3. The Robot Game

What We Learned

In the Robot Game, one person acts as a robot and the other gives instructions. The robot can only follow simple commands:

Important Skills from the Robot Game

Decomposition: Breaking a big task into smaller, simpler steps. Example: "Bring me the cup" becomes many small commands like STEP FORWARD, TURN RIGHT, PICK UP, and so on.
Sequencing: Putting steps in the right order. The order matters! You cannot pick something up before you walk to it.
Debugging: Finding and fixing mistakes in your instructions. When the robot went the wrong way, you figured out which instruction was wrong and changed it.
The Robot Game uses the same skills that real programmers use every day: decomposition, sequencing, and debugging.

4. First Look at Scratch

Scratch: A free programming language for kids. You drag colorful blocks and snap them together to make programs. It works in a web browser at scratch.mit.edu.

Parts of the Scratch Screen

Part Where It Is What It Does
Stage Top right Where sprites perform and you see your project run
Sprite On the stage A character that follows your block instructions (the cat!)
Blocks Palette Left side Shows all the blocks you can drag into your project
Coding Area Middle Where you snap blocks together to build your program
Green Flag Above the stage Starts your program
Red Stop Above the stage Stops your program

Blocks We Used

Block Category (Color) What It Does
"when green flag clicked" Events (yellow) Starts your program when the green flag is clicked
"say Hello! for 2 seconds" Looks (purple) Makes the sprite show a speech bubble with a message
"move 10 steps" Motion (blue) Moves the sprite forward by a certain number of steps
Scratch blocks run from top to bottom, one at a time. This is a sequence -- the same idea you practiced on paper and in the Robot Game!
Fun Fact: Scratch was created at MIT (Massachusetts Institute of Technology), one of the most famous universities in the world. Over 100 million projects have been made with Scratch!

Vocabulary Words

Word What It Means
Algorithm A step-by-step list of instructions for how to do something (like a recipe)
Sequence The order that steps happen in
Instruction One single step that tells exactly what to do
Bug A mistake in a program that makes it do the wrong thing
Debugging Finding and fixing mistakes
Decomposition Breaking a big task into smaller steps
Ambiguity When something could mean more than one thing
Programmer A person who writes instructions for computers
Sprite A character on the Scratch stage
Stage The area in Scratch where sprites perform

Key Reminders

1. Computers follow instructions. They do not think on their own.
2. Good instructions are specific, in the right order, and do not skip steps.
3. An algorithm is a step-by-step list of instructions.
4. A sequence is the order steps happen in.
5. A bug is a mistake. Debugging is fixing mistakes.
6. Scratch blocks run from top to bottom.
7. The green flag starts a Scratch project.

Module 1: What is Thinking Like a Coder? -- Study Guide

Think Like a Coder -- Kids Coding Course -- Safaa Dabagh -- sdabagh.github.io

© 2025