120 likes | 255 Views
Programming Class. Logo Programming Fall 2011 – Session 6. Teacher: M. Taghizadeh Sobhan Highschool. Exercises. Exercises. Exercise 1. TO SEGMENT FORWARD 20 LEFT 90 FORWARD 50 LEFT 90 FORWARD 10 LEFT 90 FORWARD 55 FORWARD 55 RIGHT 90 FORWARD 10
E N D
Programming Class Logo Programming Fall 2011 – Session 6 Teacher: M. Taghizadeh Sobhan Highschool
Exercises Exercises
Exercise 1 TO SEGMENT FORWARD 20 LEFT 90 FORWARD 50 LEFT 90 FORWARD 10 LEFT 90 FORWARD 55 FORWARD 55 RIGHT 90 FORWARD 10 RIGHT 90 FORWARD 50 RIGHT 90 FORWARD 20 END • TO PATTERN • RIGHT 62 • REPEAT 10 [ SEGMENT ] • END • PATTERN
Exercise 1 TO SEGMENT FORWARD 20 LEFT 90 FORWARD 50 LEFT 90 FORWARD 10 LEFT 90 FORWARD 55 FORWARD 55 RIGHT 90 FORWARD 10 RIGHT 90 FORWARD 50 RIGHT 90 FORWARD 20 END • TO PATTERN • RIGHT 62 • REPEAT 10 [ SEGMENT ] • END Function • PATTERN Call Function Function
Exercise 1 TO SEGMENT FORWARD 20 LEFT 90 FORWARD 50 LEFT 90 FORWARD 10 LEFT 90 FORWARD 55 FORWARD 55 RIGHT 90 FORWARD 10 RIGHT 90 FORWARD 50 RIGHT 90 FORWARD 20 END • TO PATTERN • RIGHT 62 • REPEAT 10 [ SEGMENT ] • END • PATTERN
Exercise 2 TO FANBLADE REPEAT 2 [ FORWARD 100 RIGHT 135 FORWARD 20 RIGHT 45 ] END • TO FAN • REPEAT 8 [ • FANBLADE • LEFT 135 • FORWARD 20 • ] • END • FAN
Exercise 2 TO FANBLADE REPEAT 2 [ FORWARD 100 RIGHT 135 FORWARD 20 RIGHT 45 ] END • TO FAN • REPEAT 8 [ • FANBLADE • LEFT 135 • FORWARD 20 • ] • END Function Function • FAN Call Function
Exercise 2 TO FANBLADE REPEAT 2 [ FORWARD 100 RIGHT 135 FORWARD 20 RIGHT 45 ] END • TO FAN • REPEAT 8 [ • FANBLADE • LEFT 135 • FORWARD 20 • ] • END • FAN
Exercise 3 TO SAWTOOTH RIGHT 45 FORWARD 56.56 LEFT 135 FORWARD 40 RIGHT 90 END • TO SAWBLADE • REPEAT 12 [ • SAWTOOTH • RIGHT 30 • ] • END • SAWBLADE
Exercise 3 TO SAWTOOTH RIGHT 45 FORWARD 56.56 LEFT 135 FORWARD 40 RIGHT 90 END • TO SAWBLADE • REPEAT 12 [ • SAWTOOTH • RIGHT 30 • ] • END Function Function • SAWBLADE Call Function
Exercise 3 TO SAWTOOTH RIGHT 45 FORWARD 56.56 LEFT 135 FORWARD 40 RIGHT 90 END • TO SAWBLADE • REPEAT 12 [ • SAWTOOTH • RIGHT 30 • ] • END • SAWBLADE
The End Logo Programming Fall 2011 – Session 6 Teacher: M. Taghizadeh Sobhan Highschool