0% found this document useful (0 votes)
76 views3 pages

1) 1'A Floor Turtle Can Use The Following Instructions

The document provides instructions for a floor turtle to draw different shapes. It lists the basic instructions like FORWARD, BACKWARD, LEFT, RIGHT, PENUP, PENDOWN, and REPEAT. Blank lines are included in code snippets to be completed to draw the outlined shapes. The shapes include a triangle, square with a REPEAT loop, and hexagon.

Uploaded by

Bryan Mendoza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views3 pages

1) 1'A Floor Turtle Can Use The Following Instructions

The document provides instructions for a floor turtle to draw different shapes. It lists the basic instructions like FORWARD, BACKWARD, LEFT, RIGHT, PENUP, PENDOWN, and REPEAT. Blank lines are included in code snippets to be completed to draw the outlined shapes. The shapes include a triangle, square with a REPEAT loop, and hexagon.

Uploaded by

Bryan Mendoza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1) 1`A floor turtle can use the following instructions:

INSTRUCTION MEANING
FORWARD n Move n mm forward
BACKWARD n Move n mm backward
LEFT t Turn left t degrees
RIGHT t Turn right t degrees
PENUP Lift the pen
PENDOWN Lower the pen
REPEAT n Repeat the following instructions n times
END REPEAT Finish the REPEAT loop

Complete the set of instructions to draw this shape by filling in the blank lines.
180
PENDOWN
LEFT 90 70
FORWARD 35 80
RIGHT 90
………………… 35 80 10
…………………
…………………
Start Finish
………………….
…………………
………………….
…………………
…………………
…………………
…………………

2) PENDOWN
…………… 90
REPEAT ……
………………
………………
………………

45

100

START
3) 70 60 80

80 80

100

Start Finish

Complete the set of instructions to draw this shape by filling in the blank lines

PENDOWN
FORWARD 80
RIGHT 90
…………………
…………………
…………………
………………..
………………..
………………..
………………...
………………..
………………..
………………..
……………….

You might also like