Difference between revisions of "Turtle art lesson 3"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
Line 30: Line 30:
 
https://wiki.sugarlabs.org/go/File:TurtleCard-2.png<br>
 
https://wiki.sugarlabs.org/go/File:TurtleCard-2.png<br>
 
[[File:repeating instructions and blocks 4.png|200px]]<br>
 
[[File:repeating instructions and blocks 4.png|200px]]<br>
How do we make the colours change continuously?<br>
+
How do we make the colours change continuously? <br>[[File:repeating instructions and blocks 18.png|200px]]<br>
[[File:repeating instructions and blocks 7.png|200px]][[File:repeating instructions and blocks 6.png|200px]]
+
[[File:repeating instructions and blocks 6.png|200px]]
 
|-
 
|-
 
|Steps
 
|Steps
 
|Activity #1
 
|Activity #1
[[File:repeating instructions and blocks 8.png|200px]]<br>
+
[[File:repeating instructions and blocks 7.png|200px]]<br>
[[File:repeating instructions and blocks 9.png|400px]]
+
[[File:repeating instructions and blocks 8.png|350px]]
 
<br>
 
<br>
 
1.Draw any two different polygon with the repeat command.  Students have to make a note of the number of repeat instructions and the instructions that are repeated
 
1.Draw any two different polygon with the repeat command.  Students have to make a note of the number of repeat instructions and the instructions that are repeated
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:3.png|400px]]<br>
+
[[File:repeating instructions and blocks 7.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:4..png|400px]]<br>
+
[[File:repeating instructions and blocks 8.png|200px]]<br>
 
7.See shape to the side<br>
 
7.See shape to the side<br>
[[File:5..png|400px]]<br>
+
[[File:repeating instructions and blocks 9.png|200px]]<br>
 
|-
 
|-
 
|Steps
 
|Steps

Revision as of 08:14, 14 July 2016

Week 3 Simplifying programming – repeating instructions and blocks
Objectives
  1. Demonstrate simplifying instructions; using repeat instructions/ loops to draw shapes#Visualize space, co-ordinates and shapes through movement and vice versa
  2. Visualizing the construction of a shape through a set of repeating instructions
  3. Taking inputs and executing instructions; assigning value to a variable, etc
  4. Demonstrate the logic of different repeating programming structures.
Hands-on Activity Activity #1 (Part A)

1.What was the answer to the previous question?
Repeating instructions and blocks 1.pngRepeating instructions and blocks 2.png
2.The turtle moved 8 times; how did we make the turtle do the action 8 times? (By clicking the start button)
3.Is there a way to give this instruction in a simpler way (encourage the class to think of a process being repeated multiple times)
Repeating instructions and blocks 3.png
4.Demonstrate the repeat command
5.We have repeated the command 8 times.
6.What are the other ways in which you would like to have the repeat command work? (When a condition is satisfied, for given input values)

Activity #1 (Part B)

1.What was the answer to the previous question?
The answer is given below.
2.The answer can be found her
https://wiki.sugarlabs.org/go/File:TurtleCard-2.png
Repeating instructions and blocks 4.png
How do we make the colours change continuously?
Repeating instructions and blocks 18.png
Repeating instructions and blocks 6.png

Steps Activity #1

Repeating instructions and blocks 7.png
Repeating instructions and blocks 8.png
1.Draw any two different polygon with the repeat command. Students have to make a note of the number of repeat instructions and the instructions that are repeated

Steps Activity #2

1.Using the repeat command after taking inputs (defining variables)
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
3.A series of steps can also be defined as an action from this block
Repeating instructions and blocks 7.png
4.Let us construct a polygon of 8 sides and fill it with colour.
5.The first step is to define variable:
6.The next step is to repeat instructions to complete the shape
Repeating instructions and blocks 8.png
7.See shape to the side
Repeating instructions and blocks 9.png

Steps Activity #1
  1. Generate multiple shapes using repeat instructions
  2. Define input variables and repeat instructions to make shapes
Portfolio components

1.Study the picture below and answer the question
6.png
2.Study the shape below and determine the Turtle code
7..png
8..png
3.Look at the following shape and guess the code.
9..jpg 10..png

4.Construct the following figures using Turtle
http://neoparaiso.com/logo/ejercicios-de-geometria.html
11..png