Anonymous

Changes

From Karnataka Open Educational Resources
1,509 bytes added ,  12:02, 22 April 2015
Created page with "{|class="wikitable" |- |Week 4 |Arithmetic manipulation using Turtle Art. |- |Objectives | #Demonstrate the use of arithmetic operations and display results #Understand the lo..."
{|class="wikitable"
|-
|Week 4
|Arithmetic manipulation using Turtle Art.
|-
|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
|-
|Steps
|
1.Introduce the numbers palette
2.How to print results from simple arithmetic operations:<br>

3.Subtract 80 from 100; Add this to 100; Multiply this sum by 50; Divide 120000 by this product <br>
4.Write this as an expression – (120000/(50*(100+(100-80)))<br>
5.Print the result<br>
[[File:2..png|400px]]<br>
[[File:3..png|400px]]<br>
6.Print random numbers using the random number function
|-
|Steps
|
#Combining values
#Conditional commands combined with arithmetic operations to create a shape
#See file called “Conditional Operations” for code.
|-
|Hands-on activity
|Activity #1
1.Draw a series of equal radius circles with increasing X,Y coordinates<br>
2.Try the circles which different colors.<br>
3.Try the shapes with different size of lines.<br>
[[File:4..jpg|300px]][[File:5..png|400px]]<br>
|-
|Activity #2
|
[[File:6..jpg|350px]][[File:7..jpg|400px]]<br>
|-
|Portfolio components
|
#Use the Turtle commands to generate a number of shapes with different colours and shades
[[File:8..jpg|400px]][[File:9..jpg|300px]]<br>
Students can complete the cards available on <br>
http://wiki.sugarlabs.org/go/File:TurtleCard-00a.png<br>
http://wiki.sugarlabs.org/go/File:TurtleCard-9.png<br>