wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python L1 Quiz 5: Random Numbers and More Turtle Features

Total questions: 10

Worksheet time: 30mins

Name
Class
Date
1.

How can we tell the turtle to move to the middle of the drawing canvas?

a)

t.pos()

b)

t.goto(0,0)

c)

t.forward(0,0)

d)

t.setheading(0,0)

2.

True or False: t.backward(100) will turn the turtle around to face the opposite direction, then move 100 pixels

a)

True

b)

False

3.

To use Python’s turtle graphics, you must include which of the following statements in your program?

a)

import turtle_graphics

b)

import turtle

c)

import turtle_module

d)

import Turtle

4.

The Python turtle is initially positioned in the _____ of a graphics window.

a)

center

b)

top

c)

right

d)

left

5.

By default, the Turtle heads in the _____ direction.

a)

Up

b)

Down

c)

Right

d)

Left

6.

True or False: By default the turtle’s pen is down.

a)

True

b)

False

7.

True or False: When the pen is down, the turtle draws.

a)

True

b)

False

8.

What will the following code snippet do?


screen.bgcolor(color)

a)

update the background color

b)

update the pen color

c)

update the fill color

d)

update the drawing color

9.

True or False: If you set the turtle’s speed to 0, then the turtle will make all of its moves instantly

a)

True

b)

False

10.

True or False: turtle.hideturtle() will cause the turtle to disappear in the window.

a)

True

b)

False