wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Turtle Practice Questions

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

What is the first task in the Python Turtle learning schedule?

a)

Setting up the coding page

b)

Overview & Accessing and using Python Sandbox

c)

Saving and showcasing your work

d)

Points to Remember

2.

On which page can you find information about 'Filling shapes with color'?

a)

Page 9

b)

Page 10

c)

Page 12

d)

Page 14

3.

Which activity involves 'Making code shorter using loops'?

a)

Activity 10

b)

Activity 11

c)

Activity 12

d)

Activity 13

4.

What is the focus of Activity 7 in the Python Turtle learning schedule?

a)

Drawing polygons and straight-line shapes

b)

Changing background color

c)

Adding text to the screen

d)

Using random numbers

5.

Which activity involves 'Defining shapes as functions'?

a)

Activity 12

b)

Activity 14

c)

Activity 16

d)

Activity 18

6.

What is the purpose of Activity 18 in the Python Turtle learning schedule?

a)

Challenges

b)

Creating pictures

c)

Using while loops

d)

Positioning the turtle

7.

Which task involves 'Start coding with movement and turning commands'?

a)

Activity 1

b)

Activity 2

c)

Activity 3

d)

Activity 4

8.

On which page can you find information about 'Using random numbers'?

a)

Page 19

b)

Page 20

c)

Page 22

d)

Page 24

9.

What is the focus of Activity 9 in the Python Turtle learning schedule?

a)

Positioning the turtle

b)

Pen width & Color

c)

Adding text to the screen

d)

Filling shapes with color

10.

Which activity involves 'Playing with existing code'?

a)

Activity 15

b)

Activity 16

c)

Activity 17

d)

Activity 18

11.

What is Python Turtle primarily used for?

a)

To create and manage databases

b)

To learn to code by creating patterns and pictures

c)

To develop mobile applications

d)

To design websites

12.

How can you access Python Sandbox?

a)

By downloading it from the app store

b)

By searching for "Python Sandbox" in a browser or using the URL https://www.pythonsandbox.com/turtle

c)

By installing it through Python's package manager

d)

By purchasing a license for it

13.

What happens if there is an error in the code in Python Turtle?

a)

The program will run but ignore the error

b)

An error box will pop up, indicating the line with the error

c)

The program will automatically fix the error

d)

The program will crash without any message

14.

What is the purpose of the "Editor Window" in Python Sandbox?

a)

To display the results of the code

b)

To write and edit the code

c)

To manage files and folders

d)

To debug the code automatically

15.

What is the purpose of the command `import turtle` in Python?

a)

It sets the turtle speed.

b)

It opens the Python language Turtle library, allowing the program code to work.

c)

It sets the turtle as a variable.

d)

It creates a loop in the code.

16.

What does the command `t = turtle.Turtle()` do in Python?

a)

It sets the turtle speed.

b)

It creates a loop in the code.

c)

It sets the turtle as `t`, a simple and convenient letter to call the turtle.

d)

It imports the Turtle library.

17.

What does the command `t.speed(2)` do in Python?

a)

It sets the turtle speed to 2, where 10 is the fastest.

b)

It sets the turtle speed to 2, where 0 is the fastest.

c)

It sets the turtle speed to 2, where 1 is the fastest.

d)

It sets the turtle speed to 2, where 5 is the fastest.

18.

Which of the following is the shortest version of the command to move the turtle backward by 200 units?

a)

t.backward(200)

b)

t.back(200)

c)

t.bk(200)

d)

t.moveback(200)

19.

Why is it recommended to learn the basic code first in Python Turtle?

a)

To write longer and more complex code.

b)

To understand the code syntax and structure.

c)

To avoid using loops in the code.

d)

To increase the speed of the turtle.

20.

What does the '#' symbol in front of a line of code indicate in Python?

a)

It is used to execute the code.

b)

It is used to add comments that have no effect on the code.

c)

It is used to declare a variable.

d)

It is used to indicate an error in the code.

21.

What happens if you type a command inaccurately in Python?

a)

The program will still run but with errors.

b)

The program won't work at all.

c)

The program will automatically correct the command.

d)

The program will skip the inaccurate command.

22.

What is the purpose of the error box in Python?

a)

To execute the program.

b)

To provide suggestions for improving the code.

c)

To stop the program and indicate where the error is.

d)

To save the program automatically.

23.

Which keyboard shortcut is used to copy text in Python?

a)

Ctrl X

b)

Ctrl V

c)

Ctrl C

d)

Ctrl Z

24.

Why is it important to run your code often while writing a program?

a)

To save the program automatically.

b)

To check for errors in the code.

c)

To add comments to the code.

d)

To change the color of the text attributes.

25.

What is the benefit of adding comments to your code in Python?

a)

It helps keep track of what you are doing in the code.

b)

It makes the code run faster.

c)

It changes the color of the text attributes.

d)

It automatically fixes errors in the code.

26.

Which of the following is an important point to remember while coding in Python?

a)

Indentation is crucial for defining code blocks.

b)

Semicolons are mandatory at the end of every line.

c)

Variable names must always start with a capital letter.

d)

Python does not support comments.

27.

What is the first step mentioned for saving and showcasing your work using PowerPoint?

a)

Create a folder in File Explorer called Python Turtle.

b)

Open a new Word document.

c)

Save your work directly on the desktop.

d)

Email your work to your teacher immediately.

28.

What should you name the PowerPoint file for saving your Python Turtle designs?

a)

Python Turtle Work

b)

My Python Turtle Designs

c)

Turtle Graphics

d)

Python Projects

29.

Which theme is suggested to use in the PowerPoint for showcasing your work?

a)

Modern

b)

Classic

c)

Quotable

d)

Vibrant

30.

What is the shortcut to activate Snip & Sketch for taking a screenshot?

a)

Ctrl + S

b)

Windows + Shift + S

c)

Alt + Print Screen

d)

Ctrl + Alt + S

31.

What happens when you press the SAVE button in Python Sandbox?

a)

Your work is automatically emailed to your teacher.

b)

A link is generated that you can copy onto your page.

c)

Your work is saved directly to your desktop.

d)

The file is converted into a PDF.

32.

What design is created by the Python Turtle code shown in the screenshot?

a)

Spirograph

b)

Bar chart

c)

Pie chart

d)

Line graph

33.

What does the `t.speed(3)` command do in Python's Turtle module?

a)

Sets the speed of the turtle's movement (0 is fastest, 5 is slowest).

b)

Moves the turtle forward by 3 spaces.

c)

Rotates the turtle right by 3 degrees.

d)

Moves the turtle backward by 3 spaces.

34.

Which command is used to move the turtle forward by a specific number of spaces?

a)

t.bk()

b)

t.fd()

c)

t.rt()

d)

t.lt()

35.

What does the `t.rt(90)` command do in Python's Turtle module?

a)

Rotates the turtle left by 90 degrees.

b)

Moves the turtle forward by 90 spaces.

c)

Rotates the turtle right by 90 degrees.

d)

Moves the turtle backward by 90 spaces.

36.

If you want to move the turtle backward by 200 spaces, which command should you use?

a)

t.fd(200)

b)

t.bk(200)

c)

t.rt(200)

d)

t.lt(200)

37.

What is the purpose of the `t.lt(45)` command in Python's Turtle module?

a)

Rotates the turtle left by 45 degrees.

b)

Moves the turtle forward by 45 spaces.

c)

Rotates the turtle right by 45 degrees.

d)

Moves the turtle backward by 45 spaces.

38.

In the given Python Turtle code, what does the `t.fd(300)` command do?

a)

Moves the turtle forward by 300 spaces.

b)

Rotates the turtle right by 300 degrees.

c)

Moves the turtle backward by 300 spaces.

d)

Rotates the turtle left by 300 degrees.

39.

What angle should you use to create a triangle with equal sides in Python Turtle?

a)

90°

b)

120°

c)

60°

d)

45°

40.

Which command is used to rotate the turtle left by a specific angle?

a)

t.rt()

b)

t.lt()

c)

t.fd()

d)

t.bk()

41.

What Python library is imported at the beginning of the code to create the rotating and duplicating pattern?

a)

math

b)

turtle

c)

random

d)

graphics

42.

What is the purpose of the `t.speed(20)` command in the code?

a)

To set the speed of the turtle to 20 units per second

b)

To slow down the turtle's movement

c)

To increase the speed of the turtle's drawing

d)

To stop the turtle from moving

43.

How many degrees does the turtle rotate to the left after drawing each square in the pattern?

a)

45 degrees

b)

90 degrees

c)

30 degrees

d)

60 degrees

44.

How many squares are drawn in total to complete the pattern described in the activity?

a)

6 squares

b)

8 squares

c)

10 squares

d)

12 squares

45.

What is the purpose of adding comments in the code, as mentioned in the activity?

a)

To make the code run faster

b)

To explain what each part of the code does

c)

To add extra functionality to the code

d)

To make the code shorter

46.

The diagram shows the pattern created by rotating and duplicating squares. What type of geometric transformation is primarily used to create this pattern?

a)

Rotation

b)

Reflection

c)

Translation

d)

Dilation

47.

What is the angle required to make a pentagon (5 sides) with side length 180 using the turtle in Python?

a)

90°

b)

72°

c)

60°

d)

120°

48.

How many times do you need to send the turtle forward and rotate it left to create an equilateral triangle?

a)

2 times

b)

3 times

c)

4 times

d)

5 times

49.

What is the angle required to make a hexagon (6 sides) with side length 120 using the turtle in Python?

a)

90°

b)

72°

c)

60°

d)

120°

50.

What shape is created when the turtle is sent forward 200 and turned left 144 degrees five times?

a)

Pentagon

b)

Hexagon

c)

Star

d)

Square

51.

What is the purpose of tilting the turtle to the left by 263° and creating the shape again in the activity?

a)

To create a larger version of the shape

b)

To create a rotated version of the shape

c)

To create a mirrored version of the shape

d)

To create a smaller version of the shape

52.

What does the `t.circle(50)` command do in Python Turtle?

a)

Draws a circle of 50 radius

b)

Draws a circle of 100 radius

c)

Draws a dot of 50 radius

d)

Draws a square of 50 radius

53.

Which command would you use to draw a circle of 100 radius that turns 270° (¾ of a circle) in Python Turtle?

a)

t.circle(50)

b)

t.circle(100, 270)

c)

t.dot(20)

d)

t.circle(270, 100)

54.

What does the `t.dot(20)` command do in Python Turtle?

a)

Draws a circle of 20 radius

b)

Draws a dot of 20 radius

c)

Draws a square of 20 radius

d)

Draws a line of 20 length

55.

If you want to draw a quarter of a circle with a radius of 60 in Python Turtle, which command would you use?

a)

t.circle(60, 90)

b)

t.circle(60, 180)

c)

t.circle(90, 60)

d)

t.circle(60)

56.

What is the space between circles and dots in the pattern shown in the image?

a)

30

b)

50

c)

80

d)

100

57.

Which of the following is true about the `circle()` command in Python Turtle?

a)

It can only draw full circles.

b)

It can draw both full circles and partial circles.

c)

It can only draw circles with a fixed radius of 50.

d)

It is used to draw dots.

58.

What does the `t.width(4)` command do in Python Turtle?

a)

Sets the pen color to blue

b)

Draws lines with a thickness of 4

c)

Makes the fill color green

d)

Clears the drawing canvas

59.

Which command in Python Turtle is used to set the pen color to blue?

a)

t.fillcolor('blue')

b)

t.color('blue')

c)

t.pencolor('blue')

d)

t.width(4)

60.

What happens if no pen color or fill color is specified in Python Turtle?

a)

The pen color defaults to red

b)

The fill color defaults to green

c)

Both pen and fill colors default to black

d)

The pen color defaults to blue

61.

Which of the following is an example of a valid RGB color format in Python Turtle?

a)

t.color('sky blue')

b)

t.color(#87CEEB)

c)

t.color(135,206,235)

d)

All of the above

62.

What is the correct code to draw a red dot of radius 90 in Python Turtle?

a)

import turtle t = turtle.Turtle() t.speed(5) t.color('red') t.dot(90)

b)

import turtle t = turtle.Turtle() t.speed(10) t.color('blue') t.dot(90)

c)

import turtle t = turtle.Turtle() t.speed(5) t.color('green') t.dot(90)

d)

import turtle t = turtle.Turtle() t.speed(5) t.fillcolor('red') t.dot(90)

63.

What is the pen width set to in the code for drawing a square with sides of 140?

a)

3

b)

4

c)

5

d)

10

64.

What is the hex code color used to draw a circle with an outline in the third activity?

a)

#87CEEB

b)

#800080

c)

#135206235

d)

#000000

65.

In the final activity, what is the radius of the largest dot in the graphic?

a)

50

b)

100

c)

150

d)

200

66.

What is the purpose of the `begin_fill()` function in Python Turtle?

a)

It sets the pen speed.

b)

It starts the fill for a shape after the color has been set.

c)

It completes the fill for a shape after it has been drawn.

d)

It sets the pen width.

67.

Which function in Python Turtle is used to complete the fill for a shape after it has been drawn?

a)

begin_fill()

b)

end_fill()

c)

fillcolor()

d)

circle()

68.

What does the `fillcolor()` function do in Python Turtle?

a)

It sets the pen width.

b)

It sets the color to fill a shape.

c)

It starts the fill for a shape.

d)

It completes the fill for a shape.

69.

In the provided Python Turtle code, what is the radius of the circle being drawn?

a)

70

b)

130

c)

25

d)

10

70.

What line of code would you add to set the pen width to 10 in Python Turtle?

a)

t.penwidth(10)

b)

t.width(10)

c)

t.pensize(10)

d)

t.setwidth(10)

71.

What is the purpose of the `t.speed(5)` line in the Python Turtle code?

a)

It sets the pen width to 5.

b)

It sets the speed of the turtle to 5.

c)

It sets the radius of the circle to 5.

d)

It sets the fill color to teal.

72.

What is the side length of the equilateral triangle that needs to be created with a colored outline?

a)

100

b)

150

c)

200

d)

250

73.

What should be the pen width when creating the equilateral triangle with a colored outline?

a)

4

b)

6

c)

8

d)

10

74.

When creating the equilateral triangle, what is the requirement for the fill color and outline color?

a)

They should be the same.

b)

They should be different.

c)

Only the fill color is required.

d)

Only the outline color is required.

75.

What is the pen width specified for drawing the diagram with six circles?

a)

2

b)

4

c)

6

d)

8

76.

What is the radius of each circle in the diagram with six circles?

a)

30

b)

40

c)

50

d)

60

77.

What is the distance between the circles in the diagram with six circles?

a)

50

b)

75

c)

100

d)

125

78.

How many different colors should be chosen for the diagram with six circles?

a)

2

b)

3

c)

4

d)

5

79.

What is the pen speed specified for drawing the diagram with six circles?

a)

10

b)

20

c)

30

d)

40

80.

Which of the following commands can be used to draw two circles from the same spot, one above and one below?

a)

t.circle(50) and t.circle(-50)

b)

t.circle(100) and t.circle(-100)

c)

t.circle(50) and t.circle(50)

d)

t.circle(-50) and t.circle(-50)

81.

What is the purpose of the `ws.bgcolor("color")` command in Python Turtle?

a)

To change the shape of the turtle.

b)

To change the background color of the turtle screen.

c)

To hide the turtle from view.

d)

To stamp the turtle's current location.

82.

Which command is used to change the shape of the turtle in Python Turtle?

a)

stamp()

b)

shape()

c)

hideturtle()

d)

bgcolor()

83.

What does the `t.stamp()` command do in Python Turtle?

a)

Changes the shape of the turtle.

b)

Leaves a copy of the turtle's stamp at the current location.

c)

Hides the turtle from view.

d)

Changes the background color of the turtle screen.

84.

Which command hides the turtle so it cannot be seen in Python Turtle?

a)

showturtle()

b)

hideturtle()

c)

shape()

d)

stamp()

85.

What is the function of the `t.st()` command in Python Turtle?

a)

Changes the background color of the turtle screen.

b)

Shows the turtle shape.

c)

Leaves a copy of the turtle's stamp at the current location.

d)

Changes the shape of the turtle.

86.

What is the default starting position of the turtle in Python Turtle?

a)

(100, 100)

b)

(0, 0)

c)

(-100, -100)

d)

(50, 50)

87.

Which command is used to send the turtle to the center of the screen in Python Turtle?

a)

setx()

b)

sety()

c)

home()

d)

goto(x, y)

88.

What does the command `t.setx(140)` do in Python Turtle?

a)

Moves the turtle vertically to 140

b)

Moves the turtle horizontally to 140

c)

Moves the turtle diagonally to (140, 140)

d)

Moves the turtle to the center of the screen

89.

Which command is used to move the turtle to a specific position using both x and y coordinates?

a)

setx()

b)

sety()

c)

goto(x, y)

d)

home()

90.

What shape will the turtle take if the command `t.shape('triangle')` is executed?

a)

Circle

b)

Square

c)

Triangle

d)

Arrow

91.

What does the command `t.sety(210)` do in Python Turtle?

a)

Moves the turtle horizontally to 210

b)

Moves the turtle vertically to 210

c)

Moves the turtle diagonally to (210, 210)

d)

Moves the turtle to the center of the screen

92.

Which command is used to move the turtle horizontally by 100 and vertically by -80?

a)

setx()

b)

sety()

c)

goto(100, -80)

d)

home()

93.

What is the purpose of the `t.stamp()` command in Python Turtle?

a)

To change the turtle's shape

b)

To move the turtle to a new position

c)

To leave a copy of the turtle's shape on the screen

d)

To hide the turtle

94.

Which command is used to hide the turtle in Python Turtle?

a)

t.stamp()

b)

t.hideturtle()

c)

t.goto(x, y)

d)

t.setpos(x, y)

95.

What is the correct command to add text to the screen in Python Turtle with a specific font, size, and type?

a)

write('message', font=('font', size, 'type'))

b)

t.write('message', font=('font', size, 'type'))

c)

add_text('message', font=('font', size, 'type'))

d)

text.write('message', font=('font', size, 'type'))

96.

What font, size, and type are used in the sample code provided in the learning material?

a)

Arial, 15, italic

b)

Cambria, 20, bold

c)

Times New Roman, 18, regular

d)

Verdana, 22, bold

97.

What is the turtle's shape set to in the provided steps for the code?

a)

Square

b)

Circle

c)

Triangle

d)

Star

98.

What color is the turtle set to in the provided steps for the code?

a)

Sky blue

b)

Forest green

c)

Crimson red

d)

Lemon yellow

99.

What is the purpose of the command `write('message', font=('font', size, 'type'))` in Python Turtle?

a)

To change the turtle's shape

b)

To add text to the output screen

c)

To move the turtle to a specific position

d)

To change the turtle's color

100.

What is the font style and size specified for the text "I'm a GENIUS at Python Turtle"?

a)

Arial, size 18

b)

Cambria, size 20

c)

Times New Roman, size 22

d)

Verdana, size 16