wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unit 3 Lesson 1 Data Types and Variables

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Data type that represents double precision floating point.

a)

double

b)

currency

c)

integer

d)

long

2.

Data type that is also known as single precision floating-point numbers.

a)

double

b)

currency

c)

single

d)

long

3.

Data type that represents a group of alphanumeric characters

a)

double

b)

currency

c)

string

d)

long

4.

Data type that is similar to Byte data type but has larger set

a)

double

b)

currency

c)

string

d)

integer

5.

Data type that can represent longer data values than integer data type

a)

long

b)

currency

c)

string

d)

integer

6.

Data type that can handle True or False values only.

a)

long

b)

currency

c)

boolean

d)

integer

7.

Data type that represents whole numbers

a)

string

b)

long

c)

byte

d)

integer

8.

Data type that is used for storing monetary values

a)

string

b)

long

c)

currency

d)

variant

9.

Data type that holds date and time values.

a)

date

b)

long

c)

currency

d)

calendar

10.

A special data type that holds and references objects (e.g. controls and forms)

a)

date

b)

long

c)

currency

d)

object

11.

Data type that can represent any data type: used for control and data for which the data type is unknown.

a)

date

b)

variant

c)

currency

d)

object

12.

True or False

a)

string

b)

boolean

c)

currency

d)

object

13.

0 to 255

a)

string

b)

boolean

c)

currency

d)

byte

14.

-2147483648 to 2147483647

a)

string

b)

boolean

c)

currency

d)

long

15.

-922337203685477.5808 to 922337203685477.5808

a)

single

b)

boolean

c)

currency

d)

long

16.

1 January 100 to 31 December 9999

a)

single

b)

boolean

c)

date

d)

calendar

17.

-1797693134623E308 to -4.94065645841247E-324 (negative) 1797693134623E308 to 4.94065645841247E-324 (positive)

a)

single

b)

boolean

c)

double

d)

long

18.

-32768 to 32767

a)

integer

b)

boolean

c)

double

d)

byte

19.

-3.402823E38 to -1.401298E-45 (negative) 3.402823E38 to 1.401298E-45 (positive)

a)

single

b)

boolean

c)

double

d)

byte

20.

0 to -2000000000 characters

a)

string

b)

integer

c)

double

d)

byte

21.

strLastName

a)

valid

b)

invalid

22.

123intWidth

a)

valid

b)

invalid

23.

intTotal

a)

valid

b)

invalid

24.

dblSum= 123

a)

valid

b)

invalid

25.

Dim

a)

valid

b)

invalid