Which of the following is a three-dimensional array?
A. var SIZE = 5000000;
var numberArray = new Array(SIZE);
B. Declare Constant SIZE = 1000
Declare Numeric empNumber[SIZE]
Declare String empLastName[SIZE], empFirstName[SIZE]
Declare Numeric index
Declare String moreInput = "Y"
For index = 0 to SIZE - 1
empNumber[index] = 0
empLastName[index] = ""
empFirstName[index] = ""
End For
C. var ROWS = 4;
var COLUMNS = 6;
var scores = new Array(ROWS);
for (index = 0; index < ROWS; index++) {
scores[index] = new Array(COLUMNS);
}
D. var cube = new Array();
cube[0] = new Array();
cube[0][0] = new Array();
Answer: D
You might also like to view...
You can use the tab indicator, located above the vertical ruler, to align text differently, such as to the right of or centered on a tab stop.
Answer the following statement true (T) or false (F)
Show how to construct a send-constrained channel from a receive-constrained channel, and vice versa. Hint: use a trusted node connected to the given channel.
What will be an ideal response?
FIGURE EX 8-1 The commands in the accompanying figure are available on the ____ tab.
A. File B. View C. Page Layout D. Data
The Database ________ tool creates a detailed report for each selected object.
Fill in the blank(s) with the appropriate word(s).