Deck 20: Table Tennis, Anyone Two-Dimensional Arrays

Full screen (f)
exit full mode
Question
In a two-dimensional array, the variable's row and column subscripts are specified in a set of ____ immediately following the array name.

A) square brackets
C) slashes
B) braces
D) parentheses
Use Space or
up arrow
down arrow
to flip the card.
Question
In a two-dimensional array, the variable's row and column subscripts are separated by a ____.

A) semicolon
C) period
B) comma
D) dash
Question
The ____ in a two-dimensional array specify the variable's row and column positions in the array.

A) array scripts
C) subscripts
B) array pointers
D) superscripts
Question
In a two-dimensional array, the dimension argument will be always be 1.
Question
A ____-dimensional array resembles a table in that the variables (elements) are in rows and columns.

A) one
C) three
B) two
D) four
Question
The first row subscript in a two-dimensional array is ____.

A) 0
C) 2
B) 1
D) 3
Question
The number of rows in a two-dimensional array is always one number less than the highest row subscript.
Question
The most commonly used arrays in business applications are one-dimensional and two-dimensional.
Question
Elements in the second row of a two-dimensional array are assigned a row subscript of 2.
Question
You refer to each element in a two-dimensional array by the array's name and the element's row and column subscripts.
Question
If the outer loop of a nested loop controls the row subscript in a two-dimensional array, the array is filled with data column by column.
Question
Elements located in the first row in a two-dimensional array are assigned a row subscript of ____.

A) 0
C) 2
B) 1
D) 3
Question
Each element in a two-dimensional array is identified by a unique combination of two subscripts that the computer assigns to the element when the array is created.
Question
You can visualize a one-dimensional array as a table of variables.
Question
If you need to access each element in a two-dimensional array, you typically do so using an outer loop and a nested loop.
Question
To accumulate the values stored in an array, you need to access each array element.
Question
Within the individual ____ sections of a two-dimensional array, you enter one or more values separated by commas.

A) dimension
C) initialValues
B) typeValue
D) defaultValues
Question
The variables (elements) in a two-dimensional array can be used just like any other variables.
Question
Elements located in the first column in a two-dimensional array are assigned a column subscript of 1.
Question
An array's ____ method returns an integer that indicates the lowest subscript in the specified dimension in the array.

A) GetUpperBound
C) LBound
B) UBound
D) GetLowerBound
Question
The ____ in the dimension argument of a two-dimensional array represents the column dimension.

A) 0
C) col
B) 1
D) horz
Question
In a one-dimensional array, the dimension argument will always be ____.

A) 0
C) 2
B) 1
D) 3
Question
The ____ in the dimension argument of a two-dimensional array represents the row dimension.

A) 0
C) row
B) 1
D) vert
Question
In the GetUpperBound syntax, ____ is an integer that specifies the dimension whose upper or lower bound you want to retrieve.

A) initialValue
C) rowValue
B) dimension
D) columnValue
Question
An array's ____ method returns an integer that indicates the highest subscript in the specified dimension in the array.

A) GetLowerBound
C) GetUpperBound
B) Lower
D) Upper
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 20: Table Tennis, Anyone Two-Dimensional Arrays
1
In a two-dimensional array, the variable's row and column subscripts are specified in a set of ____ immediately following the array name.

A) square brackets
C) slashes
B) braces
D) parentheses
D
2
In a two-dimensional array, the variable's row and column subscripts are separated by a ____.

A) semicolon
C) period
B) comma
D) dash
B
3
The ____ in a two-dimensional array specify the variable's row and column positions in the array.

A) array scripts
C) subscripts
B) array pointers
D) superscripts
C
4
In a two-dimensional array, the dimension argument will be always be 1.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
A ____-dimensional array resembles a table in that the variables (elements) are in rows and columns.

A) one
C) three
B) two
D) four
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
The first row subscript in a two-dimensional array is ____.

A) 0
C) 2
B) 1
D) 3
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
The number of rows in a two-dimensional array is always one number less than the highest row subscript.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
The most commonly used arrays in business applications are one-dimensional and two-dimensional.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
Elements in the second row of a two-dimensional array are assigned a row subscript of 2.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
You refer to each element in a two-dimensional array by the array's name and the element's row and column subscripts.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
If the outer loop of a nested loop controls the row subscript in a two-dimensional array, the array is filled with data column by column.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Elements located in the first row in a two-dimensional array are assigned a row subscript of ____.

A) 0
C) 2
B) 1
D) 3
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
Each element in a two-dimensional array is identified by a unique combination of two subscripts that the computer assigns to the element when the array is created.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
You can visualize a one-dimensional array as a table of variables.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
If you need to access each element in a two-dimensional array, you typically do so using an outer loop and a nested loop.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
To accumulate the values stored in an array, you need to access each array element.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Within the individual ____ sections of a two-dimensional array, you enter one or more values separated by commas.

A) dimension
C) initialValues
B) typeValue
D) defaultValues
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
The variables (elements) in a two-dimensional array can be used just like any other variables.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
Elements located in the first column in a two-dimensional array are assigned a column subscript of 1.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
An array's ____ method returns an integer that indicates the lowest subscript in the specified dimension in the array.

A) GetUpperBound
C) LBound
B) UBound
D) GetLowerBound
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
The ____ in the dimension argument of a two-dimensional array represents the column dimension.

A) 0
C) col
B) 1
D) horz
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
In a one-dimensional array, the dimension argument will always be ____.

A) 0
C) 2
B) 1
D) 3
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
The ____ in the dimension argument of a two-dimensional array represents the row dimension.

A) 0
C) row
B) 1
D) vert
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
In the GetUpperBound syntax, ____ is an integer that specifies the dimension whose upper or lower bound you want to retrieve.

A) initialValue
C) rowValue
B) dimension
D) columnValue
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
An array's ____ method returns an integer that indicates the highest subscript in the specified dimension in the array.

A) GetLowerBound
C) GetUpperBound
B) Lower
D) Upper
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.