- 85 Views
- Uploaded on
- Presentation posted in: General

Programming Class

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

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