# Programming Class - PowerPoint PPT Presentation

1 / 12

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

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

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

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

REPEAT 2 [

FORWARD 100

RIGHT 135

FORWARD 20

RIGHT 45

]

END

• TO FAN

• REPEAT 8 [

• LEFT 135

• FORWARD 20

• ]

• END

• FAN

Exercise 2

REPEAT 2 [

FORWARD 100

RIGHT 135

FORWARD 20

RIGHT 45

]

END

• TO FAN

• REPEAT 8 [

• LEFT 135

• FORWARD 20

• ]

• END

Function

Function

• FAN

Call Function

Exercise 2

REPEAT 2 [

FORWARD 100

RIGHT 135

FORWARD 20

RIGHT 45

]

END

• TO FAN

• REPEAT 8 [

• LEFT 135

• FORWARD 20

• ]

• END

• FAN

Exercise 3

TO SAWTOOTH

RIGHT 45

FORWARD 56.56

LEFT 135

FORWARD 40

RIGHT 90

END

• REPEAT 12 [

• SAWTOOTH

• RIGHT 30

• ]

• END

Exercise 3

TO SAWTOOTH

RIGHT 45

FORWARD 56.56

LEFT 135

FORWARD 40

RIGHT 90

END

• REPEAT 12 [

• SAWTOOTH

• RIGHT 30

• ]

• END

Function

Function

Call Function

Exercise 3

TO SAWTOOTH

RIGHT 45

FORWARD 56.56

LEFT 135

FORWARD 40

RIGHT 90

END

• REPEAT 12 [

• SAWTOOTH

• RIGHT 30

• ]

• END