Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Turtle Quiz (GTT)

Total questions: 18

Worksheet time: 21mins

Name
Class
Date
1.

What programming language did we learn?

a)

Scratch

b)

Python

c)

Javascript

2.

What command do we use to make Tracy move forward 10 steps?

a)

forward(10)

b)

'Go Forward Tracy!'

c)

move(10steps) forward

d)

Tracy can only move backward!

3.

What would be the result of this program?

a)

Hello World

Goodbye World

b)

Hello Hello World World hello World

c)

Hello World

Hello World

Hello World

4.

Draw the result of the program!

5.

Bob writes the code shown in the image. He is trying to make Tracy turn blue and then move forward 10 steps. However, his code does not work! Describe a mistakes that Bob made in his code, and tell Bob how to fix his code!

4 lines
6.

What is the code to execute this function?

(a)  

7.

CHALLENGE!!! What would the program shown in the image return? (Hint: Read carefully! In your answer, use lowercase and correct spaces)

(a)  

8.

What is the result of this code?

a)

Hello There!

b)

hello there!

c)

hellothere!

d)

('hello', 'there')

9.

How many times will a number be printing in the program shown?

a)

7

b)

5

c)

6

10.

CHALLENGE: What would be the result of the code show?

a)

0

2

4

6

8

b)

2

4

6

8

c)

2

4

6

8

10

d)

2

3

4

5

6

7

8

11.

What is the result of the code shown?

a)

b)

c)

d)

12.

Variables allow us to?

a)

Name different parts of our programs

b)

Store information to use in our programs

c)

Change the words Tracy recognizes

d)

Use english words to communicate with Tracy

13.

Which of the following is NOT a way functions make our code more readable?

a)

Function names can describe what the function is completing

b)

Functions break our code into smaller, separate parts

c)

Functions shorten our code by reusing code that has already been written

d)

Each function only contains one command

14.

Why are parameters useful?

a)

They allow us to tailor functions to be used in multiple situations

b)

They allow us to change the order of commands in a function

c)

They give us the ability to use variables in loops

d)

They allow the user to give input

15.

How many parameters can we use in each function?

a)

2

b)

As many as we need

c)

5

d)

1

16.

What is the best way to write a program that uses parameters to draw a square with sides that are 50 pixels long?

a)

b)

17.

How confident are you in Python Turtle?

a)

I do not know much about it still

b)

I can do some things with some help from teachers

c)

I can do things with very little help!

d)

I feel very confident!

18.

Did you enjoy learning Python Turtle?

a)

Not really

b)

YES!