wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

2 Quiz

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is an Integer in Python?

a)

"25"

b)

25

c)

25.0

d)

True

2.

What is the data type of this value: 3.14 ?

a)

Integer

b)

Boolean

c)

String

d)

Float

3.

Which of the following represents a String in Python?

a)

"Hello World!"

b)

45

c)

True

d)

45.0

4.

Which of the following is NOT a Python data type?

a)

Integer

b)

Float

c)

Loop

d)

Boolean

5.

What is the output for this: 10 > 11

a)

False

b)

12

c)

"12"

d)

True

6.

What is the data type for this:

z = 10

print(type(z))

(a)  

7.

What is the data type below?

x = "Abu"

(a)  

8.

What is the data type below?

13 < 20

(a)  

9.

What is the data type below?

is_student = True

(a)  

10.

age = "15"

print(age + 5)

what is the output abouve?

(a)