wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python quiz for beginners

Total questions: 9

Worksheet time: 14mins

Name
Class
Date
1.

Why do you want to do this quiz about Python?

4 lines
2.

Which code is used to appear the text on the screen?

a)

If

b)

While

c)

Print

d)

Comment

3.

What is a variable?

4 lines
4.

Can a variable starts with a number?

a)

Yes

b)

No

5.

Which is used to do operators?

a)

%

b)

+

c)

#

d)

:

6.

The words in red is a ...

(a)  

7.

When you make a variable, you use

a)

=

b)

==

c)

<

d)

>

8.

When you want to comment, you use...

a)

#

b)

*

c)

%

d)

:

9.

while code is a ...

a)

Loop

b)

Variable

c)

Normal code