Computer Science
Grade 1
20 min
Building Patterns with Toys
Construct patterns using building blocks or other toys.
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify the core repeating unit in a simple pattern.
Describe a pattern using letters (e.g., ABAB).
Extend a given pattern by at least two items.
Create their own simple pattern using two or three different toys.
Explain that an algorithm is a set of steps to build a pattern.
Look at this line of toys! π§Έππ§Έπ... What toy do you think comes next? π€
Today, we will be super detectives! π΅οΈ We will find and build secret codes called patterns. Learning patterns helps us tell computers what to do.
Real-World Applications
Songs have repeating verses and choruses πΆ
Stripes on a shirt make a pattern π
Day and night repeat in a pattern βοΈπ
Traffic lights change in a pattern π¦
2
Key Concepts & Vocabulary
TermDefinitionExample
PatternA pattern is something that repeats over and over again in a special order. β¨A line of fruits like: ππππππ...
SequenceA sequence is a list of things that are in a specific order. π’First the red block, then the blue block. That is a sequence.
Core UnitThe core unit is the smallest part of the pattern that repeats. It's the secret code! π€«In the pattern ππ§Έππ§Έ, the core unit is just ππ§Έ.
AlgorithmAn algorithm is a list of steps to follow to finish a task, like building a pattern. πStep 1: Get a red block. Step 2: Get a yellow block. Step 3: Repeat!
LoopA loop is when you repeat an action or a set of steps again and again. πClap, stomp. Clap, stomp. You are doing a loop!
3
Core Syntax & Patterns
Find the Core Unit
Look for the smallest group of items that repeats.
To understand a pattern, you must first find its repeating part.
The AB Pattern Rule
Item A, Item B, Item A, Item B...
This is a simple pattern with two different items that take turns.
The ABC Pattern Rule
Item A, Item B, Item C, Item A, Item B, Item C...
This is a pattern with three different items that repeat 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 ContinueSample Practice Questions
Challenging
You need to make a long line of toys. The rule is: 'The 3rd, 6th, and 9th toy must be a π.' Which line of toys follows this rule?
A.π§Έπ§Έππ§Έπ§Έππ§Έπ§Έπ
B.π§Έππ§Έπ§Έππ§Έπ§Έππ§Έ
C.ππ§Έπ§Έππ§Έπ§Έππ§Έπ§Έ
D.π§Έπ§Έπ§Έππππ§Έπ§Έπ§Έ
Challenging
You have 6 π₯ blocks and 4 π¦ blocks. You build using the pattern π₯π¦π₯π¦... starting with π₯. You stop when you can't add the next block in the pattern. How many blocks will be in your final tower?
A.8 blocks
B.10 blocks
C.4 blocks
D.9 blocks
Challenging
The instructions (algorithm) say: 'Step 1: Add a πΆ. Step 2: Add a π±. Repeat.' Your friend built this: πΆπ±πΆπ±π±. What is wrong with how your friend followed the instructions?
A.They should have started with a cat π±.
B.They forgot to add a dog πΆ at the end.
C.They added an extra cat π± after the second dog πΆ.
D.The instructions are wrong.
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free