1 / 12

Programming Class

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

rosina
Download Presentation

Programming Class

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming Class Logo Programming Fall 2011 – Session 6 Teacher: M. Taghizadeh Sobhan Highschool

  2. Exercises Exercises

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. The End Logo Programming Fall 2011 – Session 6 Teacher: M. Taghizadeh Sobhan Highschool

More Related