Line 1:
Line 1:
{|class="wikitable"
{|class="wikitable"
|-
|-
−
|Week 4
+
|Week 5
−
|Arithmetic manipulation using Turtle Art.
+
|Creating action sequences and patterns based on defined actions.
|-
|-
|Objectives
|Objectives
|
|
−
#Demonstrate the use of arithmetic operations and display results
−
#Understand the logic of nesting operations
#Combining input parameters, action sequences and evaluating conditions to make Turtle move
#Combining input parameters, action sequences and evaluating conditions to make Turtle move
+
#Calling a function (Action)
+
#Passing values (for parameters) to function
+
#Familiarization of ways of defining parameters - movement, co-ordinates and colour
+
#Visualize steps, space, co-ordinates and shapes through movement and vice versa
|-
|-
|Steps
|Steps
|
|
+
1.Define an action as a sequence of commands<br>
+
2.Addition and division commands defined as actions<br>
+
3.Note that the values are stored in variables “box 1” and is transferred between actions. The variables can also pass value from main code to the action sequence<br>
+
4.Tracing a circle of a given angle and a given radius <br>
+
[[File:action as a sequence 1.png|600px]][[File:action as a sequence 2.png|600px]]<br>
+
Note that there are two print commands; only the latest one is captured in this screeshot.<br>
+
|-
+
|Hands-on activity
+
|
+
1.Ask the turtle to execute a pre-defined procedure <br>
+
2.See the control flow from main function to additional function<br>
+
3.Determine/ identify the shape the turtle will trace; pay attention to the orientation of the turtle<br>
+
4.Count the number of times instructions are repeated<br>
+
5.What is the relation, if any, between the number of times the instruction is repeated and the shape traced by the turtle<br>
+
'''Activity #1''' <br>
+
[[File:action as a sequence 3.jpg|400px]]<br>
+
[[File:4..jpg|300px]]<br>
+
'''Activity #2'''<br>
+
See the picture here:<br>
+
[[File:action as a sequence red.png|300px]]<br>
+
[[File:6..png|350px]][[File:7..png|350px]]
+
|-
+
|Portfolio components
+
|
+
Two Turtle constructions are given here for the students to decode the instructions <br>
+
Figure 1 <br>
+
[[File:8..jpg|260px]][[File:9..jpg|500px]]<br>
+
Figure 2 <br>
+
[[File:10..jpg|275px]][[File:11..jpg|590px]]
+
+
[[Category:Turtle Art]]