Computer Science Grade 2 20 min

Algorithm Review: Our Morning Routine

Students review algorithm concepts by describing their morning routine as a sequence of steps.

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify the steps in a daily routine. Place instructions in the correct order (sequence). Explain why the order of steps is important. Find a mistake (a bug) in a sequence of instructions. Create a simple algorithm for a familiar task. Define the term 'algorithm' in their own words. How do you get ready for school each morning? ☀️ Let's think about the steps! We will learn about algorithms. An algorithm is just a list of steps. Following steps helps us get things done correctly! Real-World Applications Following a recipe to bake cookies 🍪 Building with LEGO instructions 🧱 Playing a board game with rules 🎲 Getting ready for school 🎒
2

Key Concepts & Vocabulary

TermDefinitionExample AlgorithmA list of steps to finish a task. 📝The steps to brush your teeth is an algorithm. SequenceThe order that the steps happen in. 順番First you wake up, then you get out of bed. InstructionOne single step in your algorithm. ☝️A single instruction is 'put on your left sock'. ProgramAn algorithm written for a computer to read. 💻The code that makes a character jump in a game. BugA mistake or error in the steps. 🐞A bug is putting on your shoes before your socks. DebuggingFinding and fixing the mistakes (bugs). 🛠️Realizing your shoes are on wrong and fixing it.
3

Core Syntax & Patterns

The Order Rule First, Next, Then, Last Steps in an algorithm must be in the correct order to work. The Clear Steps Rule Be Specific! Instructions must be very clear so anyone can follow them. The One Thing at a Time Rule One Step ➡️ Next Step Computers follow one instruction at a time, in order.

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
It's raining today! 🌧️ To improve your 'get ready' algorithm, you add a step. What is the best new step?
A.Eat breakfast faster
B.Add 'Get an umbrella' before leaving
C.Wear sunglasses
D.Brush your teeth twice
Challenging
You are late for school! To make your morning algorithm faster (optimize it), what is the BEST change to make?
A.Skip brushing your teeth
B.Skip getting dressed
C.Pick out your clothes the night before
D.Run to the kitchen instead of walking
Challenging
Debug this algorithm: 1. Put bread in toaster. 2. REPEAT 3 times: [Spread jam on bread]. 3. Push toaster lever down.
A.Toast the bread BEFORE spreading jam on it.
B.You only need to spread jam one time.
C.You should get a plate first.
D.The loop count is wrong.

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.