wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python eduBlocks Quiz

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

What is Python?

a)

A type of snake

b)

A programming language

c)

A drawing tool.

d)

A widget

2.

What is turtle in Python?

a)

An object

b)

A statement used at the start of code.

c)

A library that has functions to draw shapes.

d)

A tool to make coding easier.

3.

What is eduBlocks?

a)
A programming language
b)
A type of computer hardware
c)
A block-based coding tool
d)
A type of software for creating games
4.

What is the function of this code?

a)

To set the background color to red.

b)

To set the background color to green.

c)

To set the background color to blue.

d)

To set the background color to white.

5.

What shape does this code make?

a)

A Triangle

b)

A Square

c)

A Rectangle

d)

A Pentagon

6.

What are variables in Python?

a)
Variables in Python are containers for storing data values
b)
Variables in Python are used for looping
c)
Variables in Python are used for error handling
d)
Variables in Python are used for defining functions
7.

A loop is used to (a)   the same code many times.

8.

What is the use of the print() statement in Python?

a)
To display a value on the screen
b)
To read a value from the user
c)
To store a value in a variable
d)
To perform mathematical operations
9.

What code block makes the turtle move to a different location?

a)

turtle.penup()

b)

turtle.pendown()

c)

turtle.go()

d)

turtle.goto()

10.

Which block is used to set the color inside a shape?

a)

b)

c)

d)