wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Quiz

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

what does a function do?

a)

lets you loop your code.

b)

Is a function.

c)

sits there and is a function

d)

lets you use a set of instructions that you want to use repeatedly.

2.

Who's your favorite teacher?

a)

Mr. Battle

b)

Not Mr. Battle

c)

Choose Mr. Battle it's correct

d)

Random Teacher

3.

What does this code do?

Circle(360)

a)

Makes a full circle

b)

Makes half a circle

c)

makes a 90 degree angle

d)

makes 2 circles

4.

What is python?

a)

A coding program that lets you create things like youtube.

b)

A snake

c)

A anaconda

d)

A drink

5.

What is Cryptocurrency?

a)

A digitized form of Money/currency

b)

Superman's planet

c)

Superman's dog

d)

A coding program

6.

What does the color function do

a)

Colors your character red

b)

Colors Tracy due to what you put in the parentheses.

7.

Speed(0) makes your code run almost immediately

a)

True

b)

False

8.

What is a string?

a)

An ordered sequence

b)

Something that has one of two possible values

c)

a digitized form of currency

d)

Anything connected to the internet

9.

What does Penup() do?

a)

Makes you stop drawing a line

b)

Nothing

c)

A positive or negative number

d)

makes your pen go down

10.

What code do you enter to turn right

a)

right(90)

b)

circle(180)

c)

left(180)

d)

speed(0)