Which command sets the colour of the lines the turtle draws?
The command pencolor()
What is meant by turtle.fillcolor()?
It sets the colour used to fill the inside of a shape
Which command goes before the lines of a shape to mark where the shape to be filled starts?
The command begin_fill()
What does turtle.end_fill() do?
It closes the shape and fills it with the set colour
Which command changes how thick the lines drawn by the turtle are?
The command pensize()
What is meant by turtle.width()?
It changes how thick the lines are drawn, like pensize
A student types turtle.pencolour('blue') but the lines stay black. Why?
Python only knows the American spelling, pencolor
A student wants to fill a square with red. Which order of steps is correct?
Set the fill colour, begin the fill, draw the square, end the fill
A program draws a square but never calls turtle.end_fill(). What is the result?
The square is drawn but stays unfilled
A student's filled shape has colour leaking outside its edges. What is the most likely cause?
The lines of the shape do not join up
A student wants each side of a square in a different colour. What should they do?
Call pencolor before drawing each side
A student writes turtle.pencolor('grass') to draw green lines. What happens?
Python reports an error, as grass is not a colour
A student builds a tree from a brown rectangle trunk and green triangles. What must they do to colour the shapes correctly?
Set the colour before drawing each shape
A student draws a blue line, then changes the pen colour to red and draws a second line. What colours are the two lines?
The first line is blue and the second is red
A student fills a square with blue, then draws a triangle between begin_fill and end_fill without setting the fill colour again. What happens to the triangle?
It is filled in blue, because the fill colour is still set
A student sets the pen colour to red and the fill colour to blue, then draws a square and fills it. What does the square look like?
It has a red outline and a blue inside
We use cookies to enhance your experience. You can manage your preferences or learn more in our Cookie Policy.