Difference between revisions of "Turtle art lesson 4"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
Line 18: Line 18:
 
4.Write this as an expression – (120000/(50*(100+(100-80)))<br>
 
4.Write this as an expression – (120000/(50*(100+(100-80)))<br>
 
5.Print the result<br>
 
5.Print the result<br>
[[File:Introduce the numbers palette.png|400px]]<br>
+
[[File:Introduce the numbers palette.png| 400px]]<br>
[[File:Write this as an expression.png|400px]]<br>[[File:random number function .png|400px]]
+
[[File:Write this as an expression.png| 400px]]<br>[[File:random number function .png| 400px]]
 
<br>
 
<br>
 +
 
6.Print random numbers using the random number function
 
6.Print random numbers using the random number function
 
|-
 
|-

Revision as of 11:57, 11 July 2016

Week 4 Arithmetic manipulation using Turtle Art.
Objectives
  1. Demonstrate the use of arithmetic operations and display results
  2. Understand the logic of nesting operations
  3. 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:

3.Subtract 80 from 100; Add this to 100; Multiply this sum by 50; Divide 120000 by this product
4.Write this as an expression – (120000/(50*(100+(100-80)))
5.Print the result
Introduce the numbers palette.png
Write this as an expression.png
Random number function .png

6.Print random numbers using the random number function

Steps
  1. Combining values
  2. Conditional commands combined with arithmetic operations to create a shape
  3. 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
2.Try the circles which different colors.
3.Try the shapes with different size of lines.
4..jpg5..png

Activity #2

6..jpg7..jpg

Portfolio components
  1. Use the Turtle commands to generate a number of shapes with different colours and shades

8..jpg9..jpg
Students can complete the cards available on
http://wiki.sugarlabs.org/go/File:TurtleCard-00a.png
http://wiki.sugarlabs.org/go/File:TurtleCard-9.png