wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Records and Files

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What data type is used for whole numbers?

a)

Real/Float

b)

Integer

c)

String

d)

Boolean

2.

What data type is used for yes or no?

a)

Real/Float

b)

Integer

c)

String

d)

Boolean

3.

What data type is used for a combination of letters, numbers and symbols?

a)

Real/Float

b)

Integer

c)

String

d)

Boolean

4.

What data type is used for decimals including money?

a)

Real/Float

b)

Integer

c)

String

d)

Boolean

5.

Arrays can hold any data types as long as all the items are the same data types.?

a)

True

b)

False

6.

Which data type can hold items of different types?

a)

String

b)

Record

c)

Array

d)

Group

7.

What is the equivalent of a record in Python?

a)

String

b)

Array

c)

Function

d)

List

8.

Where can records/lists be stored in Python? Pick 2 places.

a)

Table/Database

b)

Cabinet

c)

Text File

d)

Case

9.

What data type would the items in a text file be treated as in Python?

a)

Real/Float

b)

Integer

c)

String

d)

Boolean

10.

What character is typically used to separate fields in a text file?

a)

Full stop .

b)

Hash tag #

c)

Exclamation Mark !

d)

Comma ,

11.

What application would I NOT use to create a text file?

a)

PowerPoint

b)

Notepad

c)

Excel

d)

Word

12.

What action would I NOT use on a text file?

a)

Open

b)

Close

c)

Write

d)

Examine

13.

What would be the first action on a text file?

a)

Read

b)

Write

c)

Open

d)

Close

14.

What action would I use on a text file to see the information but not change it?

a)

Open

b)

Write

c)

Append

d)

Read

15.

What do you call it when you change one data type to another?

a)

Directing

b)

Changing

c)

Casting

d)

String