wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Type Review

Total questions: 12

Worksheet time: 2mins

Name
Class
Date
1.

Select all of the integers

a)

100

b)

10

c)

100.

d)

10.0

2.

Select all of the Strings

a)

"Hi"

b)

"3+7"

c)

"HelloWorld"

d)

3+7

3.

Select all of the Floats

a)

100

b)

1000.

c)

98.7

d)

.112

4.

"3+7" is a...

a)

String

b)

Integer

c)

Float

d)

Function

5.

3+7 is a...

a)

String

b)

Integer

c)

Float

d)

Conditional

6.

3.0 is a...

a)

String

b)

Float

c)

Integer

d)

Boolean

7.

1000000. is a...

a)

String

b)

Boolean

c)

Integer

d)

Float

8.

"HelloWord 123" is a...

a)

Float

b)

Integer

c)

Boolean

d)

String

9.

5.4 is a...

a)

Integer

b)

Float

c)

String

d)

BOOLEAN

10.

How would you type 'string' in Python?

a)

Str

b)

STR

c)

str

d)

STRING

11.

How would you type 'Integer' in Python?

a)

int

b)

Int

c)

INT

d)

INTEGER

12.

How would you type 'float' in Python?

a)

Fl

b)

fl

c)

FLOAT

d)

float