wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data Types - Introduction to Python

Total questions: 9

Worksheet time: 6mins

Name
Class
Date
1.
Which data type is used to store:
100
a)
Integer
b)
Double
c)
Boolean
d)
String
2.
Which data type is used to store:
TRUE
a)
Boolean
b)
Double
c)
String
d)
Integer
3.
Which data type is used to store:
"D"
a)
Character
b)
String
c)
Integer
d)
Double
4.
This data type is used to store whole numbers
a)
Integer
b)
Double
c)
Boolean
d)
String
5.
This data type is used to store a mixture of letters and numbers and symbols.
a)
String
b)
Character
c)
Boolean
d)
Integer
6.

What is a variable?

a)

A storage location of memory which can change

b)

A random area to store things in.

c)

Something that changes

d)

Something that can only store numbers

7.

What is a Constant?

a)

A storage location of memory which does not change

b)

A random area to store things in.

c)

Something that changes

d)

Something that can only store numbers

8.

Which variable uses a integer data type?

a)

password

b)

passwordScore

c)

passwordLength

9.

Which variable uses a string data type?

a)

password

b)

passwordScore

c)

passwordLength