Difference between revisions of "Turtle art lesson 3"
Line 45: | Line 45: | ||
2.A programme can take inputs; store value for a given parameter during executing a programme. This is called a variable and can be defined from the palette of variable blocks<br> | 2.A programme can take inputs; store value for a given parameter during executing a programme. This is called a variable and can be defined from the palette of variable blocks<br> | ||
3.A series of steps can also be defined as an action from this block<br> | 3.A series of steps can also be defined as an action from this block<br> | ||
− | [[File:repeating instructions and blocks | + | [[File:repeating instructions and blocks 9.png|200px]]<br> |
4.Let us construct a polygon of 8 sides and fill it with colour.<br> | 4.Let us construct a polygon of 8 sides and fill it with colour.<br> | ||
5.The first step is to define variable:<br> | 5.The first step is to define variable:<br> | ||
6.The next step is to repeat instructions to complete the shape <br> | 6.The next step is to repeat instructions to complete the shape <br> | ||
− | [[File:repeating instructions and blocks | + | [[File:repeating instructions and blocks 10.png|200px]]<br> |
7.See shape to the side<br> | 7.See shape to the side<br> | ||
− | [[File:repeating instructions and blocks | + | [[File:repeating instructions and blocks 11.png|200px]]<br> |
|- | |- | ||
|Steps | |Steps | ||
Line 61: | Line 61: | ||
| | | | ||
1.Study the picture below and answer the question<br> | 1.Study the picture below and answer the question<br> | ||
− | [[File: | + | [[File:repeating instructions and blocks 12.png|200px]]<br> |
2.Study the shape below and determine the Turtle code<br> | 2.Study the shape below and determine the Turtle code<br> | ||
− | [[File: | + | [[File:repeating instructions and blocks 13.png|200px]]<br> |
− | [[File: | + | [[File:repeating instructions and blocks 14.png|200px]]<br> |
3.Look at the following shape and guess the code.<br> | 3.Look at the following shape and guess the code.<br> | ||
− | [[File: | + | [[File:repeating instructions and blocks 15.jpg|200px]] |
− | [[File: | + | [[File:repeating instructions and blocks 16.png|200px]]<br> |
4.Construct the following figures using Turtle<br> | 4.Construct the following figures using Turtle<br> |
Revision as of 13:53, 14 July 2016
Week 3 | Simplifying programming – repeating instructions and blocks |
Objectives |
|
Hands-on Activity | Activity #1 (Part A)
1.What was the answer to the previous question? |
Activity #1 (Part B)
1.What was the answer to the previous question? | |
Steps | Activity #1
|
Steps | Activity #2
1.Using the repeat command after taking inputs (defining variables) |
Steps | Activity #1
|
Portfolio components |
1.Study the picture below and answer the question 4.Construct the following figures using Turtle |