Turtle Graphics Solutions

Turtle Graphics Solutions

Page 1

1.
  • PENUP
  • FORWARD 70
  • PENDOWN
  • FORWARD 60
  • PENUP
  • FORWARD 80
  • RIGHT 90
  • PENDOWN
  • RIGHT 90
  • FORWARD 80
  • RIGHT 90
  • FORWARD 100
2.
  • RIGHT
  • REPEAT 8658
    • 60
    • 90
  • FORWARD 50
  • LEFT
  • END REPEAT
3.
  • PENDOWN
  • FORWARD 70
  • PENUP
  • FORWARD 70
  • PENDOWN
  • FORWARD 40
4.
  • RIGHT 90
  • FORWARD 50
  • RIGHT 90
  • FORWARD 80
  • PENDOWN
  • FORWARD 70
  • FORWARD 70
  • REPEAT 4
    • RIGHT 90
    • FORWARD 40
  • PENUP
  • RIGHT 90
  • FORWARD 70
  • END REPEAT
  • PENDOWN

Page 2

5.
  • PEN DOWN
  • END REPEAT
  • LEFT 96
  • 90
  • PENUP
  • REPEAT 2
    • FORWARD 90
    • FORWARD 50
  • RIGHT 5580
  • PENDOWN
  • 90
  • FORWARD 70
6.
  • PEN DOWN
  • FORWARD 886
  • RIGHT 80
  • PENUP
  • FORWARD 90
  • PENDOWN
  • FORWARD 7636
  • REPEAT 70
    • 30
    • 60
  • 60
  • ENDREPEAT
7. Error Corrections

(a) Missing Instructions and Placement

  • FORWARD 10 is missing:
    • Before the first PENUP
    • As the 5th instruction overall
    • After the 4th instruction
    • Before the first RIGHT 90
    • Between the 4th and 5th instruction

(b) Incorrect Values

  • First FORWARD 20 (instruction 6) should be FORWARD 10
  • Second PENUP (instruction 8) should be PENDOWN
  • FORWARD 90 (instruction 9) should be FORWARD 35
  • RIGHT 35 (instruction 10) should be RIGHT 90