0% found this document useful (0 votes)
5 views21 pages

Module 1 Investigation 4 Presentation

The document outlines a module focused on creating and defining custom pattern blocks in a programming context, specifically for generating rose patterns. It includes activities for defining blocks, reading scripts, and building complex patterns using repetition and movement. Discussion questions encourage reflection on the importance of naming and defining blocks meaningfully.

Uploaded by

myndstechschool
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views21 pages

Module 1 Investigation 4 Presentation

The document outlines a module focused on creating and defining custom pattern blocks in a programming context, specifically for generating rose patterns. It includes activities for defining blocks, reading scripts, and building complex patterns using repetition and movement. Discussion questions encourage reflection on the importance of naming and defining blocks meaningfully.

Uploaded by

myndstechschool
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

TILING PATTERNS

MODULE 1: INVESTIGATION 4

Defining
your own Pattern Blocks

1
MODULE 1: INVESTIGATION 4
Activity 1.4.1 – Defining your own Block

ACTIVITY 1.4.1

Defining your own Block

2
MODULE 1: INVESTIGATION 4
Activity 1.4.1 – Defining your own Block

Continue in your project 14-Rose Patterns.


Build a script of a rose pattern using the algorithm move-stamp-
move back-turn and define a new block to stamp this pattern –
give your script a name.

3
MODULE 1: INVESTIGATION 4
Activity 1.4.1 – Defining your own Block

Drag your new block into the scripts area and click it.

Drag the Tile somewhere else on the stage and click the block again.

Build different scripts using your new block, one or more times.

4
MODULE 1: INVESTIGATION 4
Activity 1.4.1 – [Extension] Defining your own Block

[Extension] Change the definition of your new block or create


another new block to create different rose patterns.

5
MODULE 1: INVESTIGATION 4
Activity 1.4.1 – Defining your own Block

Discussion Questions

Why do you think it is useful to define your own blocks?

Why might it be important to give your new block a meaningful


name?

6
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

ACTIVITY 1.4.2: UNPLUGGED

Reading Scripts

7
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

Read each script and think about what would happen on the stage
when it is clicked.
❶ How many steps will my Tile sprite move in total ❷ How could I make this script simpler and still have the same
when I click on the script below? outcome?

Write simpler version of script below:

Total number of
steps moved =

8
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

❸ How many degrees will my Tile sprite turn in total ❹ Write a script that has the same outcome as the script below
when I click on the script below? but without using the repeat block.

Write a script with same outcome without repeat below:

Total number of
degrees turned =

9
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

❺ How many degrees will the Tile sprite turn in total when ❻ What is the lowest number that could go into the repeat
I click on the script below? block to create the pattern on the right?

? ?

Total number of degrees Repeat number =


turned =

10
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

❼ Which number do I need to put into the turn ❽ Make the script below shorter by using the repeat block.
block to create the pattern below?

Write the shorter script using


the repeat block below:

Number of
degrees =

11
MODULE 1: INVESTIGATION 4
Activity 1.4.2 – Unplugged: Reading Scripts

❾ How many times will the Tile ❿ [Extension] In the boxes on the right draw the pattern that will be stamped by the Tile
sprite stamp if I click on the sprite when each of the scripts on the right are clicked on.
script below?

start start
Number of
tiles stamped =

12
MODULE 1: INVESTIGATION 4
Activity 1.4.3 – [Extension] Building a Row of Roses

ACTIVITY 1.4.3 [EXTENSION]

Building a Row of Roses

13
MODULE 1: INVESTIGATION 4
Activity 1.4.3 – [Extension] Building a Row of Roses

Continue in your project 14-Rose Patterns.

Edit the setup script so that the Tile starting position is closer to the
left edge of the stage and is pointing to the right.

14
MODULE 1: INVESTIGATION 4
Activity 1.4.3 – [Extension] Building a Row of Roses

Choose one of your roses, define a block for it and build a small
script using your rose block and move 115 steps (for example).

Add a repeat block around this script.

15
MODULE 1: INVESTIGATION 4
Activity 1.4.3 – [Extension] Building a Row of Roses

Discussion Questions

Could you plan a strategy for a pattern with four repeated roses?
How about six roses in two rows of three?

How could you find out the exact coordinates (i.e. x position and y
position) for the starting point of each of your rose patterns?

16
MODULE 1: INVESTIGATION 4
Activity 1.4.4 – [Extension] Rose of Roses

ACTIVITY 1.4.4 [EXTENSION]


Rose of Roses

17
MODULE 1: INVESTIGATION 4
Activity 1.4.4 – [Extension] Rose of Roses

Continue in your project 14-Rose Patterns.

Build a simple rose pattern with large moves e.g. 90.


Replace the stamp block in the script by your own rose block.

18
MODULE 1: INVESTIGATION 4
Activity 1.4.4 – [Extension] Rose of Roses

Build your own rose of roses. Some examples are below.

19
MODULE 1: INVESTIGATION 4
My Investigation 4 check list:

I defined a new block that stamps a rose pattern.


I used my new block within a script.
[Extension] I edited the definition of my new block to change the
rose pattern.
I used what I learned during Module 1 to predict what would
happen when different scripts are clicked.
[Extension] I built a script to create a row of roses using my rose
pattern block.
[Extension] I built a script to create a rose of roses using my rose
pattern block.

20
MODULE 1 INVESTIGATION 4: Key Vocabulary

definition of a new block is the script that is connected to the define hat block
of the new block. This tells you what your new block will do when
clicked.

21

You might also like