Scratch in the classroom (Basic Mathematical Operations)
Primary 6 Second Term Lesson Notes – Week 9
Subject: Computer Studies
Class: Primary 6
Term: Second Term
Week: 9
Topic: Scratch in the Classroom – Basic Mathematical Operations
Behavioral Objectives
By the end of this lesson, pupils should be able to:
- Explain the concept of mathematical operations in Scratch.
- Use Scratch blocks to perform basic mathematical operations (addition, subtraction, multiplication, and division).
- Create a simple project using Scratch to perform calculations.
- Understand how to use the operator blocks in Scratch for solving math problems.
Keywords
- Scratch
- Operators
- Addition
- Subtraction
- Multiplication
- Division
- Blocks
- Calculation
Set Induction
The teacher will introduce the lesson by asking pupils if they know how to use Scratch for calculations. The teacher will display a simple project where Scratch is used to add two numbers and ask pupils if they can guess how it works.
Entry Behavior
Pupils have experience using Scratch to draw shapes and animate objects. They are familiar with basic mathematical operations such as addition, subtraction, multiplication, and division.
Learning Resources and Materials
- Computer systems with Scratch installed
- Projector (optional)
- Worksheet with instructions on creating a Scratch project for basic math operations
- Example Scratch project demonstrating basic operations
Building Background/Connection to Prior Knowledge
Pupils are familiar with basic math operations (addition, subtraction, multiplication, and division) and have learned how to use Scratch for creating shapes. This lesson will build on their knowledge by integrating math with coding.
Embedded Core Skills
- Problem-solving
- Logical thinking
- Creativity
- Technology skills
- Analytical thinking
Instructional Materials
- Scratch software interface
- Example of a simple Scratch project performing a math operation
- Worksheet with math problems to be solved using Scratch
Lesson Content
What are Mathematical Operations in Scratch?
Mathematical operations in Scratch refer to the ability to use Scratch’s operator blocks to perform calculations like addition, subtraction, multiplication, and division. These blocks can take numbers as inputs and produce results.
Operator Blocks in Scratch
- Addition: Use the “+” block to add two numbers.
Example:scss(5 + 3) = 8
- Subtraction: Use the “-” block to subtract one number from another.
Example:scss(9 - 4) = 5
- Multiplication: Use the “×” block to multiply two numbers.
Example:scss(6 × 2) = 12
- Division: Use the “÷” block to divide one number by another.
Example:scss(12 ÷ 3) = 4
Steps to Perform Basic Math Operations in Scratch
- Open Scratch and create a new project.
- Select a sprite to perform the calculations (e.g., the cat sprite).
- Add the Operators extension to your Scratch project.
- Use the operator blocks to perform basic math operations:
- Drag the “+”, “-”, “×”, or “÷” blocks from the operator category into the scripts area.
- Place numbers or variables into the blocks to perform calculations.
- Display the result of the calculation using the “say” block, so the sprite announces the answer.
Example of a Simple Addition Project
- Open Scratch and create a new project.
- Use the following code to make the sprite add two numbers and announce the result:
Code:
sqlWhen Green Flag clicked
Say (join [5] [ + 3])
Say (join [result of (5 + 3)])
Example of a Simple Multiplication Project
- Make the sprite multiply two numbers and announce the result:
Code:
sqlWhen Green Flag clicked
Say (join [6] [ × 2])
Say (join [result of (6 × 2)])
Teacher’s Activities
- Introduce the topic by explaining how Scratch can be used to perform basic mathematical operations.
- Show the pupils how to add the operator blocks and use them in Scratch.
- Demonstrate a simple addition project, where the sprite announces the result of a math operation.
- Encourage pupils to create their own Scratch projects to perform basic operations.
- Walk around the class and assist students with coding their projects.
Learners’ Activities
- Open Scratch and follow the teacher’s demonstration.
- Create a project that performs a basic math operation (addition, subtraction, multiplication, or division).
- Use the “say” block to display the result of the calculation.
- Share their projects with the class and explain how they performed the operations.
Evaluation Questions
Part A: Objective Questions
- The block used for addition in Scratch is called the _______ block.
a) +
b) –
c) ×
d) ÷
Answer: a) + - The operator block used for subtraction in Scratch is _______.
a) +
b) –
c) ×
d) ÷
Answer: b) – - Which operator block is used to perform division in Scratch?
a) ÷
b) ×
c) +
d) –
Answer: a) ÷ - Which block displays the result of a calculation in Scratch?
a) Speak
b) Say
c) Show
d) Tell
Answer: b) Say - The operator block for multiplication in Scratch is _______.
a) +
b) ÷
c) ×
d) –
Answer: c) ×
Part B: Theory Questions
- How do you perform addition in Scratch?
- Explain the function of the operator blocks in Scratch.
- Write the Scratch code to multiply 4 by 5 and display the result.
- How can Scratch be used to perform division?
- What is the role of the “say” block in a Scratch project?
Part C: True or False Questions
- The operator blocks in Scratch are used to perform basic mathematical operations.
True - The “say” block is used to perform calculations in Scratch.
False - Scratch cannot perform mathematical operations like addition or subtraction.
False - The “÷” block is used for division in Scratch.
True - The operator blocks only work with numbers, not variables.
False
Part D: Fill-in-the-Gaps Questions
- The block used for multiplication in Scratch is _______.
Answer: × - To perform addition in Scratch, you use the _______ block.
Answer: + - The _______ block allows the sprite to display the result of a calculation.
Answer: Say - To perform division in Scratch, you use the _______ block.
Answer: ÷ - The block used for subtraction in Scratch is _______.
Answer: –
Conclusion
The teacher will review the Scratch projects created by pupils, ensuring that they understand how to use the operator blocks for mathematical operations. Pupils will be encouraged to experiment with more complex operations in Scratch.