wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

python moving

Total questions: 8

Worksheet time: 5mins

Name
Class
Date
1.

What is wrong with this code?

import turtle

robo = turtle.Turtle

robo.shape('square')

a)

Missing brackets

b)

Missing colon

c)

Missing comma

d)

Incorrect spelling

2.

What will be the output from this code?

forward(50)

left(90)

forward(100)

left(90)

forward(50)

left(90)

forward(100)

a)

Rectangle

b)

Square

c)

Triangle

d)

Circle

3.

To stop the turtle drawing you need to use which of the following commands?

a)

penup:

b)

pen_up()

c)

penup()

d)

penup():

4.

How do you tell that Python that you are going to use the turtle library?

a)

import turtle

b)

import Turtle

c)

Import_turtle

d)

Import Turtle

5.

How do you write a program in python?

a)

Using Word

b)

Using IDLE

c)

Using Paint

d)

Using Notepad

6.

There are 6 built-in shapes of turtle. The default shape is (a)   .

7.

The initial position of new turtle object is __________.

a)

x = 0 and y = 0

b)

x = 100 and y = 100

c)

top left corner

d)

top right corner

8.

The turtle.left() method is used to change the direction of the turtle by the value of the argument that it takes. The turtle's position remains the same.

a)

True

b)

False