Term 3 - Turtle Logo Flashcards
What does FD stand for in logo code?
Forward (this needs a value e.g. FD 50)
What does BK stand for in logo code?
Backward (this needs a value e.g. BK 50)
What does PU stand for in logo code?
Pen Up
What does PD stand for in logo code?
Pen Down
What does RT stand for in logo code?
Right Turn (this needs a value e.g. RT 90)
What does LT stand for in logo code?
Left Turn (this needs a value e.g. LT 45)
What does CS stand for in logo code?
Clear Screen
What does HT stand for in logo code?
Hide Turtle
What does ST stand for in logo code?
Show Turtle
What does the instruction setcolor do in logo code?
Sets the colour of the line turtle draws e.g. setcolor 10 makes the line go green (you do NOT need to learn the codes for the colours)
What logo command makes the turtle reappear?
st or showturtle
What logo command makes the turtle move forwards?
fd or forward (this needs a value e.g. fd 50)
What logo command makes the turtle turn right?
rt or right (this needs a value e.g. rt 90)
What logo command makes the turtle disappear?
ht or hideturtle
What logo command makes the turtle move backwards?
bk or back (this needs a value e.g. bk 50)
What logo command makes the turtle turn left?
lt or left (this needs a value e.g. lt 90)
What command is used to get turtle to do the same thing?
Repeat
How do you write the code to draw a square with a side length of 50 using “repeat”?
repeat 4 [fd 50 rt 90] - you could use lt 90 instead of rt 90
What is it called when we “teach turtle blocks of code”?
a procedure
How would you “teach the turtle” the command needed to draw a square of side length 50?
to square repeat 4[FD 50 RT 90] end
When coding a new procedure what is the first word used?
to (you are teaching turtle TO do something)
When coding a new procedure what is the last word used?
end (the lesson to teach turtle comes to the END)
When you are teaching turtle a new procedure what is the second thing you type?
the name of the procedure e.g. to SQUARE repeat 4[ fd 50 rt 90] end teaches the turtle to draw a square but you have to use the exact spelling (including case - here capitals) so you must type SQUARE for turtle to follow this procedure