Computer Science Grade 2 20 min

Drawing a House: Step-by-Step

Students learn to break down drawing a house into a sequence of steps.

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Explain that an algorithm is a list of steps. Identify the correct sequence for a set of instructions. Create a simple, step-by-step algorithm to draw a house. Follow a given algorithm to complete a drawing task. Find a 'bug' or mistake in a short sequence of instructions. Use precise command words like 'draw' and 'color'. Have you ever told a friend how to build a LEGO tower? 🧱 You gave them instructions! Today, we will learn how to give instructions to a computer. We will write the steps to draw a house. This is called an algorithm! 🏠 Real-World Applications Following a recipe to bake cookies 🍪 Building a LEGO set using the manual 🚀 Getting ready for school in the morning ☀️ Playing a board game with rules 🎲...
2

Key Concepts & Vocabulary

TermDefinitionExample AlgorithmA list of steps to finish a task. It's like a recipe! 📜To make a peanut butter sandwich: 1. Get bread. 2. Spread peanut butter. 3. Put slices together. SequenceThe order that steps happen in. First, next, then last. ➡️You must put on your socks BEFORE you put on your shoes. That is the correct sequence. CommandA single instruction or action. It tells the computer what to do. 💻'Draw a circle' is a command. 'Jump' is a command for a game character. ProgramA set of commands that a computer can follow. It's a full algorithm for the computer. 🤖All the steps to make a character walk and jump in a game make a program. BugA mistake in a program that stops it from working right. 🐞If the recipe says 'add salt' instead of &#0...
3

Core Syntax & Patterns

Order Matters! Instructions must be in the correct sequence. Always think: what needs to happen first? You can't draw a window on a house that isn't there yet! Be Super Clear! Commands must be simple and specific. Don't say 'draw a thing'. Say 'draw a big square'. Computers need exact instructions.

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
You need to draw a house with 4 identical windows. Which is the MOST efficient and logical algorithm?
A.1. Draw house body and roof. 2. Draw door. 3. Repeat 4 times: Draw window.
B.1. Draw house body. 2. Repeat 4 times: Draw window. 3. Draw roof and door.
C.1. Draw house body and roof. 2. Repeat 2 times: Draw window. 3. Move down. 4. Repeat 2 times: Draw window.
D.1. Draw house body. 2. Draw window. 3. Draw window. 4. Draw window. 5. Draw window. 6. Draw roof.
Challenging
A robot drew a house, but the door is floating to the left of the house. The instructions were: 1. Draw door. 2. Move right. 3. Draw square. 4. Draw roof on square. How do you debug this algorithm?
A.Swap step 3 and step 4.
B.Delete step 1.
C.Move step 1 to be between step 3 and step 4.
D.The algorithm is perfect.
Challenging
You have these blocks: `Repeat 4 times`, `Draw Wall`, `Turn Left`. To draw the four walls of the house, what is the correct algorithm?
A.Repeat 4 times { Draw Wall, then Turn Left }
B.Repeat 4 times { Draw Wall }
C.Draw Wall, then Turn Left
D.Repeat 4 times { Turn Left }

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from Sequencing and Algorithms: Giving Instructions

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.