wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Exploring Turtle Graphics in Python

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

Which Python command is used to move Tracy forward by 50 pixels?

a)

move(50)

b)

forward(50)

c)

step(50)

d)

go(50)

2.

What function is used to draw a circle with Tracy in Python?

a)

draw_circle(10)

b)

circle(10)

c)

make_circle(10)

d)

round(10)

3.

Which command is used to lift Tracy’s pen so she doesn’t draw while moving?

a)

penup()

b)

pendown()

c)

liftpen()

d)

stopdraw()

4.

What does the command `pendown()` do in Tracy Turtle graphics?

a)

Lifts the pen up

b)

Puts the pen down to draw

c)

Changes the pen color

d)

Moves Tracy forward

5.

Which command is used to change Tracy’s pen color to green?

a)

pen_color("green")

b)

color("green")

c)

setcolor("green")

d)

changecolor("green")

6.

What does the command `goto(0, 75)` do?

a)

Moves Tracy to the origin

b)

Moves Tracy to the position (0,75)(0, 75)

c)

Rotates Tracy 75 degrees

d)

Moves Tracy 75 pixels forward

7.

Which command is used to start filling a shape with color in Tracy Turtle?

a)

fill()

b)

begin_fill()

c)

startfill()

d)

color_fill()

8.

What does `circle(10, 360, 4)` draw?

a)

A circle with radius 10

b)

A square with sides of length 10

c)

A square with each side approximately 20 units

d)

A triangle

9.

If you want Tracy to face north, which command should you use?

a)

setheading(0)

b)

setheading(90)

c)

setheading(180)

d)

setheading(270)

10.

What is the purpose of using `penup()` and `pendown()` between drawing circles?

a)

To change the color of the circles

b)

To move Tracy without drawing lines between circles

c)

To erase the previous circle

d)

To make the circles larger

11.

Which command would you use to draw a hexagon with Tracy?

a)

circle(10, 360, 6)

b)

hexagon(10)

c)

draw_hex(10)

d)

polygon(6, 10)

12.

Suppose you want to draw a triangle using the `circle` command. Which of the following would you use?

a)

circle(10, 360, 3)

b)

circle(10, 360, 4)

c)

circle(10, 360, 5)

d)

circle(10, 360, 6)

13.

You want Tracy to draw a filled green half-circle at the top of the screen, starting from the center. Which sequence of commands would achieve this?

a)

penup(), goto(0, 75), setheading(90), color("green"), begin_fill(), circle(20, 180), end_fill()

b)

color("green"), begin_fill(), circle(20, 180), end_fill(), penup(), goto(0, 75), setheading(90)

c)

penup(), goto(0, 75), setheading(0), color("green"), begin_fill(), circle(20, 180), end_fill()

d)

penup(), goto(0, 75), setheading(90), begin_fill(), circle(20, 180), end_fill()

14.

If you want to draw three different polygons (triangle, square, hexagon) with the same radius, which commands would you use for each?

a)

circle(10, 360, 3), circle(10, 360, 4), circle(10, 360, 6)

b)

circle(10, 360, 4), circle(10, 360, 5), circle(10, 360, 6)

c)

circle(10, 360, 3), circle(10, 360, 5), circle(10, 360, 6)

d)

circle(10, 360, 4), circle(10, 360, 6), circle(10, 360, 8)