Search Header Logo
Lesson 7: Follow Through - Scratch Programming

Lesson 7: Follow Through - Scratch Programming

Assessment

Presentation

Computers

7th Grade

Easy

Created by

Esperanza Sabangan

Used 19+ times

FREE Resource

19 Slides • 8 Questions

1

​The Boat Maze Project

media

Scratch Blocks to Learn and Practice:

My Blocks|Variable|List|Operators|Sensing

2

Poll

Question image

How do you feel today?

3

media

4

There are TWO rules that must hold in playing the game.

  • “What’s the logic behind?” is a VISUAL & SYLLOGISM LOGICAL PUZZLE GAME that enhances your critical thinking ability, where ALL OF YOU will be the participants and must answer by analyzing the pictures or illustrations to be shown.

  • You will be given a duration of 30 seconds to answer.

    Let's Get it on Scratchers!

5

Open Ended

Question image

Can you guess the word/s or phrase Scratchers?

6

Open Ended

Question image

Can you guess the word/s or phrase Scratchers?

7

Open Ended

Question image

Can you guess the word/s or phrase Scratchers?

8

Open Ended

Question image

Can you guess the word/s or phrase Scratchers?

9

Open Ended

Question image

Can you guess the word/s or phrase Scratchers?

10

media

At the end of the lesson, students will be able to:

  • use operators to compare numbers in Scratch

  • add code to detect when a sprite is touching a color in Scratch

  • use a variable to record the time in Scratch

​Lesson 7: The Boat Maze Hands-on

Learning Objectives

11

media

Boolean Expressions

Conditional Operators

12

media

Mathematical Expressions

Categories of Operators

13

media

Operators blocks are the blocks that perform math functions and string handling.

The ()+(),()-(),()*(),()/() blocks are an Operators Blocks and a Reporter Blocks. The block adds, subtracts, multiplies, and divides two values and reports the result.

The numbers can be typed directly into the block, or Reporter blocks can be used instead.

​The Scratch Relational Operators - Comparing values

Scratch Arithmetic Operators

14

media

The condition for checking if a value is greater than the other.

The () > () block is an Operators block and a Boolean block. The block reports true if the first value is greater than the second value and false otherwise.

This block can compare both numbers and strings, which are ordered alphabetically.​

​The Scratch Relational Operators - Comparing values

Scratch Relational Operators

15

media

The condition for checking if a value is less than the other.

The () < () block is an Operators block and a Boolean block. The block reports true if the first value is less than the second value and false otherwise.

This block can compare both numbers and strings, which are ordered alphabetically.

​The Scratch Relational Operators - Comparing values

Scratch Relational Operators

16

media

The condition for checking if two values are equal.

The () = () block is an Operators block and a Boolean block. The block checks if the first value is equal to the second value. If the values are equal, the block returns true; otherwise, it returns false. This block is case-insensitive, meaning that capital and lowercase letters are treated the same.

Scratch Relational Operators

​The Scratch Relational Operators - Comparing values

17

​- George Boole

"A truth table is a mathematical table used in logic --In particular, truth tables can be used to tell whether a propositional expression is true for all legitimate input values, that is, logically valid."

Scratch Logical Operators

18

media

Boolean Expressions

Logical Operators

19

media

True if both conditions are true.​

The () and () Block is an Operators Block and a Boolean Block. The block joins two boolean blocks so they both have to be true to return true. If they are both true, the block returns true; if only one is true or none are true, it returns false.

This block can be stacked inside itself, which can be used to test more conditions.

Scratch (and) Logical Operators

​The Scratch Logical Operators - Comparing values

20

media

True if either condition is true.

The () or () block is an Operator and Boolean block. The block returns true if at least one of its inputs is true; if neither of them is true, it returns false.

This block can be stacked inside itself this can be used to compare more conditions.

Scratch (or) Logical Operators

​The Scratch Logical Operators - Comparing values

21

media

Makes the condition checked if it is false, not true, or true, not false.

The not () block is a Boolean block and an Operators block. The block returns the opposite value of the boolean input, reversing its value.

Scratch (not) Logical Operators

​The Scratch Logical Operators - Comparing values

22

Fill in the Blank

Based on your experiences with other Scratch hands-on activities aside from the "Boat Maze" give instances that you have encountered the use of Arithmetic, Relational, and Logical Scratch Operators. Explain the example/s and your answer in 2 to 3 sentences.

23

media

At the end of the lesson, students will be able to:

  • to use the list to store sequences of notes and timing

  • to use custom blocks with inputs

  • create program applications in SCRATCH integrated into other disciplines of studies.

​Lesson 7: The Binary Hero Hands-on

Learning Objectives

24

media

List blocks are the blocks that manage lists.

The block simply reports the items of its list as a string. Whenever a list is created, a version of the block appears with the list's name on it; this results in a version of this block for every list. If all of the items in a list are single characters, nothing is put between the items. Otherwise, space is put between each pair of items.

​The Scratch LIST Blocks

Scratch LIST Blocks

25

media

My Blocks (also known as Custom Blocks), are user-made custom blocks.

It holds procedures for the selected sprite. They are color-coded pink. Before any blocks are created, it is empty, except for a "Make a Block" button.

Clicking Make a Block brings up a dialogue allowing the user to make a procedure. Once OK is pressed, the new block appears in the palette and an empty definition appears in the code area. When the procedure runs, Scratch will run the blocks below the corresponding Define block.

​The Scratch MY Blocks

Scratch MY Blocks

26

Fill in the Blank

What are the instances in previous and in current hands-on activities you have encountered using MY BLOCKS? How did you apply the MY BLOCKS in Scratch Projects such as in Poetry, Visualization, and COVID-19 Infographic?

27

PRESENTATION OF OUTPUT IN SCRATCH

MY SCRATCH KARAOKE PROJECT

media
media

​The Boat Maze Project

media

Scratch Blocks to Learn and Practice:

My Blocks|Variable|List|Operators|Sensing

Show answer

Auto Play

Slide 1 / 27

SLIDE