Computer Science Grade 2 20 min

Building Block Instructions

Students write instructions for building a specific structure with building blocks. Emphasis on clear and concise language.

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify a single instruction block. Place instruction blocks in the correct order (sequence). Create a short algorithm to complete a simple task. Explain why the order of instructions is important. Find a mistake (a bug) in a sequence of instructions. Use a 'Repeat' block for steps that happen more than once. Have you ever built a cool LEGO® tower? 🧱 You have to follow steps, right? Today, we will learn how to give instructions just like a computer! We will use special 'building blocks' for each step. This helps us tell a friend, or a robot, exactly what to do. Real-World Applications Following a recipe to bake cookies 🍪 Getting ready for school in the morning ☀️ Playing a board game with rules 🎲 Building a toy from an i...
2

Key Concepts & Vocabulary

TermDefinitionExample Instruction BlockOne single, simple step in a plan. It's like one LEGO® brick. 🧱A block that says 'Move Forward 1 Step' is one instruction. AlgorithmA list of instruction blocks in the right order to finish a task. 📜To draw a square: 1. Draw line. 2. Turn right. 3. Repeat 3 more times. SequenceThe specific order that you put your instruction blocks in. ➡️You must put your socks on *before* you put on your shoes. ProgramA special algorithm that a computer or robot can understand. 💻The blocks you put together on a tablet to make a character move. BugA mistake in your algorithm that makes it not work right. 🐞Telling a robot to turn left when it should turn right. DebuggingFinding and fixing the bugs in your algorithm. It's like being a detective!...
3

Core Syntax & Patterns

Rule 1: Order Matters! Instructions must be in the correct sequence from top to bottom. Always check your blocks are in the right order. The first step goes on top! Rule 2: One Clear Job Per Block Each instruction block should do only one simple thing. Don't use a block that says 'Make a sandwich'. Use blocks like 'Get bread', 'Get jelly', 'Spread jelly'. Rule 3: The Awesome Repeat Block If you do the same action many times, use a 'Repeat' block. This makes your algorithm shorter and easier to read. It's great for hopping or walking!

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
A robot needs to plant seeds in 5 holes in a straight line, 1 step apart. Which is the most EFFICIENT (shortest) code to plant a seed in every hole, starting at the first hole?
A.[Plant Seed], [Move Forward], [Plant Seed], [Move Forward]...
B.[Plant Seed], [Repeat 4 times: {Move Forward, Plant Seed}]
C.[Repeat 5 times: {Plant Seed}]
D.[Move Forward], [Repeat 5 times: {Plant Seed}]
Challenging
The code is [Repeat 3 times: {Move Forward, Turn Right}]. If a robot follows this, what is the bug that stops it from drawing a full square? 🔲
A.The loop only repeats 3 times instead of 4
B.The robot should turn left instead of right
C.The robot moves forward too many times
D.There is no bug, this makes a square
Challenging
You only have 'Step Forward' and 'Turn Around' (180°) blocks. How can you make a robot move forward 2 steps and then come back to the exact spot it started?
A.[Step Forward], [Step Forward], [Turn Around]
B.[Step Forward], [Turn Around], [Step Forward]
C.[Step Forward], [Step Forward], [Step Forward], [Step Forward]
D.[Step Forward], [Step Forward], [Turn Around], [Step Forward], [Step Forward]

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 Unplugged Adventures: Introduction to Algorithms

Ready to find your learning gaps?

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