Filters
Question type

Study Flashcards

When declaring an array, you use either the ____ keyword.


A) ByVal, ByRef, ByNum
B) Array, As, Data
C) For, Array, Store
D) Dim, Private, or Static

Correct Answer

verifed

verified

A simple variable is also called a(n) ____ variable.


A) scalar
B) array
C) dynamic
D) dimensional

Correct Answer

verifed

verified

Arrays whose elements are used to add together values are called ____________________ arrays.

Correct Answer

verifed

verified

You can use the ____________________ statement to code a loop whose instructions you want processed for each element in a group.

Correct Answer

verifed

verified

A variable declared in the For Each clause of the For Each...Next statement has ____ scope.


A) block
B) procedure
C) module
D) interface

Correct Answer

verifed

verified

How do you traverse a two-dimensional array?

Correct Answer

verifed

verified

To traverse a two-dimensional array, you...

View Answer

Explain how and why using an array in a program affects the efficiency of the program.

Correct Answer

verifed

verified

Storing data in an array increases the e...

View Answer

To ____ an array means to look at each array element, one by one, beginning with the first element and ending with the last element.


A) index
B) traverse
C) collapse
D) validate

Correct Answer

verifed

verified

An array's ____ property tells you the number of elements in the array.


A) Elements
B) Size
C) Dimension
D) Length

Correct Answer

verifed

verified

The first variable in a one-dimensional array is assigned a subscript of ____.


A) -1
B) 0
C) 0.1
D) 1

Correct Answer

verifed

verified

How do you sort the elements in a one-dimensional array in ascending order?

Correct Answer

verifed

verified

You use the Array.Sort method to sort th...

View Answer

How do you refer to a variable in an array?

Correct Answer

verifed

verified

You refer to each variable in ...

View Answer

When some of the variables in a program are related to each other, it is easier and more efficient to treat the related variables as a(n) ____.


A) block
B) array
C) group
D) record

Correct Answer

verifed

verified

C

How is each variable in a two-dimensional array identified?

Correct Answer

verifed

verified

Each element in a two-dimensional array ...

View Answer

You can visualize a one-dimensional array as a ____.


A) single variable
B) column of variables
C) table of variables
D) cube of variables

Correct Answer

verifed

verified

B

If the array's data type is String , each element in the array is initialized using the keyword ____.


A) Empty
B) Nothing
C) NoData
D) NoString

Correct Answer

verifed

verified

How do you sort the elements of a one-dimensional array in descending order?

Correct Answer

verifed

verified

To sort a one-dimensional array in desce...

View Answer

You use the ____________________ property to determine the number of elements stored in an array.

Correct Answer

verifed

verified

If you create a numeric array without initializing the elements of the array, the computer automatically initializes each element to ____.


A) Empty
B) Nothing
C) 0
D) 1

Correct Answer

verifed

verified

Variables initialized to the ____________________ keyword contain no data at all.

Correct Answer

verifed

verified

Nothing

Showing 1 - 20 of 42

Related Exams

Show Answer