wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Array

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

An______is a group of related data items that share a common name.

a)

Array

b)

Variable

c)

Memory

d)

None of thses

2.

There are ________ types of array in computer programming.

a)

4

b)

5

c)

6

d)

3

3.

The individual data items are called _______________.

a)

Character

b)

String

c)

Variable

d)

Element

4.

There are ______ types of array in qbasic programming.

a)

One

b)

Two

c)

Three

d)

Four

5.

______________ is a short name used for dimension of array.

a)

DIMN

b)

DIM

c)

DIVISION

d)

None of these

6.

The correct general syntax of array is_____.

a)

DIM Arrayfile(size) AS Data Type

b)

DIM ArrayName(size)As Data Type

c)

DIM Arrayfolder(size)As Data Type

d)

None of These

7.

_______________ is an example of string data element.

a)

23

b)

"kathmandu"

c)

123.56

d)

A

e)

123.1552

8.

____________is an example of double data element.

a)

4321

b)

123.4

c)

4.321

d)

"kathmamdu"

9.

______is an example of integer data element.

a)

456

b)

6.45

c)

6.453

d)

"456"

10.

_____ is an example of character data type element.

a)

A

b)

"ABC"

c)

123

d)

12.45